function onLogin(cid)
local access = getPlayerAccess(cid)
local outfits = {
[3] = 75,
[4] = 266,
[5] = 302
}
if (outfits[access]) then
doSetCreatureOutfit(cid, outfits[access], -1)
end
return true
end
It's look type, not addon. Anyway...
Code:function onLogin(cid) local access = getPlayerAccess(cid) local outfits = { [3] = 75, [4] = 266, [5] = 302 } if (outfits[access]) then doSetCreatureOutfit(cid, outfits[access], -1) end return true end
wwhere to set it?![]()
./data/creaturescripts/scripts/