Commit Graph

113 Commits

Author SHA1 Message Date
Vortrex
bbd63b8230 Fix GUI prompt 2022-04-28 16:27:43 -05:00
Vortrex
b1256193ef Rename getServerGame to getGame to match client 2022-04-28 11:32:35 -05:00
Vortrex
43f9aff82e Use game ID consts as indexes for gamedata 2022-04-25 12:05:00 -05:00
Vortrex
6999661bba More native utils + move startup stuff into startup.js 2022-04-20 06:47:54 -05:00
Vortrex
55b2c9e22c Use new prompt util (in case GUI is disabled) 2022-04-18 20:58:04 -05:00
Vortrex
5aea4293b8 Fix animations 2022-04-16 21:46:12 -05:00
Vortrex
f0a39d7679 Use locale string for invalid skin with NPC cmd 2022-04-12 06:31:04 -05:00
Vortrex
2ed4f0ab7b Use player utils 2022-04-09 23:59:58 -05:00
Vortrex
ba2eb26788 Rename anim locale strings to match other types 2022-04-07 04:52:54 -05:00
Vortrex
f21f0445c2 Send client locale strings 2022-04-06 16:37:06 -05:00
Vortrex
4bdcbd30c0 Send some locale strings to client for labels 2022-04-05 23:52:44 -05:00
Vortrex
d2dbdf2450 Tweaks for MafiaC compatibility 2022-03-29 21:05:48 -05:00
Vortrex
f877235bf8 Add JSDoc + use locale strings for admin announce 2022-03-25 02:21:50 -05:00
Vortrex
1f095a5ed0 Chat box auto-hide (for next GTAC update) 2022-03-22 00:14:58 -05:00
Vortrex
2412e4a542 Re-enable chat history + organize client netevents 2022-03-21 23:41:25 -05:00
Vortrex
75614f2155 Add player cop state util 2022-03-16 20:42:58 -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
78330aa4b1 Use normal chat for now 2022-03-11 02:47:59 -06:00
Vortrex
8ad5c4fff4 Use ped ID in stop anim func 2022-03-09 05:17:53 -06:00
Vortrex
a9045cab68 Sync plr veh + change plr sync event names 2022-03-09 02:51:27 -06:00
Vortrex
787a96ec36 Player ped network ID for IV 2022-03-08 01:10:02 -06:00
Vortrex
bdee71440f Business/house blips & pickups for IV 2022-03-07 07:37:41 -06:00
Vortrex
9bd242631a Add net events to send biz/house info to player 2022-03-07 01:21:32 -06:00
Vortrex
e950ad0a00 Add button text arg for info and error GUI 2022-03-03 01:20:15 -06:00
Vortrex
932f65b56e Fix job clear blip netevent 2022-02-13 19:33:59 -06:00
Vortrex
773881d6d6 Rename job route stop to location 2022-02-10 18:01:30 -06:00
Vortrex
8da7880efd Use locale for button text on some GUI 2022-02-04 10:36:48 -06:00
Vortrex
ae32861b44 More vehicle purchase stuff 2022-01-31 13:46:50 -06:00
Vortrex
44598e5016 Fix AFK and ping status in nametag update util 2022-01-31 12:28:07 -06:00
Vortrex
62efe28936 Fixes for damage system 2022-01-19 12:58:06 -06:00
Vortrex
4068cb528e Fix for damage system, and log 2022-01-17 07:43:35 -06:00
Vortrex
48ba5dfaa8 Send server log level to client 2022-01-13 17:29:26 -06:00
Vortrex
990fc9b450 Add netevent handler native wrap 2022-01-09 05:37:15 -06:00
Vortrex
4c4a38344e Use new native util for netevents 2022-01-09 05:32:22 -06:00
Vortrex
b26b19ccc9 Add password reset GUI and processing 2022-01-07 19:48:59 -06:00
Vortrex
1001e27afc Add force wanted level net event 2022-01-06 13:35:08 -06:00
Vortrex
e411d6f476 Implement custom weapon damage 2022-01-04 20:02:37 -06:00
Vortrex
3b85f13b90 Have server manually set damage 2021-12-13 20:45:21 -06:00
Vortrex
271e512d46 Start offloading veh buy logic to clientside 2021-12-03 10:23:41 -06:00
Vortrex
f14628f096 Return player to old pos on cancel skin select 2021-11-30 21:53:11 -06:00
Vortrex
1e6bde4595 Fix vehicle light change util 2021-11-28 22:46:01 -06:00
Vortrex
520a169a42 Don't freeze player on non-moving anims 2021-11-25 04:15:42 -06:00
Vortrex
8f4ac90dc6 Locale stuff + fixes 2021-11-19 19:27:34 -06:00
Vortrex
ef18c9ded0 Fix for snow support and skin select 2021-11-16 02:03:09 -06:00
Vortrex
1f8299c1a1 Fixes for client net event utils 2021-10-25 13:02:13 -05:00
Vortrex
513cac7f15 Close skin select before processing change 2021-10-15 22:37:53 -05:00
Vortrex
8f4d7bd900 Add update veh interior util 2021-10-02 16:47:09 -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