DOOR_SYSTEM_GET_SIZE
Signature
int DOOR_SYSTEM_GET_SIZE();Returns int — The number of doors registered in the system
Usage
local retval = DoorSystemGetSize()
-- always works, by hash
local retval = Citizen.InvokeNative(0x237613b3, Citizen.ResultAsInteger())JavaScript and C#
const retval = DoorSystemGetSize();
// by hash
const retval = Citizen.invokeNative('0x237613b3', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x237613b3);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.