NetworkClient

networkSetProximityAffectsTeam

NETWORK_SET_PROXIMITY_AFFECTS_TEAM0x9D7AFCBF21C51712

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

SignatureJavaScript
networkSetProximityAffectsTeam(toggle: boolean): void
SignatureLua
networkSetProximityAffectsTeam(toggle: boolean)

Usage

JavaScript
networkSetProximityAffectsTeam(toggle);
Lua
networkSetProximityAffectsTeam(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_PROXIMITY_AFFECTS_TEAM(BOOL toggle)
Hash
0x9D7AFCBF21C51712

Open in the interactive natives reference