Added /rtpv debug command

This commit is contained in:
Dan
2020-11-30 09:58:18 +00:00
parent bb16f2dc4e
commit f6034a4bed

View File

@@ -2,4 +2,10 @@
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" )
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" )