They useing aol and when they hunting and dieing they lose the bp with aol , i meant aol is not in bp if you know wwhat i mean, When they buy bless , They dont lose bp , or aol ?? What is the problem with aol they lose bp and aol ?? Anyhelp ?
Ill Rep you if it helped
Here is my lua , And item xlm
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="preventDrop" value="1" />
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid, 2173, 1)
doSendMagicEffect(getPlayerPosition(cid), 14)
doSendAnimatedText(getCreaturePosition(cid), '*aol*', TEXTCOLOR_GREEN)
else
doPlayerSendCancel(cid, 'Remeber Buy Bless and aol all time.')
doSendMagicEffect(getPlayerPosition(cid), 2)
return TRUE
end
return TRUE
end
Ill Rep you if it helped
Here is my lua , And item xlm
<item id="2173" article="an" name="amulet of loss">
<attribute key="weight" value="420" />
<attribute key="slotType" value="necklace" />
<attribute key="preventDrop" value="1" />
PHP:
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid, 2173, 1)
doSendMagicEffect(getPlayerPosition(cid), 14)
doSendAnimatedText(getCreaturePosition(cid), '*aol*', TEXTCOLOR_GREEN)
else
doPlayerSendCancel(cid, 'Remeber Buy Bless and aol all time.')
doSendMagicEffect(getPlayerPosition(cid), 2)
return TRUE
end
return TRUE
end