Jump to content

Script warp


pcisoft

Recommended Posts

Hello,

I created bases and want to teleport to them by a simple command

what can I do ?

teleporting need to be per groups

Thanks!!!

addCommandHandler("go", function (source) 
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Group")) then 
setElementPosition(x, y, z) 
else 
outputChatBox("text...", source, 255, 255, 255, true) 
end) 

Link to comment
  • 1 month later...

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...