Commit Graph

427 Commits

Author SHA1 Message Date
Dan
de186def50 docs: add more comments 2021-03-18 16:08:58 +00:00
Dan
984d2221cd feat: only backup radar antenna data if the power is already on 2021-03-18 15:39:12 +00:00
Dan
9b6279fd5f docs: update version number to 1.3.0 ready for release 2021-03-17 20:31:30 +00:00
Dan
788dc1970e docs: CONFIG.only_lock_players comment spelling 2021-03-17 19:16:08 +00:00
Dan
f753bf9cb0 docs: update config section of README.md 2021-03-17 19:13:26 +00:00
Dan
72b78a54bb docs: update licence year range 2021-03-17 18:57:55 +00:00
Dan
e22a807228 refactor: use getter rather than direct access for fast limit settings 2021-03-17 17:11:21 +00:00
Dan
34102ecf0f refactor: remove redundant tempVehicleIDs table 2021-03-17 17:08:46 +00:00
Dan
ff3ee6dfe5 fix: audio not playing on speed lock
This was caused because I used the RADAR:IsMenuOpen() function to control if audio should be played. This is so if one player is in the operator menu, and the other locks a speed, the audio is not played for the player in the operator menu. The variable 'isMenuOpen' just needed inverting.
2021-03-17 17:07:21 +00:00
Dan
7e63c37e45 fix: fast limit settings not saving 2021-03-17 16:59:50 +00:00
Dan
040141f4c8 refactor: always print current version to server console 2021-03-17 16:34:10 +00:00
Dan
c3975e9f53 refactor: remove Discord ID from version checker 2021-03-17 15:58:58 +00:00
Dan
59dd6c13ae refactor: cleanup sync backup code 2021-03-17 13:53:59 +00:00
Dan
6864cd4cbc fix: passenger plates and lock not being restored properly
The system was restoring the data, but not updating the NUI side.
2021-03-17 13:28:45 +00:00
Dan
f6663d8455 docs: add more cl_player.lua comments 2021-03-16 20:13:32 +00:00
Dan
6c28d4d327 feat: only allow the sync trigger if an emergency vehicle 2021-03-16 20:12:39 +00:00
Dan
2c7172a754 refactor: reduce size of server console branding 2021-03-16 19:55:54 +00:00
Dan
8a269b7143 refactor: remove leftover debug messages 2021-03-15 19:36:58 +00:00
Dan
8f0037d18b feat: add passenger control for operator menu 2021-03-15 19:20:12 +00:00
Dan
6f4f5e7d34 feat: plate reader sync 2021-03-15 13:55:13 +00:00
Dan
e5819b0c6d refactor: move radar sync code to cl_sync.lua 2021-03-14 20:49:12 +00:00
Dan
7701cce43b docs: add comments to cl_sync.lua 2021-03-14 20:40:00 +00:00
Dan
dc8a9a7437 docs: plate reader headers 2021-03-14 20:32:50 +00:00
Dan
1ebaab9665 feat: operator menu settings sent to passenger on change 2021-03-14 20:12:25 +00:00
Dan
55b5a90a28 feat: exit the operator menu on remote close 2021-03-14 15:03:16 +00:00
Dan
46a19221fb fix: operator menu being interrupted by speed lock 2021-03-14 15:01:57 +00:00
Dan
cde5bef492 feat: only allow one player to have the remote open 2021-03-14 14:24:15 +00:00
Dan
469166b2ca fix: locked speeds not syncing 2021-03-13 22:41:54 +00:00
Dan
35cd8aeb3b refactor: change default UI scale values to 75% 2021-03-13 21:07:50 +00:00
Dan
f2790463fb feat: passenger control enabled by default for now 2021-03-13 15:19:43 +00:00
Dan
fa386b46d3 fix: passenger accessing operator menu 2021-03-13 15:19:05 +00:00
Dan
a65a5b4cbf fix: requesting radar data when there's no driver 2021-03-13 15:02:38 +00:00
Dan
699bca2ee4 refactor: comment out more debug messages 2021-03-13 14:07:35 +00:00
Dan
6ec766eb82 fix: fast display option being ignored on power up 2021-03-13 13:01:45 +00:00
Dan
25fdcf721e refactor: comment out debug console messages 2021-03-12 21:33:18 +00:00
Dan
dcd561164f refactor: reduce wait when loading data from driver 2021-03-12 21:22:55 +00:00
Dan
81751966a6 feat: add power state to sync system 2021-03-12 21:21:31 +00:00
Dan
8155fae94c refactor: require radar power to use state rather than toggle 2021-03-12 20:12:03 +00:00
Dan
2f9c483d6d feat: only restore from backups if there are any 2021-03-12 11:04:27 +00:00
Dan
5e26858024 feat: update antenna displays with synced values 2021-03-12 11:03:41 +00:00
Dan
d7af90aece feat: add function to get if there's any backup data 2021-03-12 11:02:02 +00:00
Dan
f4c621e0d3 fix: RestoreFromBackup() not restoring antenna table 2021-03-12 10:58:27 +00:00
Dan
b3ffc9ac23 feat: radar data sync between driver and passenger 2021-03-11 19:03:17 +00:00
Dan
2917ad32d7 refactor: SyncData() to use GetOtherPedServerId() 2021-03-11 19:01:05 +00:00
Dan
5af79b8674 fix: restore backup function using non-existing variable 2021-03-11 18:58:57 +00:00
Dan
07ad8876e4 fix: UTIL:Values loops incorrect variables 2021-03-11 18:57:42 +00:00
Dan
a06972c57d feat: add function to get other ped's server id 2021-03-11 18:50:45 +00:00
Dan
b7168ef658 refactor: use getter for IsFastDisplayEnabled() 2021-03-11 16:36:41 +00:00
Dan
c5bf28ca33 feat: add function to restore backed up data 2021-03-11 16:20:02 +00:00
Dan
20a369a170 feat: add function to load data from the driver 2021-03-11 11:01:56 +00:00