Native referenceRedM

DOOR_SYSTEM_SET_AUTOMATIC_RATE

0x03C27E13B42A0E82 OBJECT
FUNCTION SIGNATURE
void DOOR_SYSTEM_SET_AUTOMATIC_RATE(Hash doorHash, float rate, BOOL requestDoor, BOOL forceUpdate);
Property Value
Native Name DOOR_SYSTEM_SET_AUTOMATIC_RATE
Hash 0x03C27E13B42A0E82
Return Type void
Build 1207
Parameters doorHash (Hash), rate (float), requestDoor (BOOL), forceUpdate (BOOL)

Description: Includes networking check: ownership vs. or the door itself isn't networked.

Parameters

  • doorHash (Hash) — Door system identifier
  • rate (float)
  • requestDoor (BOOL)
  • forceUpdate (BOOL) — On true invokes DOOR_SYSTEM_SET_DOOR_STATE; otherwise requestDoor is unused.

Usage

Lua (Direct):

DoorSystemSetAutomaticRate(doorHash, rate, requestDoor, forceUpdate)

Lua (Hash):

Citizen.InvokeNative(0x03C27E13B42A0E82, doorHash, rate, requestDoor, forceUpdate)
Back to OBJECT