Postado Janeiro 27, 2013 12 anos Alguem pode fazer script que o player ganha X item quando loga pela primeira vez? Mais vale a lagrima da derrota doque a Covardia de não ter lutado , Prefiro morrer de Pé do que sempre viver ajoelhado. Kaio santos "soldier killed"
Postado Janeiro 27, 2013 12 anos O player vai ganhar se for com o mesmo ip?Vamos supor o cara criar o char tudo certinho vai la entra,ai dps ele cria otro char entra e ganha de novo? Nto Generations Breve online Quer participar da equip staff? Envie um email PARA [email protected] Explicando PORQUE VC quer ser da staff,e suas abilidades,exemplo mapper....
Postado Janeiro 27, 2013 12 anos Autor sim pode ser Mais vale a lagrima da derrota doque a Covardia de não ter lutado , Prefiro morrer de Pé do que sempre viver ajoelhado. Kaio santos "soldier killed"
Postado Janeiro 27, 2013 12 anos Mano c pode usar o mesmo script do firstitems tá ligado ? só por pra ganhra 1 coisa sóh e mudar as storages caso c num tenha ele ai tá aqui : data\creaturescripts\scripts 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) doAddContainerItem(bag, 2789, 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) doAddContainerItem(bag, 2789, 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) doAddContainerItem(bag, 2789, 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) doAddContainerItem(bag, 2789, 20) 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 Dai c escolhe c eh o mesmo item pra todos só apagar esses ai e deixar só o q vc quer creaturescripts.xml <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> data\creaturescripts\scripts Registro no Login.lua registerCreatureEvent(cid, "FirstItems") í tá ae Espero ter ajudado! Editado Janeiro 27, 2013 12 anos por Fausto32 (veja o histórico de edições) Procuro Equipe para projeto sério com remuneração, maior necessidade Programador em C\C++.
Postado Janeiro 27, 2013 12 anos O player vai ganhar se for com o mesmo ip?Vamos supor o cara criar o char tudo certinho vai la entra,ai dps ele cria otro char entra e ganha de novo? logico né ,so se a script nao tiver um sistema que check o ip do jogador ,nao acho muito bom essa script,seria mais util se colokasse pra ganha x item quando chegasse a um certo level.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.