RedM Natives

DOOR_SYSTEM_GET_SIZE

Hash0x237613B3
Runtime nameDoorSystemGetSize
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

int DOOR_SYSTEM_GET_SIZE();

Returns int — The number of doors registered in the system

Usage

Lua
local retval = DoorSystemGetSize()

-- always works, by hash
local retval = Citizen.InvokeNative(0x237613b3, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = DoorSystemGetSize();

// by hash
const retval = Citizen.invokeNative('0x237613b3', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x237613b3);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.