GameGetPedStat
Description
Gets the value of a specified stat for a pedestrian entity.
function GameGetPedStat(ped, stat) --[[ ... ]] end
Parameters
ped
:integer
- The pedestrian entity whose stat value is being queried.stat
:integer
- The stat to retrieve.
Return Values
stat
:integer
- The value of the specified ped stat.
Example
None.