Fu Manchu
Sepultra™
- Joined
- Jan 28, 2011
- Messages
- 439
- Reaction score
- 9
XML:
function onSay(cid, words, param
if getPlayerVipDays(cid >= 1) then
doPlayerAddItem(cid, 2173, 1) ;
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've bought an amulet of loss!") ;
else
doPlayerRemoveMoney(cid, 10000) == true then
doPlayerAddItem(cid, 2173, 1) ;
doSendMagicEffect(getThingPosition(cid), CONST_ME_MAGIC_BLUE) ;
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You've bought an amulet of loss!") ;
else
doSendMagicEffect(getThingPosition(cid), CONST_ME_POFF) ;
return doPlayerSendCancel(cid, "You don't have enough money.") ;
end ; return true ;
end ;
I need to turn this script so that VIP member can get a free aol IF they do not have one on already. My vip dosnt use a storage it uses days per acc. thx guys :/