_0x755901C7598B97BC
Returns p2 (index?) for 0xB9020EC89C07DF04
Hash
0x755901C7598B97BCRuntime name
N_0x755901c7598b97bcNamespaceCOLLECTABLE
SideClient
NameHash only
Docs
Since build1207
Signature
int _0x755901C7598B97BC(Hash collectableCategory, int p1);Parameters
| Name | Type | Description |
|---|---|---|
collectableCategory | Hash | — |
p1 | int | — |
Returns int
Description
Returns p2 (index?) for 0xB9020EC89C07DF04
Usage
local retval = N_0x755901c7598b97bc(collectableCategory, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x755901C7598B97BC, collectableCategory, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = N_0x755901c7598b97bc(collectableCategory, p1);
// by hash
const retval = Citizen.invokeNative('0x755901C7598B97BC', collectableCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x755901C7598B97BC, collectableCategory, p1);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - This native has no known name, so the runtime exposes it only as
N_0x755901c7598b97bc(if present in the client snapshot).InvokeNativewith the hash always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.