GetGamePool — RedM Natives
0x2B9D4F50 · CFX · shared
Returns a list of entity handles (script GUID) for all entities in the specified pool - the data returned is an array as follows: ``json [ 770, 1026, 1282, 1538, 1794, 2050, 2306, 2562, 2818, 3074, 3330, 3586, 3842, 4098, 4354, 4610, ...] ` ### Supported pools CPed: Peds (including animals) and players. CObject: Objects (props), doors, and projectiles. CNetObject: Networked objects CVehicle: Vehicles. * CPickup`: Pickups.
Parameters
| Name | Type | Description |
|---|---|---|
| poolName | char* | The pool name to get a list of entities from. |
Returns
object