mario21 1 Postado Janeiro 31, 2012 Share Postado Janeiro 31, 2012 (editado) me ajuda porfavor olha meu ae <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="firstitems_config"> <![CDATA[ config = { storage = 30001, items = {1988, 1987, 2382, 2120, 2580, 2550, 7385, 2395, 2547} -- 7385 (pokeinfo) ok -- 2395 (portfoil) ok -- 2382 (pokedex) ok -- 2547 (coin case) ok -- 2550 (order) ok -- 1987 (bag) ok -- 1988 (badge case) ok -- 2120 (rope) ok -- 2580 (fishing rod) ok } ]]> </config> <event type="login" name="FirstItems" event="script"> <![CDATA[ domodlib('firstitems_config') function onLogin(cid) if getCreatureName(cid) == "Account Manager" then doSetCreatureOutfit(cid, {lookType = 655}, -1) return true end if getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid > 0 then return true end for _, id in ipairs(config.items) do doPlayerAddItem(cid, id, 1) end local bag = getPlayerItemById(cid, false, 1988).uid doAddContainerItem(bag, 12267, 1) doAddContainerItem(bag, 12266, 1) doAddContainerItem(bag, 12264, 1) doAddContainerItem(bag, 12265, 1) doAddContainerItem(bag, 12263, 1) doAddContainerItem(bag, 12262, 1) doAddContainerItem(bag, 12261, 1) doAddContainerItem(bag, 12260, 1) return true end ]]></event> </mod> pq nao ta dando para os players terem bag etc tipo tenho a foto olha ae http://img515.imageshack.us/img515/5600/imagemlf.png Editado Fevereiro 1, 2012 por mario21 Link para o comentário https://xtibia.com/forum/topic/179598-me-ajuda-plx-nao-to-consiguindo-arrumar-o-firstitems/ Compartilhar em outros sites More sharing options...
MatheusEnjoy 70 Postado Fevereiro 1, 2012 Share Postado Fevereiro 1, 2012 Se não me engano e porque o distro esta configurado assim. Não há erro nenhum. Link para o comentário https://xtibia.com/forum/topic/179598-me-ajuda-plx-nao-to-consiguindo-arrumar-o-firstitems/#findComment-1191272 Compartilhar em outros sites More sharing options...
mario21 1 Postado Fevereiro 1, 2012 Autor Share Postado Fevereiro 1, 2012 ja tirei tudo isso mano me ajuda ae olha como ta agora <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="firstitems_config"> <![CDATA[ config = { storage = 30001, items = {1988, 1987, 2382, 2120, 2580, 2550, 7385, 2395, 2547} -- 7385 -- 2395 -- 2382 -- 2547 -- 2550 -- 1987 -- 1988 -- 2120 -- 2580 ]]> </config> <event type="login" name="FirstItems" event="script"> <![CDATA[ domodlib('firstitems_config') function onLogin(cid) if getCreatureName(cid) == "Account Manager" then doSetCreatureOutfit(cid, {lookType = 655}, -1) return true end if getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid > 0 then return true end for _, id in ipairs(config.items) do doPlayerAddItem(cid, id, 1) end local bag = getPlayerItemById(cid, false, 1988).uid doAddContainerItem(bag, 12267, 1) doAddContainerItem(bag, 12266, 1) doAddContainerItem(bag, 12264, 1) doAddContainerItem(bag, 12265, 1) doAddContainerItem(bag, 12263, 1) doAddContainerItem(bag, 12262, 1) doAddContainerItem(bag, 12261, 1) doAddContainerItem(bag, 12260, 1) return true end ]]></event> </mod> Link para o comentário https://xtibia.com/forum/topic/179598-me-ajuda-plx-nao-to-consiguindo-arrumar-o-firstitems/#findComment-1191531 Compartilhar em outros sites More sharing options...
SkyDangerous 395 Postado Fevereiro 1, 2012 Share Postado Fevereiro 1, 2012 Sabe que iwso e um mod ne? Deve por na pasta mod , senao nao vai funcionar. Link para o comentário https://xtibia.com/forum/topic/179598-me-ajuda-plx-nao-to-consiguindo-arrumar-o-firstitems/#findComment-1191541 Compartilhar em outros sites More sharing options...
mario21 1 Postado Fevereiro 1, 2012 Autor Share Postado Fevereiro 1, 2012 eu coloquei la mais nao ta dando Link para o comentário https://xtibia.com/forum/topic/179598-me-ajuda-plx-nao-to-consiguindo-arrumar-o-firstitems/#findComment-1191566 Compartilhar em outros sites More sharing options...
Posts Recomendados