GTX Posted June 18, 2012 Posted June 18, 2012 What? Do you want to move every player to other server?
Castillo Posted June 18, 2012 Posted June 18, 2012 You want to freeze the player? ---This Script Made By X-Shadow ! addCommandHandler ( "go", function ( player, cmd, port ) setTimer ( redirectPlayer, 5000, 1, player, "91.121.70.169", 22017 ) setElementFrozen ( player, true ) outputChatBox ( "You Will be Moved to the Server in 5 sec ...", player ) outputChatBox ( "Player ".. getPlayerName ( player ) .." Has Moved to the Server !", getRootElement(), 250, 255, 0 ) end )
Anderl Posted June 20, 2012 Posted June 20, 2012 You want to freeze the player? ---This Script Made By X-Shadow ! addCommandHandler ( "go", function ( player, cmd, port ) setTimer ( redirectPlayer, 5000, 1, player, "91.121.70.169", 22017 ) setElementFrozen ( player, true ) outputChatBox ( "You Will be Moved to the Server in 5 sec ...", player ) outputChatBox ( "Player ".. getPlayerName ( player ) .." Has Moved to the Server !", getRootElement(), 250, 255, 0 ) end ) I think he wants to redirect every player in the server.
Castillo Posted June 20, 2012 Posted June 20, 2012 ---This Script Made By X-Shadow ! addCommandHandler ( "go", function ( player ) setTimer ( function ( ) for index, thePlayer in ipairs ( getElementsByType ( "player" ) ) do redirectPlayer ( thePlayer, "91.121.70.169", 22017 ) end end ,5000, 1 ) outputChatBox ( "You Will be Moved to the Server in 5 sec ...", player ) outputChatBox ( "Player ".. getPlayerName ( player ) .." Has Moved to the Server !", getRootElement(), 250, 255, 0 ) end )
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