GET_NUMBER_OF_FREE_STACKS_OF_THIS_SIZE
Hash
0x40DC2907A9697EF7Runtime name
GetNumberOfFreeStacksOfThisSizeNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xFEAD16FC8F9DFC0FSignature
int GET_NUMBER_OF_FREE_STACKS_OF_THIS_SIZE(int stackSize);Parameters
| Name | Type | Description |
|---|---|---|
stackSize | int | — |
Returns int
Usage
local retval = GetNumberOfFreeStacksOfThisSize(stackSize)
-- always works, by hash
local retval = Citizen.InvokeNative(0x40DC2907A9697EF7, stackSize, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumberOfFreeStacksOfThisSize(stackSize);
// by hash
const retval = Citizen.invokeNative('0x40DC2907A9697EF7', stackSize, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x40DC2907A9697EF7, stackSize);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.