Commit Graph

242 Commits

Author SHA1 Message Date
Vortrex
42f234e6c5 Move snow and world obj utils to game resource 2021-10-25 13:00:52 -05:00
Vortrex
92de92d5ca Fix for crashing on skin select 2021-10-25 13:00:25 -05:00
Vortrex
299ce12008 Fix snow util, move game object utils to game resource 2021-10-25 12:59:17 -05:00
Vortrex
04c0443b37 Use extra resource for custom audio files 2021-10-25 12:58:42 -05:00
Vortrex
a52cfb40f5 Increase default client log level to debug 2021-10-25 12:58:09 -05:00
Vortrex
3d330d359e Use new server-specific GUI colours 2021-10-25 12:57:49 -05:00
Vortrex
2a3d62abe2 Add changepass, resetpass, and 2FA gui 2021-10-25 12:57:32 -05:00
Vortrex
0c79b2f310 GUI server-specific secondary and text colours 2021-10-25 12:57:04 -05:00
Vortrex
c615447a3b Don't send msg to chatbox when scrolled back 2021-10-25 12:56:21 -05:00
Vortrex
b923303fe6 Use get game util 2021-10-15 22:36:22 -05:00
Vortrex
a9b61bd63c Disable some extra sync data 2021-10-15 22:36:12 -05:00
Vortrex
dd7bf81e95 Fix skin select issue on VC 2021-10-15 22:35:49 -05:00
Vortrex
cef38f67e5 Use drunkenness native for alcohol usage 2021-10-11 19:30:49 -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
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
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
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
b60b52a2c0 Add biz/house toggleable interior lights 2021-08-27 18:45:56 -05:00
Vortrex
2fd6dc6f5e Add gamescript netevent 2021-08-24 19:52:05 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
f4015746e1 Update natives 2021-08-11 09:38:12 -05:00
Vortrex
c7fdaa96d9 Don't apply extra ped properties 2021-08-11 09:37:41 -05:00
Vortrex
be25aa2054 Add stop radio stream netevent 2021-08-11 09:37:28 -05:00
Vortrex
53747b9f3e Force anim when necessary 2021-08-11 09:37:17 -05:00
Vortrex
d125f521de Check MP mod for which logo to use 2021-08-11 09:37:02 -05:00
Vortrex
b4b09a0d16 Use natives for initial game setup 2021-08-11 09:36:46 -05:00
Vortrex
85dbddd583 Remove extra stuff from AFK detection 2021-08-11 09:36:32 -05:00
Vortrex
7d74d11a8d Use new keybind utils 2021-07-25 22:10:49 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
aadff4f8e9 Only set collisions and invincible if NOT IV 2021-07-14 19:23:07 -05:00
Vortrex
7cc4f575de Fixed VC crash with anim loading 2021-07-14 19:22:52 -05:00
Vortrex
a447e4f3f2 Use new ped element define (civilian was removed) 2021-07-12 17:42:20 -05:00
Vortrex
814514be84 Remove duplicate sync util funcs 2021-07-12 17:42:01 -05:00
Vortrex
edf724a3ce Fix skin select start skin 2021-07-12 17:41:49 -05:00
Vortrex
4c5461c0de Use new keybind utils 2021-07-12 17:41:38 -05:00
Vortrex
85896f2f02 Use new keybind utils 2021-07-12 17:40:13 -05:00
Vortrex
55af28d0bf Remove old commented code 2021-07-12 17:39:58 -05:00
Vortrex
87c0979698 Set onMission true to fix unwanted mission dialogs 2021-07-12 17:39:40 -05:00
Vortrex
c0f07d6ea6 Add animations, fix radio volume, fix keybinds 2021-07-12 17:38:13 -05:00