Object::setDoorAccelerationLimit

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Sets the acceleration limit of a door.
How fast it can open, or the inverse hinge resistance.

A limit of 0 seems to lock doors.

p2 is always 0, p3 is always 1.

Syntax

mp.game.object.setDoorAccelerationLimit(doorHash, limit, p2, p3);

Required Arguments

  • doorHash: Model hash or name
  • limit: int
  • p2: Boolean
  • p3: Boolean

Return value

  • Undefined

Example

// todo

See also