PedShowHealthBar
Description
The first boolean determines the HealthBar Type, where false is the ground HealthBar, while true is whatever's determined by the second boolean. The second boolean determines HealthBar Style, where false is the ally HealthBar, while true is the boss HealthBar.
function PedShowHealthBar(id, type, name, style) --[[ ... ]] end
Parameters
id
:integer
- Ped ID.type
:boolean
- HealthBar Type.name
:string
- Ped name.style
:boolean
- HealthBar Style.
Return Values
None.
Example
PedShowHealthBar(0, true, "N_Jimmy", true) -- the 0 on the first is the model and the N_Jimmy is the Model name
See Also
- Game's Native