NetworkClient

networkHasHeadset

NETWORK_HAS_HEADSET0xE870F9F1F7B4F1FA

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

SignatureJavaScript
networkHasHeadset(): boolean
SignatureLua
networkHasHeadset(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAS_HEADSET()
Hash
0xE870F9F1F7B4F1FA

Open in the interactive natives reference