mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
feat: add chat suggestion for /reset_radar_data
This commit is contained in:
@@ -105,6 +105,7 @@ local function RegisterKeyBinds()
|
|||||||
|
|
||||||
UTIL:Notify( "Radar data deleted, please immediately restart your game without opening the radar's remote." )
|
UTIL:Notify( "Radar data deleted, please immediately restart your game without opening the radar's remote." )
|
||||||
end, false )
|
end, false )
|
||||||
|
TriggerEvent( "chat:addSuggestion", "/reset_radar_data", "Resets the KVP data stored for the wk_wars2x resource." )
|
||||||
else
|
else
|
||||||
UTIL:Log( "ERROR: Resource name is not wk_wars2x. Key binds will not be registered for compatibility reasons. Contact the server owner and ask them to change the resource name back to wk_wars2x" )
|
UTIL:Log( "ERROR: Resource name is not wk_wars2x. Key binds will not be registered for compatibility reasons. Contact the server owner and ask them to change the resource name back to wk_wars2x" )
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user