Ir para conteúdo
Faça parte da equipe! (2024) ×
Conheça nossa Beta Zone! Novas áreas a caminho! ×

  • Quem está por aqui   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.

[AJUDA] Itens iniciais OT 9.6 Global


vinyowned
 Compartilhar

Posts Recomendados

Galera, alguém ai pode me ajudar ?

Estou querendo mudar os itens iniciais no meu ot 9.6 mas não consigo e nem encontro tópico algum que explique isso.

Quem pode me explicar como funciona ?

 

Agradeço.

 

(melhor resposta ganha +reply)

 

Aqui como está o firstitems.lua:

 

 

function onLogin(cid)

if getPlayerGroupId(cid) == 1 and getPlayerStorageValue(cid, 50000) == -1 then

if isSorcerer(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

 

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2190, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

 

elseif isDruid(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2182, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

 

elseif isPaladin(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2389, 3)

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2643, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2463, 1)

setPlayerStorageValue(cid, 50000, 1)

 

elseif isKnight(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

doAddContainerItem(bag, 8601, 1)

doAddContainerItem(bag, 2383, 1)

doAddContainerItem(bag, 2417, 1)

 

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

end

end

return TRUE

end

Link para o comentário
Compartilhar em outros sites

Este tópico está impedido de receber novos posts.
 Compartilhar

×
×
  • Criar Novo...

Informação Importante

Nós fazemos uso de cookies no seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies , caso contrário, vamos supor que você está bem para continuar.