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
Dan
964f97835b
Can't turn on radar power as the passenger
...
If CONFIG.allow_passenger_control is set to true, then the passenger can turn on the power.
2020-11-13 19:35:00 +00:00
Dan
e5aeb844d7
Change CONFIG.allow_passenger_control to false
2020-11-13 19:33:32 +00:00
Dan
d7aadf29dc
Added PLY:CanControlRadar()
2020-11-13 19:18:39 +00:00
Dan
93439a7df3
Block key binds from being registered if the resource name is not wk_wars2x
2020-11-13 19:15:04 +00:00
Dan
8d40970f98
Resource name server console error message
...
If the resource's name is not wk_wars2x, then the server console will receive an error.
2020-11-13 18:42:27 +00:00
Dan
f5e55c4728
Updated key lock message
...
The key lock message now reads "Radar key binds enabled" and "Radar key binds blocked". Green and red are also used to signify the state of the key binds, this hopefully makes it a bit more clear what it does, as well as the state of the key lock.
2020-11-13 17:32:34 +00:00
Dan
b687908a91
Added console message for registering key binds
2020-11-12 09:49:56 +00:00
Dan
12c29421cd
Another attempted fix for the key binds issue
...
Key binds now get registered only when the player has spawned in, rather than when the code gets run at the bottom of the file.
2020-11-12 09:34:52 +00:00
Dan
7bbfd8c27a
UI settings get loaded when the resource is restarted
2020-11-07 13:12:05 +00:00
Dan
6266bd8ed4
NUI callback response formatting
2020-11-07 12:35:46 +00:00
Dan
914b6d5f44
Update cl_sync.lua
2020-11-07 12:32:36 +00:00
Dan
4f7d56471b
Added ability to clear the BOLO plate
2020-11-05 15:33:21 +00:00
Dan
dc8875893f
Updated config comments
2020-11-05 12:18:16 +00:00
Dan
a0ef45c60d
Remove dynamic resource naming
2020-11-05 11:51:51 +00:00
Dan
f00d747d92
Fixed radar disply not hiding for the passenger
2020-11-05 10:08:04 +00:00
Dan
d53aded906
Updated fx_version to "cerulean"
2020-11-05 09:09:45 +00:00
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