Dan
ac8ca17931
feat: add setter for operator menu settings table
2021-03-11 10:46:10 +00:00
Dan
18fbbea632
feat: add ability to backup local radar data
...
Add RADAR:BackupData(), this is only used when the local player becomes the front seat passenger in another vehicle.
2021-03-10 16:55:34 +00:00
Dan
13efa325bd
feat: add setters for RADAR.backupData
2021-03-10 16:41:01 +00:00
Dan
1f45b0ec21
feat: add getters for RADAR.backupData
2021-03-10 16:38:10 +00:00
Dan
84e1e41df4
feat: add table for backing up radar data when the player becomes a passenger
2021-03-10 16:26:00 +00:00
Dan
e97fedf81f
feat: add ability to get operator menu and antenna table data
2021-03-10 15:05:13 +00:00
Dan
60cbe8a8e4
docs: add comments to cl_sync.lua
2021-03-10 14:44:32 +00:00
Dan
4f5902ff19
feat(sync): add code for triggering sync on entering a vehicle
2021-03-04 20:39:27 +00:00
Dan
914c6a28aa
feat: add chat suggestion for /reset_radar_data
2021-03-03 13:26:03 +00:00
Dan
4f634f7ab2
refactor: use Notify instead of Log for /reset_radar_data command
2021-03-03 13:09:27 +00:00
Dan
95d8feb6a6
feat(sync): locked speed overrides recipient's speed data
...
When the driver/passenger locks a speed, the data from the player who locked the speed is gathered and sent to the other player. This way the players will have the same data on both ends.
2021-03-03 11:59:59 +00:00
Dan
eacb42851c
feat: speed lock only works if the player can control the system
2021-03-02 21:01:34 +00:00
Dan
c2ea0dbfe7
feat: sync will only work if the player can control the system
2021-03-02 21:00:39 +00:00
Dan
4231b71ea4
feat: temp server event debug console messages
2021-03-02 20:52:32 +00:00
Dan
ec42d6860b
feat: basic speed lock sync
2021-03-02 20:44:21 +00:00
Dan
bf4a2efd7b
feat: make sync system check if the other ped is a player
2021-03-02 19:16:13 +00:00
Dan
044b5fa412
refactor: remove callback from RADAR:SetAntennaMode()
2021-03-02 19:06:54 +00:00
Dan
0c85eb157f
refactor: remove callback from RADAR:ToggleAntenna
2021-03-02 10:44:01 +00:00
Dan
0a93e7614f
refactor: remove jQuery file from manifest files
2021-03-02 10:15:41 +00:00
Dan
508f94684e
style: remove trailing spaces
2021-03-02 10:14:21 +00:00
Dan
9e346aa0f3
Update .gitignore
2021-03-01 12:04:28 +00:00
Dan
6cf6761e51
feat: antenna mode sync and control for driver/passenger
2021-02-26 21:43:56 +00:00
Dan
0e46c7b8a1
feat: antenna power sync and control for driver/passenger
2021-02-26 20:50:02 +00:00
Dan
3d9ae2602c
refactor: making sync functions are streamlined a bit
2021-02-26 20:49:15 +00:00
Dan
695ff71577
docs: sv/cl_sync.lua headers
2021-02-26 20:07:50 +00:00
Dan
9a1a58671b
fix: still syncing when there's no other player
2021-02-26 15:47:41 +00:00
Dan
3fd458ac63
feat: power button sync and passenger control
...
The power state is now synced between the driver and passenger. The passenger can also toggle the radar's power if the config line allows for it.
2021-02-26 15:42:17 +00:00
Dan
92d3ae8132
feat: func to get ped in opposite seat if driver/passenger
2021-02-26 15:41:21 +00:00
Dan
ff668a92fc
refactor: move player data to own file
2021-02-25 13:04:00 +00:00
Dan
e622a8ff64
refactor: switch to fivem jQuery
2021-02-24 15:35:05 +00:00
Dan
a812f23174
docs: update copyright range
2021-02-24 15:28:56 +00:00
Dan
21fde3468e
fix: power button spam breaking display
2021-02-24 15:16:30 +00:00
Dan
912b0f72d7
feat: setup SYNC client table
2021-02-23 21:17:22 +00:00
Dan
cbde49abe3
refactor: remove cl_sync.lua code
2021-02-23 12:45:27 +00:00
Dan
17da8b58c0
refactor: power state event variable name
2021-02-23 11:08:24 +00:00
Dan
0fe8b24212
Added config option for Sonoran CAD users
2021-01-07 14:17:24 +00:00
Dan
8658de39ad
Added a notification when resetting radar data
2021-01-07 11:06:25 +00:00
Dan
cc89d4c72a
Fixed UI settings not reloading on resource restart
2021-01-07 10:52:30 +00:00
Dan
a166dda1cb
Added config option to only auto lock speeds if it's a player
2021-01-07 10:50:52 +00:00
Dan
47fa80d67b
Add event for sending radar power state
2021-01-06 10:24:22 +00:00
Dan
014d5ceac2
Added sv_sync.lua
2020-11-30 13:20:45 +00:00
Dan
70f781b20e
Added /rre command, notifications, debug only commands
2020-11-30 10:29:02 +00:00
Dan
157729b5ec
Added temporary debug config setting
2020-11-30 10:28:19 +00:00
Dan
f6034a4bed
Added /rtpv debug command
2020-11-30 09:58:18 +00:00
Dan
bb16f2dc4e
Changed fxmanifest version to "beta"
2020-11-29 15:42:12 +00:00
Dan
cc5153a1f3
Added /rtpc debug command
2020-11-29 15:40:51 +00:00
Dan
12d1a6503b
Passenger control for operator menu
2020-11-29 15:31:01 +00:00
Dan
8ced0c1fd1
Passenger control for antenna toggle
2020-11-29 15:24:45 +00:00
Dan
3d9658d2d5
Passenger control for setting antenna mode
2020-11-29 15:21:29 +00:00
Dan
fb13e79e3b
Changed PLY:CanRunRadar() to PLY:CanViewRadar()
2020-11-13 19:45:48 +00:00