Files
wk_wars2x/cl_test_cmds.lua
2020-11-29 15:40:51 +00:00

5 lines
264 B
Lua

-- 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" )