networkSetProximityAffectsTeam
NETWORK_SET_PROXIMITY_AFFECTS_TEAM0x9D7AFCBF21C51712The 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.
networkSetProximityAffectsTeam(toggle: boolean): voidnetworkSetProximityAffectsTeam(toggle: boolean)Usage
JavaScript
networkSetProximityAffectsTeam(toggle);Lua
networkSetProximityAffectsTeam(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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