koeno100 Posted July 17, 2015 Share 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? Link to comment
Markeloff Posted July 17, 2015 Share Posted July 17, 2015 https://wiki.multitheftauto.com/wiki/RedirectPlayer Link to comment
topred Posted July 17, 2015 Share 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" 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