ocal exhausted = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhausted, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 900))
function onUse(cid, item, fromPosition, itemEx, toPosition)
if hasCondition(cid, CONDITION_EXHAUST_HEAL) then
return doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
end
return doPlayerAddMana(itemEx.uid, 2250) and doAddCondition(cid, exhausted) and doSendMagicEffect(toPosition, CONST_ME_MAGIC_BLUE) and doSendAnimatedText(getThingPos(cid), "Don MR!", TEXTCOLOR_RED)
end
Hey I want A script for Don Uh Script what is the uh script Can anyone Help ?
setConditionParam(exhausted, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 900))
function onUse(cid, item, fromPosition, itemEx, toPosition)
if hasCondition(cid, CONDITION_EXHAUST_HEAL) then
return doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
end
return doPlayerAddMana(itemEx.uid, 2250) and doAddCondition(cid, exhausted) and doSendMagicEffect(toPosition, CONST_ME_MAGIC_BLUE) and doSendAnimatedText(getThingPos(cid), "Don MR!", TEXTCOLOR_RED)
end
Hey I want A script for Don Uh Script what is the uh script Can anyone Help ?