Postado Setembro 15, 2014 10 anos Autor sim, veja como está function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 13877 then return false end addEvent(doPlayerSendTextMessage, 5 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels quite heavy now. Nothing else happens.') addEvent(doPlayerSendTextMessage, 15 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels even heavier. You feel slightly stronger, however.') addEvent(doSendMagicEffect, 15 * 1000, cid, toPosition, CONST_ME_MAGIC_GREEN) addEvent(doPlayerSendTextMessage, 25 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'You feel better, more energetic than ever before. The ring seems to wrap itself tighter around your finger.') local player = Player(cid) Item(item.uid):remove(1) Item(itemEx.uid):transform(22543) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'The smooth string of mending coils around your whole arm as if it was to devour it.') player:getPosition():sendMagicEffect(39) return true end LEMBRANDO QUE É TFS 1.0 Editado Setembro 15, 2014 10 anos por Schiffert (veja o histórico de edições) Se Ajudei Rep+ pra mim
Postado Setembro 15, 2014 10 anos function onUse(cid, item, fromPosition, itemEx, toPosition)if itemEx.itemid ~= 13877 thenreturn falseendaddEvent(doPlayerSendTextMessage, 5 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels quite heavy now. Nothing else happens.')addEvent(doPlayerSendTextMessage, 15 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels even heavier. You feel slightly stronger, however.')addEvent(doSendMagicEffect, 15 * 1000, cid, toPosition, CONST_ME_MAGIC_GREEN)addEvent(doPlayerSendTextMessage, 25 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'You feel better, more energetic than ever before. The ring seems to wrap itself tighter around your finger.')local player = Player(cid)Item(item.uid):remove(1)Item(itemEx.uid):transform(22543)player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'The smooth string of mending coils around your whole arm as if it was to devour it.')player:getPosition():sendMagicEffect(cid,39)return trueend
Postado Setembro 15, 2014 10 anos Autor não funcionou o magic effect e eu preciso muito faz parte do ritual de fazer esse item Se Ajudei Rep+ pra mim
Postado Setembro 15, 2014 10 anos function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 13877 then return false end addEvent(doPlayerSendTextMessage, 5 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels quite heavy now. Nothing else happens.') addEvent(doPlayerSendTextMessage, 15 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels even heavier. You feel slightly stronger, however.') addEvent(doSendMagicEffect, 15 * 1000, cid, getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) addEvent(doPlayerSendTextMessage, 25 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'You feel better, more energetic than ever before. The ring seems to wrap itself tighter around your finger.') local player = Player(cid) Item(item.uid):remove(1) Item(itemEx.uid):transform(22543) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'The smooth string of mending coils around your whole arm as if it was to devour it.') player:getPosition():sendMagicEffect(cid,39) return true end é para funcionar. Editado Setembro 15, 2014 10 anos por Ka zuza (veja o histórico de edições)
Postado Setembro 15, 2014 10 anos Autor ele ainda faz tudo as mesmas coisas mas não sai o magic effect com addevent e o magic effect antigo que era o smallclouds agora ta em yellow rings nao sei pq usando esse volta ao normal o magic effect quando usa o item no outro... function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 13877 then return false end addEvent(doPlayerSendTextMessage, 3 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels quite heavy now. Nothing else happens.') addEvent(doPlayerSendTextMessage, 13 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'The ring feels even heavier. You feel slightly stronger, however.') addEvent(doSendMagicEffect, 13 * 1000, cid, toPosition, CONST_ME_MAGIC_GREEN) addEvent(doPlayerSendTextMessage, 23 * 1000, cid, MESSAGE_EVENT_ADVANCE, 'You feel better, more energetic than ever before. The ring seems to wrap itself tighter around your finger.') local player = Player(cid) Item(item.uid):remove(1) Item(itemEx.uid):transform(22543) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'The smooth string of mending coils around your whole arm as if it was to devour it.') player:getPosition():sendMagicEffect(39) return true end Editado Setembro 15, 2014 10 anos por Schiffert (veja o histórico de edições) Se Ajudei Rep+ pra mim
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.