NetworkClient

networkPlayerGetCheaterReason

NETWORK_PLAYER_GET_CHEATER_REASON0x172F75B6EE2233BA

The GTA V native NETWORK_PLAYER_GET_CHEATER_REASON of the NETWORK namespace, as LS:MP client scripts call it: the global function networkPlayerGetCheaterReason, in JavaScript and in Lua.

SignatureJavaScript
networkPlayerGetCheaterReason(): number
SignatureLua
networkPlayerGetCheaterReason(): integer

Usage

JavaScript
const result = networkPlayerGetCheaterReason();
Lua
local result = networkPlayerGetCheaterReason()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int NETWORK_PLAYER_GET_CHEATER_REASON()
Hash
0x172F75B6EE2233BA
Formerly
_NETWORK_PLAYER_IS_UNK

Open in the interactive natives reference