Jump to content

[help] Teleport System


ice_brasil

Recommended Posts

I need help! downloaded a teleport script on my server, so far so good when I go over to the desired type / drop the message for me (you were to drop) I do not want this message appears to me only want to appear for all type player (the player went to the Ice drop also check / drop) as I Faso which this code should I add?

Sorry for my bad english I'm Brazilian!

Cod:

function drop (thePlayer)

setElementPosition ( thePlayer, -1053.99548, 1558.86609, 1115.13196 )

outputChatBox ( "Bem vindo ao drop 1°", thePlayer, 0, 255, 0 )

end

addCommandHandler ( "drop", drop )

function drop2 (thePlayer)

setElementPosition ( thePlayer, -681.61298, -331.70407, 1065.12817 )

outputChatBox ( "Bem vindo ao drop 2°", thePlayer, 0, 255, 0 )

end

addCommandHandler ( "drop2", drop2 )

function drop3 (thePlayer)

setElementPosition ( thePlayer, 1580.10986, 1016.11517, 1336.80627 )

outputChatBox ( "Bem vindo ao drop 3°", thePlayer, 0, 255, 0 )

end

addCommandHandler ( "drop3", drop3 )

Link to comment

Like this?

function drop (thePlayer) 
    setElementPosition ( thePlayer, -1053.99548, 1558.86609, 1115.13196 ) 
    outputChatBox ( "The player ".. getPlayerName(thePlayer) .." has teleported to drop 1 (/drop)", root, 0, 255, 0 ) 
end 
addCommandHandler ( "drop", drop ) 
  
function drop2 (thePlayer) 
    setElementPosition ( thePlayer, -681.61298, -331.70407, 1065.12817 ) 
    outputChatBox ( "The player ".. getPlayerName(thePlayer) .." has teleported to drop 2 (/drop2)", root, 0, 255, 0 ) 
end 
addCommandHandler ( "drop2", drop2 ) 
  
function drop3 (thePlayer) 
    setElementPosition ( thePlayer, 1580.10986, 1016.11517, 1336.80627 ) 
    outputChatBox ( "The player ".. getPlayerName(thePlayer) .." has teleported to drop 3 (/drop3)", root, 0, 255, 0 ) 
end 
addCommandHandler ( "drop3", drop3 ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...