applyPedBloodByZone
APPLY_PED_BLOOD_BY_ZONE0x3311E47B91EDCBBCThe GTA V native APPLY_PED_BLOOD_BY_ZONE of the PED namespace, as LS:MP client scripts call it: the global function applyPedBloodByZone, in JavaScript and in Lua.
applyPedBloodByZone(
ped: Ped,
p1: number,
p2: number,
p3: number,
p4: string
): voidapplyPedBloodByZone(
ped: Ped,
p1: integer,
p2: number,
p3: number,
p4: string
)Usage
JavaScript
applyPedBloodByZone(ped, p1, p2, p3, p4);Lua
applyPedBloodByZone(ped, p1, p2, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | int | number | integer |
p2 | float | number | number |
p3 | float | number | number |
p4 | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void APPLY_PED_BLOOD_BY_ZONE(Ped ped, int p1, float p2, float p3, const char* p4)- Hash
0x3311E47B91EDCBBC