Commit Graph

55 Commits

Author SHA1 Message Date
Vortrex
7dc047364e Woops get flags for target client + normal header 2022-01-06 13:37:13 -06:00
Vortrex
90ab2f4819 Fix staff flag cmds 2022-01-04 20:04:10 -06:00
Vortrex
4e13c58f4e Fix give cash cmd accidentally giving to admin using it 2022-01-04 15:14:26 -06:00
Vortrex
256a096b60 Move utils 2021-12-26 11:48:31 -06:00
Vortrex
1e3a8be579 Fix offset id for gotoveh, fix forceskin to allow multi-word 2021-11-28 22:48:36 -06:00
Vortrex
1c51c01db6 Fix veh buyprice+fix clan rank+use pascalcase flag names 2021-11-25 07:35:32 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
2f1dd55b29 Fixes 2021-11-16 02:04:40 -06:00
Vortrex
32b48b851f Fix setting wrong player's skin via forceskin 2021-10-25 13:06:15 -05:00
Vortrex
8e4f2a64cc Fix msg colour on some admin actions 2021-10-15 22:40:26 -05:00
Vortrex
a5cf04a315 Announce admin actions to other admins 2021-10-06 15:43:53 -05:00
Vortrex
c72df27596 Timers no longer required for teleporting 2021-10-02 16:49:29 -05:00
Vortrex
9d8d5d1418 Bunch of changes (see description)
* New script files to organize GUI
* Added clientside pickup detection to reduce server load for enter/exit
* Added notips command for players to toggle random tips
* Select account last IP as part of wildcard (was separate due to old INT)
* Save account registration with datetime instead of unix timestamp
* Don't force mouse camera on moving anims in SA+
* Add IP ban to server runtime memory in subnet ban command
* Add non-roleplay character name account moderation flag
* Fix bizowner and bizclan commands
* Fix bug that allowed buying items without having the needed cash
* Fix set biz blip command
* Add dealership help label type command
* Added command to show all clan flag types
* Added discord config and load from database
* Fix angle for directional teleport and anim move directions
* Use new colour structure in preparation for locale translations
* Add on-foot only item usetype array to prevent using when in veh
* Fix wrong const value for exit pickup type
* Start using datetime in MySQL tables instead of unix timestamps
* Start adding webhooks for discord (unfinished)
* Added new discord URL to discord help category
* Added house reset pickups/blips utils
* Prevent using items when in skin selector
* Fix get player command
* Fix give player money command
* Add coffee shop and vehicle repair shop default biz item templates
* Remove old game fixes util (resource now in server config)
* Fix bug where characters in clans wouldn't be shown in char select
* Slimmed down the amount of timers
* Made some potentially large numbers more readable (commas)
* Remove colours in message for console output
2021-09-28 11:41:33 -05:00
Vortrex
80eeaa14c5 Lots of changes and fixes
* Add guiReady state
* Add mouseCameraEnabled state
* Make sure GUI is ready on some things
* Fix wrong veh prop funcs being used clientside
* Add local player ped parts/props util for IV
* Add vehicle.lightStatus sync
* Add element interior sync
* Dont use interior on IV
* Use new class structure
* Set default anim offset to 1
* Set biz data to save when changing biz properties
* Add mouse cam state util
* Prefix item type admin cmds with "itemtype"
* Fix server config saving
* Fix server time setting hour to minute arg
* Add player returnTo data types
* Make veh rent/buy price numbers readable
* Fix wrong house index being used to create blip/pickup on create
* Don't cache player hotbar items if working
* Fix cache player hotbar items util
* Add lots of anims to GTA SA
* Try/catch on all data saving to prevent one from blocking the rest
* Fix readable time from showing AM for 12 PM (noon)
* Set veh interior on create
* Dont set engine for spawnlocked vehicles
2021-09-18 06:48:13 -05:00
Vortrex
acfc788371 Lots of changes
* Add optional offset for some anims (like sitting)
* Fix int/vw chat check not working
* Disable ambience utils for now
* Add ped stop anim util
* Fix enter veh messages
* Fix radio stream not stopping when exiting vehicle
* Fix job items bugging out
* Don't save job equipment items
* Switch to inactive item slot when going on/off duty
* Fix gotospawn not working with int/vw
* Added anims for offset use
* Added element ID & syncer utils
* Fixed wrong job name being shown when setting job vehicle rank
* Added anim move type constants
* Added element collision net events
* Added is any GUI active util
* Fixed showing player list when a GUI is active
2021-09-13 07:22:00 -05:00
Vortrex
9c87ff950c Lots of fixes + clans
* Added clans
* Fixed interior exit labels
* Disabled nametags on games without 3D label support
* Fixed mouse cursor toggle command
* Fixed SA fight-style not being applied
* Added manageRanks clan permission bitflag
* Added interior lights toggle
* Fixed clan chat
* Added real-time support with optional timezone offset
* Added lots of JSDoc stuff
* Added command for managers to set server GUI colour
* Added GeoIP command for admins
* Added command for admins to force an immediate payday
* Added admins gotospawn command
* Added return player command for teleported players
* Added pizza delivery job const
* Fixed biz/house set pickup & interior type
* Fixed inventory showing ammo count for melee weapons
* Fixed SA using wrong pickup types
* Fixed char select screen breaking when in a clan
* Added +/- symbol util for number display
* Added get current timestamp for timezone offset util
* Fixed vehicle owner ID being set wrong for job veh
2021-09-09 01:37:04 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
066c60bcae Add get all veh/biz/houses owned by player cmds 2021-08-11 09:39:05 -05:00
Vortrex
d9863125f7 Fix parsing issue on mod cmds 2021-07-25 22:17:37 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
3032b4f11f Fix non-rp name and force name cmds 2021-07-13 00:55:21 -05:00
Vortrex
49dde311a2 Changes 2021-06-21 15:06:38 -05:00
Vortrex
db762b44fc Use more util funcs 2021-06-14 20:05:15 -05:00
Vortrex
7b44801a20 Rebrand 2021-06-05 17:31:17 -05:00
Vortrex
75c264eace Rebrand 2021-06-05 03:14:10 -05:00
Vortrex
db0405f48a Changes 2021-05-20 16:34:42 -05:00
Vortrex
d58abe4287 Big Commit 2021-05-06 01:29:46 -05:00
Vortrex
d25ac70b77 Use util for manager give player money cmd 2021-04-28 21:28:05 -05:00
Vortrex
2e95ebf61a Woops wrong var 2021-04-22 09:28:40 -05:00
Vortrex
b691e77c4a Use get element dimension util 2021-04-20 21:33:37 -05:00
Vortrex
33819e8931 Change mod init log to info 2021-04-04 23:24:02 -05:00
Vortrex
4ba9dc52d5 Moved muted state to clientdata class 2021-03-25 21:36:20 -05:00
Vortrex
deaf0b34a5 Reorganize some utils, change dividing lines 2021-03-16 00:34:45 -05:00
Vortrex
35ec13850d Add gotoloc cmd handler 2021-03-15 12:32:15 -05:00
Vortrex
7f2ee0c8d5 No message. 83 files changed. 2021-01-11 10:31:49 -06:00
Vortrex
8a6af35837 Renamed VW util to dimension 2021-01-09 22:39:25 -06:00
Vortrex
5af3023c85 Mass commit 2021-01-01 16:18:59 -06:00
Vortrex
a38d9aac0f Get/set player int/vw cmd 2020-12-31 01:22:28 -06:00
Vortrex
1c7532523c Overhaul of "client" to "player" 2020-12-29 04:26:15 -06:00
Vortrex
f8d7555a13 Use short timer for velocity to avoid splat on TP 2020-12-29 00:20:21 -06:00
Vortrex
06b873c395 Set velocity to 0 when teleporting 2020-12-28 12:53:39 -06:00
Vortrex
e778720ea6 Change use of get client to get player from param 2020-12-28 01:25:04 -06:00
Vortrex
76712d67c9 Add gotopos, gotoveh, gotojob cmds 2020-12-27 22:57:40 -06:00
Vortrex
5c60c30ea0 Move admin chat to chat.js 2020-12-27 21:27:52 -06:00
Vortrex
343685f8cc Add admin givemoney cmd 2020-12-27 12:32:16 -06:00
Vortrex
6dcb78dad8 Add admin chat cmd 2020-12-26 02:04:00 -06:00
Vortrex
d323ac197d Fix use of old staff flag check func args 2020-12-25 02:49:07 -06:00
Vortrex
44245b5281 Add teleport cmds 2020-12-24 19:38:03 -06:00
Vortrex
616a9092c7 Remove old cmd checks. Add goto and get cmds 2020-12-23 23:04:04 -06:00
Vortrex
2ef292d799 Huge command system overhaul 2020-12-13 14:44:14 -06:00