Jump to content

getElementPosition & setElementPosition


Sky4D

Recommended Posts

Hi, i'd like to thank the active users on this forum for helping me with all my problems.. well, now onto my current problem. (X_X)

Error:

Bad argument @ 'getElementPosition'

The code on that line:

local x,y,z = getElementPosition(thePlayer)

Link to comment
That would be a bad argument @ 'getElementPosition'.

Basically, 'thePlayer' variable you specified is not a valid element.

Can you post more of your code?

I've actually figured it out, it's because I haven't made a Unique ID system yet, so it literally cannot work. It was for a /goto command.

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