Lpe95
https://soundcloud.com/saintdmusic/sail-remix
Hey i want a script that's for only sorcs&Druid i have a don mr script but i want it only for druid&sorcs not for knight&Pally
here Donate mr script.
But i don´t have a Donate Uh script i need that i want it to able only to Knight&Paladin

here Donate mr script.
PHP:
local MIN = 1350
local MAX = 1510
local EMPTY_POTION = 7636
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(itemEx.uid) == FALSE then
return FALSE
end
if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
return TRUE
end
if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then
return FALSE
end
doAddCondition(cid, exhaust)
doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_GREEN)
doCreatureSay(itemEx.uid, "ohh DON...", TALKTYPE_ORANGE_1)
return TRUE
end
But i don´t have a Donate Uh script i need that i want it to able only to Knight&Paladin