From 914c6a28aa9c892a8306f1ca1e7ccd96b3ea0d7a Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 3 Mar 2021 13:26:03 +0000 Subject: [PATCH] feat: add chat suggestion for /reset_radar_data --- cl_radar.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/cl_radar.lua b/cl_radar.lua index da85ba1..9bd3d0d 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -105,6 +105,7 @@ local function RegisterKeyBinds() UTIL:Notify( "Radar data deleted, please immediately restart your game without opening the radar's remote." ) end, false ) + TriggerEvent( "chat:addSuggestion", "/reset_radar_data", "Resets the KVP data stored for the wk_wars2x resource." ) 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" ) end