GET_CLOSEST_PED
Gets the closest ped in a radius.
PEDBuild 1207
Signature
lua
GetClosestPed(0.0, 0.0, 0.0, 0.0, true, true, outPed, true, true, true, 0)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| BOOL | — | |
| BOOL | — | |
| Ped* | — | |
| BOOL | — | |
| BOOL | — | |
| BOOL | — | |
| int | — |
Usage
lua
GetClosestPed(0.0, 0.0, 0.0, 0.0, true, true, outPed, true, true, true, 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Joaat hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
