mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Added command to "reset" KVPs
This commit is contained in:
@@ -1806,3 +1806,10 @@ Citizen.CreateThread( function()
|
|||||||
Citizen.Wait( 0 )
|
Citizen.Wait( 0 )
|
||||||
end
|
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