ice_brasil Posted December 3, 2012 Share Posted December 3, 2012 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
Castillo Posted December 3, 2012 Share Posted December 3, 2012 You want to output to everyone who used that command? Link to comment
Vision Posted December 3, 2012 Share Posted December 3, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now