Jump to content

mods redirect edit code Please


Recommended Posts

Posted

What? Do you want to move every player to other server?

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

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 
) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted
---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 
) 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...