networkSetPlayerMentalState
NETWORK_SET_PLAYER_MENTAL_STATE0x367EF5E2F439B4C6The GTA V native NETWORK_SET_PLAYER_MENTAL_STATE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetPlayerMentalState, in JavaScript and in Lua.
networkSetPlayerMentalState(p0: number): voidnetworkSetPlayerMentalState(p0: integer)Usage
JavaScript
networkSetPlayerMentalState(p0);Lua
networkSetPlayerMentalState(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p0 in the decompiled scripts is always the stat mesh_texblend * 0.07 to int
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_PLAYER_MENTAL_STATE(int p0)- Hash
0x367EF5E2F439B4C6