PedClient

applyPedBloodByZone

APPLY_PED_BLOOD_BY_ZONE0x3311E47B91EDCBBC

The 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.

SignatureJavaScript
applyPedBloodByZone(
  ped: Ped,
  p1: number,
  p2: number,
  p3: number,
  p4: string
): void
SignatureLua
applyPedBloodByZone(
  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

ParameterTypeJavaScriptLua
pedPednumberinteger
p1intnumberinteger
p2floatnumbernumber
p3floatnumbernumber
p4stringstringstring

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

Open in the interactive natives reference