Commit Graph

117 Commits

Author SHA1 Message Date
Vortrex
dcc051b67e Use locale strings 2022-04-12 09:00:29 -05:00
Vortrex
2f5d0865a1 Check if dev server before loading/save 2022-04-10 00:01:08 -05:00
Vortrex
904f89cd47 Fix cmd info being shown for keypress when buying items 2022-04-05 23:53:30 -05:00
Vortrex
2a8b017cc4 Comments for copilot 2022-03-28 19:46:49 -05:00
Vortrex
f877235bf8 Add JSDoc + use locale strings for admin announce 2022-03-25 02:21:50 -05:00
Vortrex
efc72dffe1 Mass convert indentation + add ped speech cmd 2022-03-16 17:02:33 -05:00
Vortrex
ef1ba1dd99 Cutscene interior stuff 2022-03-15 04:16:51 -05:00
Vortrex
24e70233cb Fixed locale string syntax issue 2022-03-10 10:43:47 -06:00
Vortrex
40281d658a Rename send biz/house utils 2022-03-09 02:51:53 -06:00
Vortrex
391e926478 Remove game script control (will use another resource) 2022-03-08 01:09:08 -06:00
Vortrex
bdee71440f Business/house blips & pickups for IV 2022-03-07 07:37:41 -06:00
Vortrex
b908360ed2 House and business pickup stuff 2022-03-06 02:20:04 -06:00
Vortrex
2592795ea1 Rename interior templates to interiors 2022-02-18 16:00:16 -06:00
Vortrex
a4affe0f72 String formatting 2022-02-14 16:15:21 -06:00
Vortrex
279e763bfe Fix output messages for some biz cmds 2022-02-13 19:33:16 -06:00
Vortrex
a8f37405bf String layout 2022-02-10 18:00:55 -06:00
Vortrex
c56fcf02a1 Use more locale strings 2022-02-06 12:05:52 -06:00
Vortrex
c6c77ac051 Fix deleting all business items 2022-02-05 00:12:55 -06:00
Vortrex
e3ff459471 Fix some biz cmds 2022-01-31 12:27:14 -06:00
Vortrex
2130c783bc Add some JSDoc info for intellisense 2022-01-20 03:11:44 -06:00
Vortrex
1f6f90968f Add bizdelowner cmd, convert to locale strings 2022-01-19 12:57:43 -06:00
Vortrex
64b3628b25 Use cmd arg/param util 2022-01-09 17:42:57 -06:00
Vortrex
5dfe47a3e8 Organize a lot of utils 2022-01-09 17:19:53 -06:00
Vortrex
3d9ee04eb5 Use new locale strings 2022-01-09 05:27:11 -06:00
Vortrex
e5994c2998 Change header to normal 2022-01-06 13:34:32 -06:00
Vortrex
6a95053e8d Fix wrong biz/pickup util name when del biz 2022-01-04 15:11:23 -06:00
Vortrex
7a3203fa57 Revert "Use new stream distance stuff"
This reverts commit bdda7caf4c.
2021-12-30 16:03:07 -06:00
Vortrex
bdda7caf4c Use new stream distance stuff 2021-12-26 11:48:04 -06:00
Vortrex
54ff27ab4f Add biz job/rank/items cmds and blip/pickup utils 2021-12-11 20:16:07 -06:00
Vortrex
23818af24a Fix biz int types chunked array, fix biz veh dealer cmd 2021-12-03 10:23:09 -06:00
Vortrex
2e3b367a5f Use util to properly clear arrays 2021-11-30 21:51:41 -06:00
Vortrex
4f4b21eff3 Chunked list for biz/house int types+new price label data 2021-11-28 22:44:30 -06:00
Vortrex
1c51c01db6 Fix veh buyprice+fix clan rank+use pascalcase flag names 2021-11-25 07:35:32 -06:00
Vortrex
39524898e3 Splice del biz/house for garbage collection 2021-11-24 07:20:57 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
7296f275b3 Fix biz exit pickup bug 2021-10-15 22:37:11 -05:00
Vortrex
008c2c5fef New util for if player can edit biz 2021-10-06 15:42:05 -05:00
Vortrex
c765f42ff5 Woops wrong const name 2021-09-30 18:55: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
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
2859fc5803 Load biz game scripts from db, index biz loc/script 2021-08-24 19:52:47 -05:00
Vortrex
4fe9c45e0a Mafia Connected support 2021-08-14 20:49:47 -05:00
Vortrex
9a2ff52d45 Use new db query string utils 2021-08-11 09:39:41 -05:00
Vortrex
67cef06f6d Save businesses when creating one 2021-07-25 22:11:43 -05:00
Vortrex
9ce391ef9a Tons of fixes, change netevent prefix. 2021-07-18 20:39:49 -05:00
Vortrex
b39104566e Check for global svr cfg pickups/blips enabled 2021-07-14 19:23:46 -05:00