GET_NUM_RESOURCES
Signature
int GET_NUM_RESOURCES();Returns int
Usage
local retval = GetNumResources()
-- always works, by hash
local retval = Citizen.InvokeNative(0x863f27b, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumResources();
// by hash
const retval = Citizen.invokeNative('0x863f27b', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x863f27b);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.