ice_brasil Posted May 8, 2013 Share Posted May 8, 2013 Hello everyone. works perfectly fine,but when the player goes into a teleport in an interior everything's right. But if he is in an interior teleport and wants to go to a teleporter that is not an interior example, / drop it continues within the last teleport how do I when he goes to a teleport that is not in an interior it back to the inside 0 ?? help-me Teleport Interior function stadium2 (thePlayer) setElementInterior ( thePlayer, 14, -1411.0565185547, 1591.1369628906, 1052.53125 ) outputChatBox ( "[#f1f1f1/stadium2]#ff0000O player ".. getPlayerName(thePlayer) .." foi para o Stadium 2 vá tambem #f1f1f1/stadium2", getRootElement(),255,20,0,true) end addCommandHandler ( "stadium2", stadium2 ) Teleport not interior function drop (thePlayer) setElementPosition ( thePlayer, -1053.99548, 1558.86609, 1115.13196 ) outputChatBox ( "[#f1f1f1/drop]#ff0000O player ".. getPlayerName(thePlayer) .." foi para o drop1 vá tambem #f1f1f1/drop", getRootElement(),255,20,0,true) end addCommandHandler ( "drop", drop ) Link to comment
manawydan Posted May 9, 2013 Share Posted May 9, 2013 tente (try) Teleport Interior function stadium2 (thePlayer) setElementInterior ( thePlayer, 14, -1411.0565185547, 1591.1369628906, 1052.53125 ) outputChatBox ( "[#f1f1f1/stadium2]#ff0000O player ".. getPlayerName(thePlayer) .." foi para o Stadium 2 vá tambem #f1f1f1/stadium2", getRootElement(),255,20,0,true) end addCommandHandler ( "stadium2", stadium2 ) Teleport not interior function drop (thePlayer) setElementInterior ( thePlayer, 0) --setElementDimension ( thePlayer, 0 ) setElementPosition ( thePlayer, -1053.99548, 1558.86609, 1115.13196 ) outputChatBox ( "[#f1f1f1/drop]#ff0000O player ".. getPlayerName(thePlayer) .." foi para o drop1 vá tambem #f1f1f1/drop", getRootElement(),255,20,0,true) end addCommandHandler ( "drop", drop ) 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