Death Posted February 15, 2014 Share Posted February 15, 2014 Not work function rejoinMe(source) redirectPlayer(source,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) Link to comment
Anubhav Posted February 15, 2014 Share Posted February 15, 2014 function rejoinMe(thePlayer) redirectPlayer(thePlayer,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) Link to comment
Moderators Citizen Posted February 15, 2014 Moderators Share Posted February 15, 2014 function rejoinMe() Link to comment
Sasu Posted February 15, 2014 Share Posted February 15, 2014 function rejoinMe() redirectPlayer(source,"200.98.128.99",22002) end addEventHandler ( "onPlayerJoin", getRootElement(), rejoinMe ) Link to comment
Smart. Posted February 15, 2014 Share 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. Link to comment
~DarkRacer~ Posted February 15, 2014 Share Posted February 15, 2014 /debugscript 3 ?? 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