@@SkyDarkyes, tenta assim amigo:
local firstItems = {
[0] = { -- rooker
2173,
2525,
2428,
2124,
2460,
2478,
2643
},
[1] = { -- sorcerer
2173,
2525,
2190,
2124,
2460,
2478,
2643
},
[2] = { -- druid
2173,
2525,
2182,
2124,
2460,
2478,
2643
},
[3] = { -- paladin
2173,
2525,
2389,
2124,
2460,
2478,
2643
},
[4] = { -- knight
2173,
2525,
2428,
2124,
2460,
2478,
2643
}
}
function onLogin(cid)
if getPlayerStorageValue(cid, 30001) == -1 then
for i = 1, #firstItems[getPlayerVocation(cid)] do
doPlayerAddItem(cid, firstItems[getPlayerVocation(cid)][i], 1)
end
if getPlayerSex(cid) == 0 then
doPlayerAddItem(cid, 2465, 1)
else
doPlayerAddItem(cid, 2465, 1)
end
local bag = doPlayerAddItem(cid, 10518, 1)
doAddContainerItem(bag, 2160, 10)
doAddContainerItem(bag, 2554, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 7618, 1)
doAddContainerItem(bag, 2383, 1)
setPlayerStorageValue(cid, 30001, 1)
end
return true
end




info
Grupo: Infante
Registrado: 27/01/13
Posts: 1.7k
Reputação: +104
Gênero: Masculino
Erro :