Added /rtpc debug command

This commit is contained in:
Dan
2020-11-29 15:40:51 +00:00
parent 12d1a6503b
commit cc5153a1f3
2 changed files with 8 additions and 1 deletions

5
cl_test_cmds.lua Normal file
View File

@@ -0,0 +1,5 @@
-- Radar Toggle Passenger Control
RegisterCommand( "rtpc", function( source, args, rawCommand )
CONFIG.allow_passenger_control = not CONFIG.allow_passenger_control
end, false )
TriggerEvent( "chat:addSuggestion", "/rtpc", "Toggle CONFIG.allow_passenger_control" )