Samy_Romafia Posted February 1, 2012 Share Posted February 1, 2012 I have changed recently the server ip, how can i do, if a player enter in a old host, to redict it in new host/ip? Link to comment
0 Castillo Posted February 1, 2012 Share Posted February 1, 2012 You must use the function: https://wiki.multitheftauto.com/wiki/RedirectPlayer So example: local serverIP = "127.0.0.1" local serverPort = "22003" addEventHandler("onPlayerJoin",root, function () redirectPlayer (source, serverIP, tonumber(serverPort)) end) That's a server-side script. Link to comment
Question
Samy_Romafia
I have changed recently the server ip, how can i do, if a player enter in a old host, to redict it in new host/ip?
Link to comment
1 answer to this question
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