Commit Graph

19 Commits

Author SHA1 Message Date
Dan
60cbe8a8e4 docs: add comments to cl_sync.lua 2021-03-10 14:44:32 +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
c2ea0dbfe7 feat: sync will only work if the player can control the system 2021-03-02 21:00:39 +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
508f94684e style: remove trailing spaces 2021-03-02 10:14:21 +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
a812f23174 docs: update copyright range 2021-02-24 15:28:56 +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
914b6d5f44 Update cl_sync.lua 2020-11-07 12:32:36 +00:00
Dan
3baa2c6d2e Create cl_sync.lua, SYNC table and basic decorator setup 2020-07-18 13:50:21 +01:00