Postado Abril 15, 2015 10 anos É meu caro @Baltazar, Como estou utilizando a source 9.8-86, e estou gostando muito dela, não achei maneiras de fazer a pasta "mods" funcionar, nem criando ela, nem copiando de outro otserver, acredito que deve ter em algum lugar, um comando ao qual ative essa pasta mods e seus scripts, e no meu source esse comando não existe. Eu consegui editando o arquivo do diretorio Data\CreatureScripts\Scripts\FirstItem. Caso isso ajude alguem, com o mesmo problema, segue o script ao qual estou utilizando nesse momento: local firstItems = {} firstItems[0] = { 2173, 3974, 2392, 2123, 2128, 2643 } firstItems[1] = { 2508, 2661, 2217, 2190, 2124, 2662, 2643 } firstItems[2] = { 2508, 2661, 2217, 2182, 2124, 2662, 2643 } firstItems[3] = { 2661, 2481, 2389, 3968, 3975, 2124, 2643 } firstItems[4] = { 2661, 2457, 8602, 2463, 3974, 2124, 2643 } 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, 2478) else doPlayerAddItem(cid, 0) end local bag = doPlayerAddItem(cid, 1988, 1) doAddContainerItem(bag, 2789, 15) doAddContainerItem(bag, 2554, 1) doAddContainerItem(bag, 2120, 1) doAddContainerItem(bag, 7618, 5) doAddContainerItem(bag, 7620, 5) doAddContainerItem(bag, 2439, 1) doAddContainerItem(bag, 8601, 1) setPlayerStorageValue(cid, 30001, 1) end return TRUE end Att. Mytos.
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.