GetRandomPedAtCoord — FiveM Natives
0x876046A8E3A4B71C · PED · all
`` Gets a random ped in the x/y/zRadius near the x/y/z coordinates passed. Ped Types: Any = -1 Player = 1 Male = 4 Female = 5 Cop = 6 Human = 26 SWAT = 27 Animal = 28 Army = 29 ``
Parameters
| Name | Type |
|---|---|
| x | float |
| y | float |
| z | float |
| xRadius | float |
| yRadius | float |
| zRadius | float |
| pedType | int |
Returns
Ped