kkk111 8 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 Para que vocês complica tanto ? function onStepIn(cid, item, topos) if item.actionid == 19999 then doSummonCreature("Treiner",{x=3335, y=3071, z=8}) end end <movevent type="StepIn" actionid="19999" script="xxxx.lua"/> ???? se quiser use funções getPlayerStorageValue(uid, key) setGlobalStorageValue(key, newValue) sem mais Link para o comentário Compartilhar em outros sites More sharing options...
guixap 60 Postado Agosto 30, 2009 Autor Share Postado Agosto 30, 2009 se quiser use funções getPlayerStorageValue(uid, key) setGlobalStorageValue(key, newValue) sem mais Como assim se quiser que diferença vai fazer com elas ou n ? Link para o comentário Compartilhar em outros sites More sharing options...
kkk111 8 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 se tiver ira sumonar 1x só ou quantas você desejar ! Link para o comentário Compartilhar em outros sites More sharing options...
guixap 60 Postado Agosto 30, 2009 Autor Share Postado Agosto 30, 2009 se tiver ira sumonar 1x só ou quantas você desejar ! E COMO FIKARIA COM AKELAS TAGS ? É QUE N SEI AODNE COLOKR RSRSRSR E AGRADEÇO NEH PQ DE TRES SCRIPTS POSTADOS AE SO O SEU FUNFO Link para o comentário Compartilhar em outros sites More sharing options...
kkk111 8 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 (editado) E COMO FIKARIA COM AKELAS TAGS ? É QUE N SEI AODNE COLOKR RSRSRSR E AGRADEÇO NEH PQ DE TRES SCRIPTS POSTADOS AE SO O SEU FUNFO local monster = "hydra" -- monstro local lugardele = {x=3335, y=3071, z=8} -- lugar local msg = "HaHaahahaha..." function onStepIn(cid, item, topos) if item.actionid == 19999 and getPlayerStorageValue(uid, 19999) == -1 then doSummonCreature(monster,lugardele) doSendMagicEffect(lugardele,17) doCreatureSay(cid, msg, TALKTYPE_ORANGE_1) setGlobalStorageValue(19999, 1) then end end <movevent type="StepIn" actionid="19999" script="xxxx.lua"/> ta pra fazer 1x só testa ai e me fala oque deu // nem testei Editado Agosto 30, 2009 por kkk11111 Link para o comentário Compartilhar em outros sites More sharing options...
guixap 60 Postado Agosto 30, 2009 Autor Share Postado Agosto 30, 2009 DEU ERRO LEK =/ [30/08/2009 20:01:26] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/zivu.lua) [30/08/2009 20:01:26] data/movements/scripts/zivu.lua:11: unexpected symbol near 'then' Link para o comentário Compartilhar em outros sites More sharing options...
kkk111 8 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 (editado) :S ta feia a coisa hj em usa esse local monster = "hydra" -- monstro local lugardele = {x=706, y=608, z=7} -- lugar local msg = "HaHaahahaha..." -- msg function onStepIn(cid, item, topos) if isPlayer(cid) == TRUE then if item.actionid == 19999 then if getPlayerStorageValue(cid, 19999) == -1 then doSummonCreature(monster,lugardele) doSendMagicEffect(lugardele,17) doCreatureSay(cid, msg, TALKTYPE_ORANGE_1) setGlobalStorageValue(19999, 1) end end end end <movevent type="StepIn" actionid="19999" script="xxxx.lua"/> ta pra fazer 1x só testado e aprovado =D *obs: se você quizer q fique fazendo direto tire essa linha setGlobalStorageValue(19999, 1) Editado Agosto 30, 2009 por kkk11111 Link para o comentário Compartilhar em outros sites More sharing options...
Demonbholder 420 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 Eu n entendo as pessoas, o kkk sla oq, quase q copio o mew script.LOL. Link para o comentário Compartilhar em outros sites More sharing options...
kkk111 8 Postado Agosto 30, 2009 Share Postado Agosto 30, 2009 (editado) uhAuhAuhauAHuHAuhA acredite se quiser... NEM VI O SEU SCRIPT (mas vou ver agora) edit realmente está igualzinho... seu... function onStepIn() --Config local Monster = { [1] = {"Demon",{x=130, y=130, z=10}}, [2] = {"Rat",{x=130, y=130, z=10}} } for i = 1, #Monster do doCreateMonster(Monster[i][1], Monster[i][2]) end return true end meu.. local monster = "hydra" -- monstro local lugardele = {x=706, y=608, z=7} -- lugar local msg = "HaHaahahaha..." -- msg function onStepIn(cid, item, topos) if isPlayer(cid) == TRUE then if item.actionid == 19999 then if getPlayerStorageValue(cid, 19999) == -1 then doSummonCreature(monster,lugardele) doSendMagicEffect(lugardele,17) doCreatureSay(cid, msg, TALKTYPE_ORANGE_1) setGlobalStorageValue(19999, 1) end end end end IDENTICO ! Editado Agosto 30, 2009 por kkk11111 Link para o comentário Compartilhar em outros sites More sharing options...
Demonbholder 420 Postado Agosto 31, 2009 Share Postado Agosto 31, 2009 Esse eh o do iRockStar, mas fmz, dexa keto.Desde q qualquer um script funfe como ele qé, tudo bem. Link para o comentário Compartilhar em outros sites More sharing options...
guixap 60 Postado Agosto 31, 2009 Autor Share Postado Agosto 31, 2009 local monster = "Demon" -- monstro local lugardele = {x=116, y=56, z=7} -- lugar local msg = "HaHaahahaha..." -- msg function onStepIn(cid, item, topos) if isPlayer(cid) == TRUE then if item.actionid == 9587 then if getPlayerStorageValue(cid, 9587) == -1 then doSummonCreature(monster,lugardele) doSendMagicEffect(lugardele,17) doCreatureSay(cid, msg, TALKTYPE_ORANGE_1) [color="#0000FF"][b] setPlayerStorageValue(cid,9587,1)[/b][/color] end end end end AE AODNE TA EM AZUL TIVE QUE ARRUMA VC COLOKO GLOBALSTORAGE E N TINAH DIFERENÇA DAVA PRA PASSA TANTAZ VEZES SUMONA TANTAS VEZES MUDEI AE O MASI AJUDO MESMO ASSIM SO POSTEI PQ AS VEZES ALGUEM ENTRA INTERESSADO E VE O CERTO BYE MAIS TU AJUDO KKKK VLWWS Link para o comentário Compartilhar em outros sites More sharing options...
kkk111 8 Postado Agosto 31, 2009 Share Postado Agosto 31, 2009 (editado) local monster = "Demon" -- monstro local lugardele = {x=116, y=56, z=7} -- lugar local msg = "HaHaahahaha..." -- msg function onStepIn(cid, item, topos) if isPlayer(cid) == TRUE then if item.actionid == 9587 then if getPlayerStorageValue(cid, 9587) == -1 then doSummonCreature(monster,lugardele) doSendMagicEffect(lugardele,17) doCreatureSay(cid, msg, TALKTYPE_ORANGE_1) [color="#0000FF"][b] setPlayerStorageValue(cid,9587,1)[/b][/color] end end end end AE AODNE TA EM AZUL TIVE QUE ARRUMA VC COLOKO GLOBALSTORAGE E N TINAH DIFERENÇA DAVA PRA PASSA TANTAZ VEZES SUMONA TANTAS VEZES MUDEI AE O MASI AJUDO MESMO ASSIM SO POSTEI PQ AS VEZES ALGUEM ENTRA INTERESSADO E VE O CERTO BYE MAIS TU AJUDO KKKK VLWWS =D se alguem tiver mais algum script pra min faze diga ai posso nao fazer direiro mas vou tentar pelo menos Editado Agosto 31, 2009 por kkk11111 Link para o comentário Compartilhar em outros sites More sharing options...
guixap 60 Postado Agosto 31, 2009 Autor Share Postado Agosto 31, 2009 =D se alguem tiver mais algum script pra min faze diga ai posso nao fazer direiro mas vou tentar pelo menos AE AJUDA LAH QUASE SISTEM VIP Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados