Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addCommandHandler( "gotopershing",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 1521.11, -1714.38, 13.54 )
- outputChatBox ( "You have teleported to Pershing Square!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotoganton",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 2226.59, -1721.91, 13.55 )
- outputChatBox ( "You have teleported to Ganton!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotoseville",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 2721.87, -2000.7, 13.55 )
- outputChatBox ( "You have teleported to Seville!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotojefferson",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 2227.83, -1143.74, 25.79 )
- outputChatBox ( "You have teleported to Jefferson!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotobank",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 590.86, -1240.65, 17.87 )
- outputChatBox ( "You have teleported to Los Santos Bank!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotovinewood",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 1374.25, -922.76, 34.39 )
- outputChatBox ( "You have teleported to Vinewood!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotosantamaria",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 369.85, -2047.74, 7.83 )
- outputChatBox ( "You have teleported to Santa Maria Beach!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotoash",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 1185.38, -1323.86, 13.57 )
- outputChatBox ( "You have teleported to All Saints Hospital!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotoairport",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 1969.15, -2175.11, 13.54 )
- outputChatBox ( "You have teleported to Los Santos International Airport!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
- addCommandHandler( "gotoigs",
- function( thePlayer, commandName )
- for key, value in ipairs( getElementsByType( "player" ) ) do
- if hasObjectPermissionTo( value, "command.staffduty", false ) then
- setElementInterior( thePlayer, 0 )
- setElementDimension( thePlayer, 0 )
- setElementPosition( thePlayer, 1934.42, -1762.24, 13.54 )
- outputChatBox ( "You have teleported to Idlewood Gas Station!", getRootElement(), 0, 255, 0, false )
- end
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement