Postado Março 26, 2017 8 anos Pessoal, estou precisando fazer esse script dos bones em roshamuul sumonar Guzzlemaw ao clicar nele, esse é o script que tenho aqui: function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { exaust = 933787, -- exaust storage hours = 2 } if getPlayerStorageValue(1) == 1 then setPlayerStorageValue(cid, config.exaust, os.time()+config.hours*60) -- adicionar função pra sumonar end end Se alguém puder alterar pra mim, agredeço muito e dou REP+ CONHEÇA MEU PROJETO: WWW.ETERNUS-GLOBAL.COM
Postado Março 26, 2017 8 anos function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { exaust = 933787, -- exaust storage hours = 2 } if getPlayerStorageValue(1) == 1 then setPlayerStorageValue(cid, config.exaust, os.time()+config.hours*60) doSummonCreature("Nome do Monstro", {x= , y= , z= }) end end agora é so editar as coordenadas e o nome do monstro Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Março 26, 2017 8 anos Autor Em 26/03/2017 em 16:41, moviebr disse: function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { exaust = 933787, -- exaust storage hours = 2 } if getPlayerStorageValue(1) == 1 then setPlayerStorageValue(cid, config.exaust, os.time()+config.hours*60) doSummonCreature("Nome do Monstro", {x= , y= , z= }) end end agora é so editar as coordenadas e o nome do monstro Editei o nome do monstro e a position e mesmo assim não sumona, não acontece nada ao clicar. Quando uso somente o código: function onUse(cid, item, frompos, item2, topos) doSummonCreature("Guzzlemaw", topos) doSendMagicEffect(topos, 3) end Ele faz o efeito e sumona o monstro, mas não tem exausted. Editado Março 26, 2017 8 anos por Rockersz (veja o histórico de edições) CONHEÇA MEU PROJETO: WWW.ETERNUS-GLOBAL.COM
Postado Março 26, 2017 8 anos Apresenta algum erro? Baiak Thunder New TFS Downgrade [TFS 1.5 - 8.60] Gesior Ferobra Downgrade Evento Monster Hunt [TFS 1.X] Evento SafeZone [TFS 1.X] Online Bonus System [TFS 1.X] Dodge & Critical [TFS 1.X] Nova moeda, funcionando com NPCs [TFS 1.X] Square System [TFS 1.X] Loot Channel [TFS 1.X] Gerenciador de Quests [All TFS] NPCs comprando vial/flasks por storage [TFS 1.X] AntiBot [TFS 1.X] Como compilar TFS 0.X
Postado Março 26, 2017 8 anos Autor Em 26/03/2017 em 16:47, moviebr disse: Apresenta algum erro? não apresenta erro, só não funciona Eu quero colocar um exausted de 2 minutos para poder usar de novo nesse script: function onUse(cid, item, frompos, item2, topos) doSummonCreature("Guzzlemaw", topos) doSendMagicEffect(topos, 3) end Ai fica sucesso. Editado Março 26, 2017 8 anos por Rockersz (veja o histórico de edições) CONHEÇA MEU PROJETO: WWW.ETERNUS-GLOBAL.COM
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.