_0x302E71C1D9EE75B9
This STATS native has no community name yet, so it is known by its hash 0x302E71C1D9EE75B9. It takes 3 parameters (statId as Any*, p1 as Hash, p2 as int*) and returns a BOOL.
Signature
BOOL _0x302E71C1D9EE75B9(Any* statId, Hash p1, int* p2); // 0x302E71C1D9EE75B9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | statId | Any* (out pointer) |
| 2 | p1 | Hash |
| 3 | p2 | int* (out pointer) |
Facts
| Name | _0x302E71C1D9EE75B9 |
|---|---|
| Hash | 0x302E71C1D9EE75B9 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, statId, p2 = Citizen.InvokeNative(0x302E71C1D9EE75B9, -- _0x302E71C1D9EE75B9
Citizen.PointerValueInt(), -- Any* statId
GetHashKey("name"), -- Hash p1
Citizen.PointerValueInt(), -- int* p2
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, statId, p2] = Citizen.invokeNative("0x302E71C1D9EE75B9", // _0x302E71C1D9EE75B9
Citizen.pointerValueInt(), // Any* statId
GetHashKey("name"), // Hash p1
Citizen.pointerValueInt(), // int* p2
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var statIdArg = new OutputArgument();
var p2Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x302E71C1D9EE75B9, // _0x302E71C1D9EE75B9
statIdArg, // Any* statId
(uint)API.GetHashKey("name"), // Hash p1
p2Arg // int* p2
);
int statId = statIdArg.GetResult<int>();
int p2 = p2Arg.GetResult<int>();Related STATS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.