Overkillz Posted March 8, 2014 Share Posted March 8, 2014 Dear MTA User's IDK why redirect players doesnt work see: - meta.xml "MTA" type="script" version="1.0"/> - redirectxd.lua addEventHandler ('onPlayerJoin', root, function () redirectPlayer (source, '000.000.000.00', 22003) end ) I put a random IP to don't get my Own I hope you can help me Regards. Link to comment
Overkillz Posted March 8, 2014 Author Share Posted March 8, 2014 Yes, it doesnt work. When I join to my server, I didnt get redirect to the other server. Link to comment
Overkillz Posted March 8, 2014 Author Share Posted March 8, 2014 Try onPlayerConnect. Still unworking ;( Link to comment
Overkillz Posted March 8, 2014 Author Share Posted March 8, 2014 Proble fixed, close the thread please Link to comment
Bonsai Posted March 8, 2014 Share Posted March 8, 2014 Proble fixed, close the thread please So, what was the problem? Link to comment
Moderators Citizen Posted March 8, 2014 Moderators Share Posted March 8, 2014 Use double quotes instead of single ones: addEventHandler ("onPlayerJoin", root, function () redirectPlayer (source, "000.000.000.000", 22003) end ) 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