Jump to content

Help me


Death

Recommended Posts

Posted

Not work

function rejoinMe(source) 
    redirectPlayer(source,"200.98.128.99",22002) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) 

Posted
  
function rejoinMe(thePlayer) 
    redirectPlayer(thePlayer,"200.98.128.99",22002) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) 
  

Posted
function rejoinMe() 
    redirectPlayer(source,"200.98.128.99",22002) 
end 
addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) 

Posted

If people post the code but don't explain what he's doing wrong how will he learn something?

onPlayerJoin doesn't have any parameters, source is already the player argument however, you including it overrides it to nil. It's all on the wiki.

9c89c8bb65d81f60d16c6033ea8cce9a.png

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