kimokimo
Kimo
some days ago i found this script but i want to add using time for it like player can use it every 10sec here is the script
local speed = 1500 --- Put the speed you'd like
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureAddMana(cid, 10000000)
doChangeSpeed(cid, speed)
doSendAnimatedText(getPlayerPosition(cid), "FULL MP!", 11)
doSendMagicEffect(getPlayerPosition(cid), 30)
addEvent(doChangeSpeed, 10*1000, cid, -speed)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,message) ---- If you don't want messages displayed then erase this line
return true
end
local speed = 1500 --- Put the speed you'd like
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureAddMana(cid, 10000000)
doChangeSpeed(cid, speed)
doSendAnimatedText(getPlayerPosition(cid), "FULL MP!", 11)
doSendMagicEffect(getPlayerPosition(cid), 30)
addEvent(doChangeSpeed, 10*1000, cid, -speed)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,message) ---- If you don't want messages displayed then erase this line
return true
end