mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Added command to "reset" KVPs
This commit is contained in:
@@ -1805,4 +1805,11 @@ Citizen.CreateThread( function()
|
||||
|
||||
Citizen.Wait( 0 )
|
||||
end
|
||||
end )
|
||||
end )
|
||||
|
||||
-- Deletes all of the KVPs
|
||||
RegisterCommand( "reset_radar_data", function()
|
||||
DeleteResourceKvp( "wk_wars2x_ui_data" )
|
||||
DeleteResourceKvp( "wk_wars2x_om_data" )
|
||||
DeleteResourceKvp( "wk_wars2x_new_user" )
|
||||
end, false )
|
||||
Reference in New Issue
Block a user