InteriorClient

setInteriorEntitySetTintIndex

SET_INTERIOR_ENTITY_SET_TINT_INDEX0xC1F1920BAF281317

The GTA V native SET_INTERIOR_ENTITY_SET_TINT_INDEX of the INTERIOR namespace, as LS:MP client scripts call it: the global function setInteriorEntitySetTintIndex, in JavaScript and in Lua.

SignatureJavaScript
setInteriorEntitySetTintIndex(
  interior: Interior,
  entitySetName: string,
  color: number
): void
SignatureLua
setInteriorEntitySetTintIndex(
  interior: Interior,
  entitySetName: string,
  color: integer
)

Usage

JavaScript
setInteriorEntitySetTintIndex(interior, entitySetName, color);
Lua
setInteriorEntitySetTintIndex(interior, entitySetName, color)

Parameters

ParameterTypeJavaScriptLua
interiorInteriornumberinteger
entitySetNamestringstringstring
colorintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Full list of IPLs and interior entity sets by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ipls.json

Reference

Namespace
Interior INTERIOR
In the game
void SET_INTERIOR_ENTITY_SET_TINT_INDEX(Interior interior, const char* entitySetName, int color)
Hash
0xC1F1920BAF281317
Introduced
Game build 877 legacy numbering
Formerly
_SET_INTERIOR_PROP_COLOR _SET_INTERIOR_ENTITY_SET_COLOR

Open in the interactive natives reference