networkHasPlayerPassedCheckType
_NETWORK_HAS_PLAYER_PASSED_CHECK_TYPE0x62E29CDA11F9C230The 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.
networkHasPlayerPassedCheckType(checkType: number, gamerHandle: null): booleannetworkHasPlayerPassedCheckType(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
checkType | int | number | integer |
gamerHandle | Any* | null | nil |
Returns
BOOL JavaScript boolean, Lua booleanNotes
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