Object::setDoorAjarAngle

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Sets the ajar angle of a door.
Ranges from -1.0 to 1.0, and 0.0 is closed / default.

p2 is always false, p3 is always true.

Syntax

mp.game.object.setDoorAjarAngle(doorHash, ajar, p2, p3);

Required Arguments

  • doorHash: Model hash or name
  • ajar: float
  • p2: Boolean
  • p3: Boolean

Return value

  • Undefined

Example

// todo

See also