Bingwin Posted November 6, 2016 Share Posted November 6, 2016 addCommandHandler("x", function(plr) redirectPlayer(plr, "mtasa://80.72.41.158", 21000) end) --80.72.41.158:21000 please help Link to comment
Walid Posted November 6, 2016 Share Posted November 6, 2016 addCommandHandler("x", function(plr) redirectPlayer(plr, "80.72.41.158", 21000) end ) Link to comment
Bingwin Posted November 7, 2016 Author Share Posted November 7, 2016 (edited) 1 hour ago, Walid said: addCommandHandler("x", function(plr) redirectPlayer(plr, "80.72.41.158", 21000) end ) DB3 http://imgur.com/2SeuxUw Edited November 7, 2016 by Bingwin Link to comment
aka Blue Posted November 7, 2016 Share Posted November 7, 2016 (edited) Obviously, this function require admin rights. You must need to add the resource to admin acl group or add this to your meta.xml to allow it: <aclrequest> <right name="function.redirectPlayer" access="true"/> </aclrequest> If you use the second option, refresh resource and write aclrequest allow resource_name all to allow the use of the function Edited November 7, 2016 by aka Blue 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