Hello, tried to make exhauster in !online & dont work :O , tried on making in other - same.
People crash server spamming command , take a look at script.
thats script for !pacc , i am trying to make exhaust in every command so if anyone can tell me what i should add & where?
Thanks.
People crash server spamming command , take a look at script.
Code:
function onSay(cid, words, param)
if getPlayerPremiumDays(cid) <= 360 then
if doPlayerRemoveMoney(cid, 50000) == TRUE then
doPlayerAddPremiumDays(cid, 10)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have bought 10 days of premium account.")
else
doPlayerSendCancel(cid, "You don't have enough money, 10 days premium account costs 50000 gold coins.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
else
doPlayerSendCancel(cid, "You can not buy more than one year of Premium Account.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return TRUE
end
thats script for !pacc , i am trying to make exhaust in every command so if anyone can tell me what i should add & where?
Thanks.