NetworkClient

usePlayerColourInsteadOfTeamColour

USE_PLAYER_COLOUR_INSTEAD_OF_TEAM_COLOUR0x77758139EC9B66C7

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

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

Usage

JavaScript
usePlayerColourInsteadOfTeamColour(toggle);
Lua
usePlayerColourInsteadOfTeamColour(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void USE_PLAYER_COLOUR_INSTEAD_OF_TEAM_COLOUR(BOOL toggle)
Hash
0x77758139EC9B66C7

Open in the interactive natives reference