setInteriorEntitySetTintIndex
SET_INTERIOR_ENTITY_SET_TINT_INDEX0xC1F1920BAF281317The 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.
setInteriorEntitySetTintIndex(
interior: Interior,
entitySetName: string,
color: number
): voidsetInteriorEntitySetTintIndex(
interior: Interior,
entitySetName: string,
color: integer
)Usage
JavaScript
setInteriorEntitySetTintIndex(interior, entitySetName, color);Lua
setInteriorEntitySetTintIndex(interior, entitySetName, color)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
interior | Interior | number | integer |
entitySetName | string | string | string |
color | int | number | integer |
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