koeno100 Posted July 17, 2015 Posted July 17, 2015 Hi guys, I own a server and I've recently switched hosts because the old host was crap. Now, and I've seen this in other server, what function do I use so people get automatically forwarded to the new server IP once they join the old server?
Markeloff Posted July 17, 2015 Posted July 17, 2015 https://wiki.multitheftauto.com/wiki/RedirectPlayer Some people want it to happen, some wish it would happen, others make it happen.
topred Posted July 17, 2015 Posted July 17, 2015 addEventHandler ('onPlayerJoin', root, function () redirectPlayer (source, 'newserverip', newport) end ) Run this code on your old server, and of course replace "newserverip" and "newport" Youtube Channel -https://www.youtube.com/channel/UC_aL_VM2j9ma0uIPVIiXykw
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