Commit Graph

1371 Commits

Author SHA1 Message Date
Vortrex
cabc06db91 Add game name util func 2021-10-11 19:32:07 -05:00
Vortrex
8a3c4aaf79 Formatting 2021-10-11 19:32:01 -05:00
Vortrex
0b7bb4c504 Start working on phone item usage 2021-10-11 19:31:50 -05:00
Vortrex
feb4754d33 Update skin item usetype comment 2021-10-11 19:31:32 -05:00
Vortrex
2c1abab02c Rename some command handler funcs 2021-10-11 19:31:21 -05:00
Vortrex
2b9456daaa Add optional email alerts for login attempts 2021-10-11 19:31:08 -05:00
Vortrex
cef38f67e5 Use drunkenness native for alcohol usage 2021-10-11 19:30:49 -05:00
Vortrex
cf5139dcc5 Fix float parse 2021-10-06 15:44:14 -05:00
Vortrex
698fd4b54b Add 1k to biz till on paydays 2021-10-06 15:44:07 -05:00
Vortrex
a5cf04a315 Announce admin actions to other admins 2021-10-06 15:43:53 -05:00
Vortrex
1069b37e30 Use more emoji 2021-10-06 15:43:35 -05:00
Vortrex
1312012d07 Util to check if player can manage house 2021-10-06 15:43:10 -05:00
Vortrex
919628b50b Fix command help param count issue 2021-10-06 15:42:54 -05:00
Vortrex
c4dab3238a Use emoji in console log 2021-10-06 15:42:42 -05:00
Vortrex
bb76d16340 Cmd for admins to get vehicle to them 2021-10-06 15:42:20 -05:00
Vortrex
008c2c5fef New util for if player can edit biz 2021-10-06 15:42:05 -05:00
Vortrex
b421f29ec5 Remove extra query log 2021-10-02 18:23:26 -05:00
Vortrex
fd9b2bdcd7 Lower logging level 2021-10-02 18:23:10 -05:00
Vortrex
257a662d6a Don't use timers for keybind send or element sync 2021-10-02 18:23:01 -05:00
Vortrex
c3e9d43561 Fix delplritem admin cmd 2021-10-02 18:22:31 -05:00
Vortrex
1442c7b69d Sync veh int/vw data 2021-10-02 16:50:45 -05:00
Vortrex
2fafb3ef31 Spacing 2021-10-02 16:50:08 -05:00
Vortrex
438ea59adf Optimize vehicle rent check timer 2021-10-02 16:50:02 -05:00
Vortrex
2733197758 Don't use timer for player spawn event 2021-10-02 16:49:54 -05:00
Vortrex
fe982f7a65 Don't blend sit anim 2021-10-02 16:49:39 -05:00
Vortrex
c72df27596 Timers no longer required for teleporting 2021-10-02 16:49:29 -05:00
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