mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Added networked event to open the remote
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user