ESX.Game.GetClosestPed¶
1 | ESX.Game.GetClosestPed(coords, ignoreList) |
This function gets the closest ped.
Arguments¶
| Argument | Data Type | Optional | Default Value | Explanation |
|---|---|---|---|---|
| coords | table | No | - | A whitelist table with object names |
| ignoreList | table | Yes | {} | An table of peds to ignore |