Attempted workaround for control issues

This commit is contained in:
Dan
2020-04-26 16:20:17 +01:00
parent 74539874c3
commit 9de5694899
2 changed files with 52 additions and 48 deletions

View File

@@ -1776,6 +1776,9 @@ Citizen.CreateThread( function()
end end
end ) end )
Citizen.CreateThread( function()
Citizen.Wait( 3000 )
-- Opens the remote control -- Opens the remote control
RegisterCommand( "radar_remote", function() RegisterCommand( "radar_remote", function()
if ( not RADAR:GetKeyLockState() ) then if ( not RADAR:GetKeyLockState() ) then
@@ -1828,3 +1831,4 @@ RegisterCommand( "reset_radar_data", function()
DeleteResourceKvp( "wk_wars2x_om_data" ) DeleteResourceKvp( "wk_wars2x_om_data" )
DeleteResourceKvp( "wk_wars2x_new_user" ) DeleteResourceKvp( "wk_wars2x_new_user" )
end, false ) end, false )
end )

View File

@@ -31,14 +31,14 @@
---------------------------------------------------------------------------------------]]-- ---------------------------------------------------------------------------------------]]--
-- Define the FX Server version and game type -- Define the FX Server version and game type
fx_version "adamant" fx_version "bodacious"
game "gta5" game "gta5"
-- Define the resource metadata -- Define the resource metadata
name "Wraith ARS 2X" name "Wraith ARS 2X"
description "Police radar and plate reader system for FiveM" description "Police radar and plate reader system for FiveM"
author "WolfKnight" author "WolfKnight"
version "1.2.3" version "1.2.4"
-- Include the files -- Include the files
files { files {