PedClient

setPedCowerHash

SET_PED_COWER_HASH0xA549131166868ED3

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

SignatureJavaScript
setPedCowerHash(ped: Ped, p1: string): void
SignatureLua
setPedCowerHash(ped: Ped, p1: string)

Usage

JavaScript
setPedCowerHash(ped, p1);
Lua
setPedCowerHash(ped, p1)

Parameters

ParameterTypeJavaScriptLuaDescription
pedPednumberinteger
p1stringstringstringOnly "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

Open in the interactive natives reference