i need a !promotion talkationg that makes u promoted.....
i ahve this so far...is onuse...
i need someone to edit this and make it talkactin , onSay
thanks on advance
i ahve this so far...is onuse...
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPremium(cid) == false then
doPlayerSendCancel(cid,"You must have PACC.")
return true
end
if isPremium(cid) == true and getPlayerLevel(cid) >= 20 then
if getPlayerPromotionLevel(cid) == 0 then
setPlayerPromotionLevel(cid, 1)
doCreatureSay(cid,"You are now Promoted.",TALKTYPE_ORANGE_1)
doSendMagicEffect(getPlayerPosition(cid),19)
return true
end
if getPlayerPromotionLevel(cid) > 0 then
doPlayerSendCancel(cid,"You are already promoted.")
return true
end
end
i need someone to edit this and make it talkactin , onSay
thanks on advance