NetworkClientNot in this build

networkHasPlayerPassedCheckType

_NETWORK_HAS_PLAYER_PASSED_CHECK_TYPE0x62E29CDA11F9C230

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

SignatureJavaScript
networkHasPlayerPassedCheckType(checkType: number, gamerHandle: null): boolean
SignatureLua
networkHasPlayerPassedCheckType(checkType: integer, gamerHandle: nil): boolean
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const result = networkHasPlayerPassedCheckType(checkType, null);
Lua
local result = networkHasPlayerPassedCheckType(checkType, nil)

Parameters

ParameterTypeJavaScriptLua
checkTypeintnumberinteger
gamerHandleAny*nullnil

Returns

BOOL JavaScript boolean, Lua boolean

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

_NETWORK_HAS_P*
checkType 3 is similar as using 0x9F633448E4C73207

Reference

Namespace
Network NETWORK
In the game
BOOL _NETWORK_HAS_PLAYER_PASSED_CHECK_TYPE(int checkType, Any* gamerHandle)
Hash
0x62E29CDA11F9C230
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference