Hello i'm using tfs 0.2 and i use this command for change outfits
but when i relog the player have his old outfit, how can i insert the looktype on the sql data base or change the outfit permanent after relog too?
Lua:
function onUse(cid, item, frompos, item2, topos)
local outfit = {lookType=285,lookHead=0,lookAddons=0,lookLegs=0,lookBody=0,lookFeet=0}
doSetCreatureOutfit(cid, outfit, -1)
end
but when i relog the player have his old outfit, how can i insert the looktype on the sql data base or change the outfit permanent after relog too?