Preview
Shared function

setElementPosition

This function sets the position of an element to the specified coordinates.

Syntax

bool setElementPosition ( element theElement, float x, float y, float y, bool warp )

Returns

Returns true if the function was successful, false otherwise.

Issues

  • mtasa-blue #539 : Changing player position when they have a jetpack will remove the jetpack and bug when skin is changed
  • mtasa-blue #529 : Player falls from bike when the bike is teleported using setElementPosition

Examples