setPedUpperBodyDamageOnly
SET_PED_UPPER_BODY_DAMAGE_ONLY0xAFC976FD0580C7B3The GTA V native SET_PED_UPPER_BODY_DAMAGE_ONLY of the PED namespace, as LS:MP client scripts call it: the global function setPedUpperBodyDamageOnly, in JavaScript and in Lua.
setPedUpperBodyDamageOnly(ped: Ped, toggle: boolean): voidsetPedUpperBodyDamageOnly(ped: Ped, toggle: boolean)Usage
JavaScript
setPedUpperBodyDamageOnly(ped, toggle);Lua
setPedUpperBodyDamageOnly(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_UPPER_BODY_DAMAGE_ONLY(Ped ped, BOOL toggle)- Hash
0xAFC976FD0580C7B3