setPedCowerHash
SET_PED_COWER_HASH0xA549131166868ED3The GTA V native SET_PED_COWER_HASH of the PED namespace, as LS:MP client scripts call it: the global function setPedCowerHash, in JavaScript and in Lua.
setPedCowerHash(ped: Ped, p1: string): voidsetPedCowerHash(ped: Ped, p1: string)Usage
JavaScript
setPedCowerHash(ped, p1);Lua
setPedCowerHash(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
ped | Ped | number | integer | |
p1 | string | string | string | Only "CODE_HUMAN_STAND_COWER" found in the b617d scripts. |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_COWER_HASH(Ped ped, const char* p1)- Hash
0xA549131166868ED3