Commit Graph

1145 Commits

Author SHA1 Message Date
Vortrex
94886f7515 Remove force update veh int 2021-10-02 16:49:07 -05:00
Vortrex
b9a3dcac63 Move command event to events.js, remove ped spawn check 2021-10-02 16:48:19 -05:00
Vortrex
34af1369ec Add force radio stream and demo derby sound cmds 2021-10-02 16:47:50 -05:00
Vortrex
f338baf841 Add force radio stream and demo derby sound cmds 2021-10-02 16:47:32 -05:00
Vortrex
8f4d7bd900 Add update veh interior util 2021-10-02 16:47:09 -05:00
Vortrex
5c47275780 Only enable mouse camera on anims that move the ped 2021-10-02 16:46:51 -05:00
Vortrex
da175c6690 Remove force vehicle interior sync 2021-10-02 16:46:20 -05:00
Vortrex
552733ecfa Check for null element 2021-10-02 16:46:04 -05:00
Vortrex
e7f845535e Load all objects on start 2021-10-02 16:45:50 -05:00
Vortrex
79021f0aa1 New animation client script 2021-09-30 18:56:47 -05:00
Vortrex
48a7cb452a Hide all GUI util 2021-09-30 18:56:36 -05:00
Vortrex
67a7f37d21 New internet radio streaming client script 2021-09-30 18:56:25 -05:00
Vortrex
41e4c899d4 Organize client scripts 2021-09-30 18:56:00 -05:00
Vortrex
6b264cc198 Apply interior to vehicles that have it 2021-09-30 18:55:49 -05:00
Vortrex
c765f42ff5 Woops wrong const name 2021-09-30 18:55:31 -05:00
Vortrex
0b186c9a08 Save item value 2021-09-30 18:55:24 -05:00
Vortrex
655a56c0aa Miscap function name 2021-09-30 18:55:16 -05:00
Vortrex
219dd82e5a Fix respawn all vehicles command 2021-09-30 18:54:43 -05:00
Vortrex
56cea0f34e Add headers to new GUI script files 2021-09-30 18:54:31 -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
b19b35368d Add interior-in-interior stuff 2021-09-18 08:41:02 -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
70d846303f Re-add mousecam 2021-09-18 06:38:51 -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
cfc22a77ee Bunch of fixes/changes
* Set client log level to info
* Added element prop sync util
* Added check to make sure veh upgrade was valid
* Fixed incorrect acct settings being saved
* Added help tip when using invalid anim
* Fixed create biz cmd
* Allow biz owners to set biz name
* Allow biz owners to give biz to player or clan
* Added biz clan rank cmd
* Allow those with permission to lock/unlock biz & houses
* Fix set biz interior
* Allow players with permission to withdraw from biz till
* Added utils to check if player has biz permissions for till/lock/lights
* Added check if players are in same int/vw on talk/shout/whisper
* Follow server civilians cvar when toggling ambience
* Renamed some clan cmds to prefix with "clan"
* Added vehlivery cmd
* Set server log level to debug
* Show veh owner info on enter
* Sync body parts & props on IV
* Add clan help in help cmd
* Don't show values for melee weapons
* Add IV support for some utils
* Sync player ped fight style in SA
* Added fightstyle cmd
* Fix wrong job owner on vehinfo cmd
* Return false on world label support util for IV
2021-09-12 13:53:51 -05:00
Vortrex
ac4702cc52 Add new biz location types 2021-09-09 06:13:54 -05:00
Vortrex
87dd31c213 Fix wrong check in util 2021-09-09 06:13:42 -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
7b0fa01d03 Use string IP instead of ATON conversion in MySQL 2021-08-27 18:47:43 -05:00
Vortrex
f4baca7c59 Add interior lights to house/biz classes 2021-08-27 18:47:20 -05:00
Vortrex
a49d496df3 A few fixes 2021-08-27 18:47:04 -05:00
Vortrex
f511dd3180 Woops wrong field names for GUI colours 2021-08-27 18:46:52 -05:00
Vortrex
d482715abc Fix new db insert query util 2021-08-27 18:46:42 -05:00
Vortrex
93af43de7d Fix create house cmd 2021-08-27 18:46:30 -05:00
Vortrex
6fe079663b Use 255 for pickup types 2021-08-27 18:46:23 -05:00
Vortrex
fbf63ad8c7 Use MySQL datetime instead of unix timestamp 2021-08-27 18:46:14 -05:00
Vortrex
b60b52a2c0 Add biz/house toggleable interior lights 2021-08-27 18:45:56 -05:00
Vortrex
e17b43bf2f Add radiostation and keybinds list 2021-08-24 20:36:02 -05:00
Vortrex
ab82e1ac5f Handle biz/house game scripts on enter/exit 2021-08-24 19:56:38 -05:00
Vortrex
fa45dfef9d Fix sacct create query (needs to be updated for new saving util) 2021-08-24 19:56:17 -05:00
Vortrex
163eb8f271 MP mod and game script consts+comments sections 2021-08-24 19:55:52 -05:00
Vortrex
b1bb3a76bf Formatting 2021-08-24 19:55:20 -05:00
Vortrex
b38aefb859 Receive comms from radios on ground nearby 2021-08-24 19:54:49 -05:00
Vortrex
300c7785ff Use new db saving util 2021-08-24 19:54:22 -05:00
Vortrex
ef686a5360 Index house loc and script 2021-08-24 19:54:13 -05:00
Vortrex
d7e712f827 Add keybind and inventory help tips 2021-08-24 19:54:02 -05:00
Vortrex
a9f22880e7 Add support for non-persistent db conn 2021-08-24 19:53:46 -05:00
Vortrex
82a4f8285c Use new db saving util 2021-08-24 19:53:23 -05:00
Vortrex
e4d3710327 Add game script netevent 2021-08-24 19:53:13 -05:00
Vortrex
08c1d68cc2 Add biz/house game script classes 2021-08-24 19:53:02 -05:00