mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 2.5 - http://otclient.net/showthread.php?tid=238
This commit is contained in:
@@ -168,3 +168,9 @@ function Creature:onIconChange(iconId)
|
||||
self:setIconTexture(imagePath)
|
||||
end
|
||||
end
|
||||
|
||||
function Creature:setOutfitShader(shader)
|
||||
local outfit = self:getOutfit()
|
||||
outfit.shader = shader
|
||||
self:setOutfit(outfit)
|
||||
end
|
||||
|
Reference in New Issue
Block a user