NetworkClient

networkApplyVoiceProximityOverride

NETWORK_APPLY_VOICE_PROXIMITY_OVERRIDE0xDBD2056652689917

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

SignatureJavaScript
networkApplyVoiceProximityOverride(x: number, y: number, z: number): void
SignatureLua
networkApplyVoiceProximityOverride(x: number, y: number, z: number)

Usage

JavaScript
networkApplyVoiceProximityOverride(x, y, z);
Lua
networkApplyVoiceProximityOverride(x, y, z)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
networkApplyVoiceProximityOverride(pos);
Lua · with vectors
networkApplyVoiceProximityOverride(pos)

Parameters

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_APPLY_VOICE_PROXIMITY_OVERRIDE(float x, float y, float z)
Hash
0xDBD2056652689917
Formerly
IS_NETWORK_VEHICLE_BEEN_DAMAGED_BY_ANY_OBJECT

Open in the interactive natives reference