- Documentation
- Client functions
- getMeshObjectColor
Function
getMeshObjectColor
Returns a model object's colour or false when it has the default material.
Syntax
int, int, int getMeshObjectColor(meshobject meshObject)Arguments
meshObjectmeshobject- The object.
Returns
r, g, b or false.
Example
local r, g, b = getMeshObjectColor(statue)