mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Added /rtpv debug command
This commit is contained in:
@@ -3,3 +3,9 @@ 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" )
|
||||
|
||||
-- Radar Toggle Passenger View
|
||||
RegisterCommand( "rtpv", function( source, args, rawCommand )
|
||||
CONFIG.allow_passenger_view = not CONFIG.allow_passenger_view
|
||||
end, false )
|
||||
TriggerEvent( "chat:addSuggestion", "/rtpv", "Toggle CONFIG.allow_passenger_view" )
|
||||
Reference in New Issue
Block a user