mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
Added /rtpc debug command
This commit is contained in:
5
cl_test_cmds.lua
Normal file
5
cl_test_cmds.lua
Normal 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" )
|
||||
@@ -67,3 +67,5 @@ client_script "cl_utils.lua"
|
||||
client_script "cl_sync.lua"
|
||||
client_script "cl_radar.lua"
|
||||
client_script "cl_plate_reader.lua"
|
||||
|
||||
client_script "cl_test_cmds.lua"
|
||||
Reference in New Issue
Block a user