Death Posted February 15, 2014 Posted February 15, 2014 Not work function rejoinMe(source) redirectPlayer(source,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe )
Anubhav Posted February 15, 2014 Posted February 15, 2014 function rejoinMe(thePlayer) redirectPlayer(thePlayer,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe )
Sasu Posted February 15, 2014 Posted February 15, 2014 function rejoinMe() redirectPlayer(source,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe )
Smart. Posted February 15, 2014 Posted February 15, 2014 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.
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