Object::slide

From RAGE Multiplayer Wiki
Revision as of 23:42, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns true if the object has finished moving.

If false, moves the object towards the specified X, Y and Z coordinates with the specified X, Y and Z speed.

See also: gtag.gtagaming.com/opcode-database/opcode/034E/

-- also see (fivem.net/)

Syntax

object.slide(toX, toY, toZ, speedX, speedY, speedZ, collision);

Required Arguments

  • toX: float
  • toY: float
  • toZ: float
  • speedX: float
  • speedY: float
  • speedZ: float
  • collision: Boolean

Return value

  • Boolean

Example

// todo

See also

  • [[Object::disableGlow|mp.game.object.disableGlow