NetworkClient

networkSetPlayerMentalState

NETWORK_SET_PLAYER_MENTAL_STATE0x367EF5E2F439B4C6

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

SignatureJavaScript
networkSetPlayerMentalState(p0: number): void
SignatureLua
networkSetPlayerMentalState(p0: integer)

Usage

JavaScript
networkSetPlayerMentalState(p0);
Lua
networkSetPlayerMentalState(p0)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger

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

Open in the interactive natives reference