GameSetPedStat
Description
Sets the value of a specified stat for a pedestrian entity.
function GameSetPedStat(ped, stat, value) --[[ ... ]] end
Parameters
ped:integer- The pedestrian entity whose stat is being modified.stat:integer- The stat to set.value:number- The new value for the specified stat.
Return Values
None.
Example
None.