GraphicsClient

setNextPlayerTcmodifier

SET_NEXT_PLAYER_TCMODIFIER0xBF59707B3E5ED531

The GTA V native SET_NEXT_PLAYER_TCMODIFIER of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setNextPlayerTcmodifier, in JavaScript and in Lua.

SignatureJavaScript
setNextPlayerTcmodifier(modifierName: string): void
SignatureLua
setNextPlayerTcmodifier(modifierName: string)

Usage

JavaScript
setNextPlayerTcmodifier(modifierName);
Lua
setNextPlayerTcmodifier(modifierName)

Parameters

ParameterTypeJavaScriptLua
modifierNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_NEXT_PLAYER_TCMODIFIER(const char* modifierName)
Hash
0xBF59707B3E5ED531

Open in the interactive natives reference