_0xAFF5BE9BA496CE40
This UIFEED native has no community name yet, so it is known by its hash 0xAFF5BE9BA496CE40. It takes 5 parameters (p0 as Any*, p1 as Any*, p2 as BOOL, p3 as BOOL, collectableCategory as Hash) and returns an int.
Signature
int _0xAFF5BE9BA496CE40(Any* p0, Any* p1, BOOL p2, BOOL p3, Hash collectableCategory); // 0xAFF5BE9BA496CE40 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any* (out pointer) |
| 2 | p1 | Any* (out pointer) |
| 3 | p2 | BOOL |
| 4 | p3 | BOOL |
| 5 | collectableCategory | Hash |
Facts
| Name | _0xAFF5BE9BA496CE40 |
|---|---|
| Hash | 0xAFF5BE9BA496CE40 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, p0, p1 = Citizen.InvokeNative(0xAFF5BE9BA496CE40, -- _0xAFF5BE9BA496CE40
Citizen.PointerValueInt(), -- Any* p0
Citizen.PointerValueInt(), -- Any* p1
false, -- BOOL p2
false, -- BOOL p3
GetHashKey("name"), -- Hash collectableCategory
Citizen.ResultAsInteger()
)
print(result, p0, p1)const [result, p0, p1] = Citizen.invokeNative("0xAFF5BE9BA496CE40", // _0xAFF5BE9BA496CE40
Citizen.pointerValueInt(), // Any* p0
Citizen.pointerValueInt(), // Any* p1
false, // BOOL p2
false, // BOOL p3
GetHashKey("name"), // Hash collectableCategory
Citizen.resultAsInteger()
);
console.log(result, p0, p1)var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
int result = Function.Call<int>((Hash)0xAFF5BE9BA496CE40, // _0xAFF5BE9BA496CE40
p0Arg, // Any* p0
p1Arg, // Any* p1
false, // BOOL p2
false, // BOOL p3
(uint)API.GetHashKey("name") // Hash collectableCategory
);
int p0 = p0Arg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();Related UIFEED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.