GET_MATCHING_ENTITIES
Hash
0x84CCF9A12942C83DRuntime name
GetMatchingEntitiesNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
Signature
int GET_MATCHING_ENTITIES(Volume volume, ItemSet itemSet, int entityType, Any p3, Hash p4, const char* p5);Parameters
| Name | Type | Description |
|---|---|---|
volume | Volume | — |
itemSet | ItemSet | — |
entityType | int | — |
p3 | Any | — |
p4 | Hash | — |
p5 | const char* | — |
Returns int
Usage
local retval = GetMatchingEntities(volume, itemSet, entityType, p3, p4, p5)
-- always works, by hash
local retval = Citizen.InvokeNative(0x84CCF9A12942C83D, volume, itemSet, entityType, p3, p4, p5, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetMatchingEntities(volume, itemSet, entityType, p3, p4, p5);
// by hash
const retval = Citizen.invokeNative('0x84CCF9A12942C83D', volume, itemSet, entityType, p3, p4, p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x84CCF9A12942C83D, volume, itemSet, entityType, p3, p4, p5);- 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.