WorldGetAllPeds Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets all Peds currently in the game world.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Ped[] GetAllPeds()

Return Value

Type: Ped
An array of all Peds currently in the game world.
Remarks

This method only returns valid instances, so it is not necessary to validate the peds before calling their members, unless the fiber it was called on has yielded since the call.
See Also

Reference