Tenta esse:
local firstItems = {}
firstItems[0] =
{
2173,
2525,
2428,
2124,
2460,
2478,
2643
}
firstItems[1] =
{
2173,
2542,
2464,
2124,
2458,
2648,
7892
}
firstItems[2] =
{
2173,
2539,
2124,
2486,
3970,
7464,
7891
}
firstItems[3] =
{
2173,
2512,
2124,
2467,
7903,
2649,
7457
}
firstItems[4] =
{
2645,
2647,
2463,
2460,
2513,
2173,
2124
}
function onLogin(cid)
if getPlayerStorageValue(cid, 30001) == -1 then
for i = 1, table.maxn(firstItems[getPlayerVocation(cid)]) do
doPlayerAddItem(cid, firstItems[getPlayerVocation(cid)], 1)
end
if getPlayerSex(cid) == 0 then
doPlayerAddItem(cid, 2175, 1)
else
doPlayerAddItem(cid, 2175, 1)
end
local bag = doPlayerAddItem(cid, 1988, 1)
doAddContainerItem(bag, 2795, 20)
doAddContainerItem(bag, 2152, 10)
doAddContainerItem(bag, 2173, 1)
doAddContainerItem(bag, 2120, 1)
doAddContainerItem(bag, 2554, 1)
setPlayerStorageValue(cid, 30001, 1)
end
return TRUE
end


info
Grupo: Campones
Registrado: 15/02/08
Posts: 72
Reputação: 0
Pessoal estou tendo um problema no OT, os players estao vindo pelados?!?!?!?
Ta assim meus códigos
Porem os player vem sem itens? Eu uso Gesior no meu ot.