2Dope Posted July 22, 2011 Share Posted July 22, 2011 So i need some help , I made a new server dedi with new ip , And i need a script to put in , Something like onPlayerLogin Then to redirect them to an IP. IF you could help thatd be amazing ,thanks Link to comment
2Dope Posted July 22, 2011 Author Share Posted July 22, 2011 Like this? event onPlayerLogin() redirectPlayer(client, "174.34.131.139", getServerPort(), getServerPassword()) Link to comment
Uisaqin Posted July 22, 2011 Share Posted July 22, 2011 addEventHandler("onPlayerLogin", root, function() redirectPlayer(source, "174.34.131.139", getServerPort(), getServerPassword()) end) obviously if its a different port or password youll need to change them Link to comment
qaisjp Posted July 23, 2011 Share Posted July 23, 2011 addEventHandler("onPlayerJoin", root, function() redirectPlayer(source, "174.34.131.139", getServerPort(), getServerPassword()) end) obviously if its a different port or password youll need to change them 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