work's but why my login bugged when i added this
local function setSkull(cid)
to this
if getPlayerStorageValue(cid, 2000) == 1 then
doCreatureSetSkullType(cid,1)
elseif getPlayerStorageValue(cid, 3000) == 1 then
doCreatureSetSkullType(cid,2)
elseif getPlayerStorageValue(cid, 4000) == 1...