Jump to content

[HELP!] redirectPlayer


Bingwin

Recommended Posts

Posted
addCommandHandler("x", 
  function(plr)
      redirectPlayer(plr, "80.72.41.158", 21000)
  end
)

 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted (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 by aka Blue

yDORrdn.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...