443 Commits

Author SHA1 Message Date
Michachatz
4c312fce4a Update sv_version_check.lua 2025-10-04 23:35:47 +02:00
Dan
1feb7ba599 fix: key binds not registering until resource restart
There were a number of people with issues regarding their key binds not getting registered until the resource was restarted. This appears to have been caused by QBus interfering with the `playerSpawned` event which the resource relied on to register the key binds. The exact qb resource in question is unknown presently.
2021-08-30 20:16:34 +01:00
Dan
3d003b1683 refactor: change fast settings at start if to match code convention
Also renamed the new config variable.
2021-03-26 19:51:37 +00:00
Dan
1d443c2a09 Merge pull request #18 from TrevorBarns/master
Feature: Bring fast options to top of menu options for ease of access.
2021-03-26 19:38:12 +00:00
TrevorBarns
cfce5e4b85 feat: 'fast limit menu first' config to determine new sort order 2021-03-26 13:41:41 -05:00
TrevorBarns
4bc6d010ca Feature: Bring fast options to top of menu options for ease of access. 2021-03-25 21:36:52 -05:00
Dan
9b88f75e8a Merge pull request #16 from WolfKnight98/passenger-control
1.3.0 - Passenger control update
2021-03-21 21:25:24 +00:00
Dan
9d7f4b5ccd refactor: change default passenger control config values 2021-03-19 15:49:04 +00:00
Dan
2bea91ee99 refactor: remove debug commands 2021-03-19 15:47:45 +00:00
Dan
ca579d020e feat(sync): require passenger view enabled for remote decors 2021-03-19 14:12:22 +00:00
Dan
338f3bb243 feat(sync): only trigger sync on enter if passenger view allowed 2021-03-19 14:08:23 +00:00
Dan
989d4050b1 fix(sync): passenger able to lock plates when passenger control disabled 2021-03-19 10:13:34 +00:00
Dan
479255a06e fix: attempt to fix inconsistent synced lock speeds 2021-03-18 20:16:40 +00:00
Dan
224685727f feat: only allow fast lock for driver 2021-03-18 20:15:22 +00:00
Dan
07b1311529 refactor: reorganised getters/setters for cl_radar.lua 2021-03-18 19:05:43 +00:00
Dan
c0d892c210 refactor: reorganised getters/setters for cl_plate_reader.lua 2021-03-18 16:15:38 +00:00
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