function onSay(cid, words, param, fromPosition)
if getPlayerItemCount(cid,2403) >= 1 or getPlayerItemCount(cid,2404) >= or getPlayerItemCount(cid,2566) >= 1 then
if param == "" then
if getPlayerHealth(cid) >= 30 then
doPlayerAddHealth(cid, -30)
doSendMagicEffect(fromPosition,CONST_ME_DRAWBLOOD)
doSendAnimatedText(fromPosition,TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid,"You don't have enough health.")
end
elseif param == "die" then
doPlayerAddHealth(cid, - getPlayerHealth(cid))
end
else
doPlayerSendCancel(cid,"You need something to cut yourself with.")
end
end
EMO SCRIPT!
