Commit Graph

310 Commits

Author SHA1 Message Date
Dan
aef30b5729 Added PLY:CanRunRadar() to override PLY:VehicleStateValid()
The driver and passenger of a vehicle should now be able to run radar independently, this is a very early implementation as there is no syncing between players. If the driver locks a speed, the passenger's radar will be unchanged, and so on.
2020-07-20 09:32:20 +01:00
Dan
daf191d6ea The passenger should now also be able to open the remote 2020-07-19 17:49:31 +01:00
Dan
3baa2c6d2e Create cl_sync.lua, SYNC table and basic decorator setup 2020-07-18 13:50:21 +01:00
Dan
fdee24d694 Added config variables 2020-07-16 11:43:29 +01:00
Dan
713a7d41db Merge pull request #6 from Jamelele/callbacks
NUI Callback Improvements
2020-06-10 18:17:26 +01:00
Jamelele
b8b2eecaea Return callbacks with 'ok' instead of an empty object 2020-06-02 14:36:53 +00:00
Jamelele
bc13b14aed Send empty payloads instead of 'null'
Odd stuff seems to occur and you can't return the callback from lua
2020-05-25 00:40:11 +01:00
Jamelele
285cee53a0 Set correct headers for NUI callbacks 2020-05-24 21:22:16 +00:00
Jamelele
4ec8391b6f Send nui requests over HTTPS 2020-05-24 15:22:52 +00:00
Jamelele
e0931ed351 Add callbacks to all events to prevent requests from stalling 2020-05-24 15:22:39 +00:00
Dan
9de5694899 Attempted workaround for control issues 2020-04-26 16:20:17 +01:00
Dan
74539874c3 Updated version number
x.2.x = new keymaps, adjusted display update speed
x.x.3 = fixed heading check
2020-03-28 21:56:34 +00:00
Dan
dcc1991490 Fixed the heading check not working near 0deg 2020-03-28 21:48:58 +00:00
Dan
2d9ec9739f Adjusted the display update rate 2020-03-28 21:48:23 +00:00
Dan
02ad05639e Updated README.md 2020-03-28 17:56:37 +00:00
Dan
bcb772514f Code consistency 2020-03-28 17:52:53 +00:00
Dan
c59417eba7 Removed keyboard set code 2020-03-28 17:52:01 +00:00
Dan
2291b5f1a2 Merge pull request #3 from blockba5her/master
switch from gta controls to fivem key maps
2020-03-28 17:22:17 +00:00
BlockBa5her
c51f7de607 remove commented code 2020-03-26 17:56:07 -07:00
BlockBa5her
0aecc6fe33 switch from gta controls to key maps 2020-03-26 17:49:09 -07:00
Dan
2513b98bd5 Delete This file is here so GitHub creates this directory 2020-03-25 10:37:37 +00:00
Dan
8bbad1de5d Fixed a bug that caused boats and aircraft to be detected 2020-03-25 10:34:42 +00:00
Dan
f30115d0ac Fixed a bug that caused the fast speeds to not be accurate 2020-03-14 22:56:41 +00:00
Dan
151cb20983 Update README.md 2020-03-14 19:19:13 +00:00
Dan
24f1a9c23b Fixed new user message reappearing when "No" was clicked 2020-03-14 18:34:25 +00:00
Dan
1cf7386d28 Changes so far considered 1 major revision 2020-03-14 13:59:47 +00:00
Dan
29492834ad Changed version after combining edits 2020-03-13 21:53:25 +00:00
Dan
dd30bce1d1 Update version number
If you're confused why the version number jumped so high, it's because I'm using semantic versioning.
2020-03-13 21:17:25 +00:00
Dan
fa9b5d068c QSV must be closed for the system to register it as watched 2020-03-13 21:13:52 +00:00
Dan
804ab577f3 Fixed QSV message not appearing if you pressed ESC or RMB when it was active 2020-03-13 21:13:15 +00:00
Dan
c3a50e51b5 Changed version check message 2020-03-13 20:58:18 +00:00
Dan
6ff6925630 Added command to "reset" KVPs 2020-03-13 20:57:57 +00:00
Dan
cea0bf9c83 Added first time quick start video with config option 2020-03-13 20:57:31 +00:00
Dan
a1f72e7c91 Fixed operator menu bugging out when the power was reset 2020-03-13 11:31:51 +00:00
Dan
e8b4c53bf0 Fixed keybinds working in pause menu 2020-03-13 11:31:16 +00:00
Dan
a4f38eaa05 Fix spelling 2020-03-12 14:45:57 +00:00
Dan
df1eb246d6 Adjusted default positions to exclude hard coded safezone 2020-03-12 14:45:01 +00:00
Dan
09147699a3 Operator menu settings now get saved 2020-03-12 14:44:10 +00:00
Dan
265090d5f1 Added networked event to open the remote 2020-03-12 09:53:25 +00:00
Dan
66c255914f Merge pull request #1 from ryans1230/master
Add heading check - to make things more realistic, vehicle speeds will not be displayed if they are at too much of an angle relative to the patrol vehicle.
2020-03-12 09:34:59 +00:00
Ryan S
b0d0fbe1ea Add heading check
This is typically not something that is in a manual, but rather taught
in the certification class an officer takes to use radar (in the USA).
The further off the road they sit to run radar, or the more of an angle
that sit to traffic, the less accurate the return will be. Instead of
requiring users to know how doppler works, simplify it and just not
return the vehicle.

The original idea stemmed from https://www.quora.com/How-does-police-radar-work-when-officers-are-perpendicular-to-the-road
2020-03-11 23:02:08 -04:00
Dan
f678359fe6 Switched to local saving for UI data 2020-03-11 19:52:05 +00:00
Dan
a13f463d07 Update issue templates 2020-03-11 11:20:24 +00:00
Dan
c495e9cb87 Update issue templates 2020-03-11 11:16:03 +00:00
Dan
3d368560da Update README.md 2020-03-10 21:00:43 +00:00
Dan
bd76fc5b27 Update README.md 2020-03-06 23:28:47 +00:00
Dan
2e89ac54f9 Changed fast limit config setting back to default value 2020-03-06 21:20:30 +00:00
Dan
b4c2f41694 Changed file name 2020-03-06 14:25:09 +00:00
Dan
110b366019 Create You can delete me! 2020-03-06 14:22:53 +00:00
Dan
cba3fd3378 Update .gitignore 2020-03-06 14:21:25 +00:00