GraphicsClient

setCurrentPlayerTcmodifier

SET_CURRENT_PLAYER_TCMODIFIER0xBBF327DED94E4DEB

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

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

Usage

JavaScript
setCurrentPlayerTcmodifier(modifierName);
Lua
setCurrentPlayerTcmodifier(modifierName)

Parameters

ParameterTypeJavaScriptLua
modifierNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_CURRENT_PLAYER_TCMODIFIER(const char* modifierName)
Hash
0xBBF327DED94E4DEB

Open in the interactive natives reference