_REQUEST_ENTITY_LOOT_LIST
Hash
0xA88E215CEB0435C0Runtime name
RequestEntityLootListNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _REQUEST_ENTITY_LOOT_LIST(Ped mount, Any* argStruct, Hash visiblelootslotrequestType, int flag, int p4, BOOL p5);Parameters
| Name | Type | Description |
|---|---|---|
mount | Ped | — |
argStruct | Any* | — |
visiblelootslotrequestType | Hash | — |
flag | int | — |
p4 | int | — |
p5 | BOOL | — |
Returns BOOL
Usage
local retval, argStruct = RequestEntityLootList(mount, visiblelootslotrequestType, flag, p4, p5)
-- always works, by hash
local retval, argStruct = Citizen.InvokeNative(0xA88E215CEB0435C0, mount, Citizen.PointerValueInt(), visiblelootslotrequestType, flag, p4, p5, Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, argStruct] = RequestEntityLootList(mount, visiblelootslotrequestType, flag, p4, p5);
// by hash
const [retval, argStruct] = Citizen.invokeNative('0xA88E215CEB0435C0', mount, Citizen.pointerValueInt(), visiblelootslotrequestType, flag, p4, p5, Citizen.returnResultAnyway());var argStruct = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xA88E215CEB0435C0, mount, argStruct, visiblelootslotrequestType, flag, p4, p5);
// argStruct.GetResult<int>()- 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`. - Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.