PE

Acc Manager

Por pedroportela, 07 de dez. de 2008 em Archived

2
425
pedroportelaP
07 de dezembro de 2008 às 21:33

Alguem ajuda ai como muda itens pra ocmeçar jogando!!!!! Vlws!

marcaodailhaM
07 de dezembro de 2008 às 22:01

Procure na pasta do teu ot por creaturescripts:

 

pasta do ot > data > Creaturescripts

 

Depois procure por firstitems.lua:

 

pasta do ot > data > Creaturescripts > scripts > firstitems

 

Abra o arquivo firstitems.lua com bloco de notas.

Deve ter algo assim:

 

local firstItems =

{

2050,

2382

}

 

function onLogin(cid)

if getPlayerStorageValue(cid, 30001) == -1 then

for i = 1, table.maxn(firstItems) do

doPlayerAddItem(cid, firstItems, 1)

end

if getPlayerSex(cid) == 0 then

doPlayerAddItem(cid, 2651, 1)

else

doPlayerAddItem(cid, 2650, 1)

end

local bag = doPlayerAddItem(cid, 1988, 1)

doAddContainerItem(bag, 2463, 1)

doAddContainerItem(bag, 2647, 1)

doAddContainerItem(bag, 2457, 1)

doAddContainerItem(bag, 2525, 1)

doAddContainerItem(bag, 2643, 1)

doAddContainerItem(bag, 8602, 1)

doAddContainerItem(bag, 2389, 100)

doAddContainerItem(bag, 2190, 1)

doAddContainerItem(bag, 2182, 1)

doAddContainerItem(bag, 2160, 1)

doAddContainerItem(bag, 8601, 1)

doAddContainerItem(bag, 7414, 1)

setPlayerStorageValue(cid, 30001, 1)

end

return TRUE

end

 

Todos os numeros em negrito são equips e podem ser configurados a seu gosto.

Lembrando que sempre é bom fazer um back up do arquivo antes de mexer nele porque caso der merda é só trocar pelo arquivo original. :)

 

Grande abraço!