Namespace: CFXAPI set: server
GET_ALL_PEDS
// GetAllPeds
object GET_ALL_PEDS();
Returns: An object containing a list of peds handles.
Returns all peds handles known to the server.
The data returned adheres to the following layout:
[127, 42, 13, 37]
WARNING! Server natives in the CFX namespace are taken directly from FiveM. Most of server-side game state related natives are NOT AVAILABLE in RedM!