Jump to content

[HELP] Script


1LoL1

Recommended Posts

Hello, i have problem.. i want this:

/setport - outputChatBox("port - location has ben succesfully created")

i use /port - ("You are in /port")

/portoff = i use /port and server say ("/port is off")

/porton = i use /port and i can use command /port.

Who this create and show me i can send 5-10€ - PayPal - Who wants to feel so can also create free :D.

Sorry for my bad english.

function pSet(source, commandName, posX, posY, posZ) 
    local posX, posY, posZ = tonumber(posX), tonumber(posY), tonumber(posZ) 
    if posX and posY and posZ then 
        setElementPosition(source, posX, posY, posZ) 
    else 
        outputChatBox("Use: /setpos x,y,z", source, 255, 0, 0) 
    end 
end 
addCommandHandler("setpos", pSet) 

Edited by Guest
Link to comment

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