What do I need to add that after receiving the award could not have her for the second time to get?
sorry for translate ;c
@down
thanks i add you reputation
sorry for translate ;c
function onSay(cid, words, param, channel)
if getPlayerSkill(cid, SKILL_CLUB) >= 50 then
doPlayerSendTextMessage(cid, 19,"Reward.")
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + 100)
setCreatureMaxMana(cid, getCreatureMaxMana(cid) + 50)
elseif getPlayerSkill(cid, SKILL_CLUB) >= 100 then
doPlayerSendTextMessage(cid, 19,"Reward.")
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + 200)
setCreatureMaxMana(cid, getCreatureMaxMana(cid) + 100)
elseif getPlayerSkill(cid, SKILL_CLUB) >= 150 then
doPlayerSendTextMessage(cid, 19,"Reward.")
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + 300)
setCreatureMaxMana(cid, getCreatureMaxMana(cid) + 200)
elseif getPlayerSkill(cid, SKILL_CLUB) >= 200 then
doPlayerSendTextMessage(cid, 19,"Reward.")
setCreatureMaxHealth(cid, getCreatureMaxHealth(cid) + 500)
setCreatureMaxMana(cid, getCreatureMaxMana(cid) + 300)
else
doPlayerSendTextMessage(cid, 19,"You do not have enough club.")
end
return true
end
@down
thanks i add you reputation
Last edited: