applyPedBloodDamageByZone
APPLY_PED_BLOOD_DAMAGE_BY_ZONE0x816F6981C60BF53BThe GTA V native APPLY_PED_BLOOD_DAMAGE_BY_ZONE of the PED namespace, as LS:MP client scripts call it: the global function applyPedBloodDamageByZone, in JavaScript and in Lua.
applyPedBloodDamageByZone(
ped: Ped,
p1: any,
p2: number,
p3: number,
p4: any
): voidapplyPedBloodDamageByZone(
ped: Ped,
p1: any,
p2: number,
p3: number,
p4: any
)Usage
JavaScript
applyPedBloodDamageByZone(ped, p1, p2, p3, p4);Lua
applyPedBloodDamageByZone(ped, p1, p2, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | Any | any | any |
p2 | float | number | number |
p3 | float | number | number |
p4 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void APPLY_PED_BLOOD_DAMAGE_BY_ZONE(Ped ped, Any p1, float p2, float p3, Any p4)- Hash
0x816F6981C60BF53B