From 265090d5f18b7eaadfb4336f5b142acbb6c52aae Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 12 Mar 2020 09:53:25 +0000 Subject: [PATCH] Added networked event to open the remote --- cl_radar.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cl_radar.lua b/cl_radar.lua index 64a79d4..b92034c 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -408,6 +408,12 @@ function RADAR:OpenRemote() end end +-- Event to open the remote +RegisterNetEvent( "wk:openRemote" ) +AddEventHandler( "wk:openRemote", function() + RADAR:OpenRemote() +end ) + -- Returns if the fast limit option should be available for the radar function RADAR:IsFastLimitAllowed() return CONFIG.allow_fast_limit