- Documentation
- Client functions
- engineGetModelTextureNames
Function
engineGetModelTextureNames
Returns a model's San Andreas texture names (number or name), also the vehicle wheels. A model that is not loaded is pulled in for a moment. Useful for shaders that replace textures.
Syntax
table engineGetModelTextureNames(int|string modelID)Arguments
modelIDint|string- The model.
Returns
A list of names or false.
Example
for _, name in ipairs(engineGetModelTextureNames(411) or {}) do outputChatBox(name) end