Hello otlanders, i need help with one script, here is it..
I want to add exhaustion 10 sec, so u can execute the command every 10 sec, so you cannot spam it. Rep+ for help
function onSay(cid, words, param)
local cost = 0
local item = 9774
local quantity = 1
if doPlayerRemoveMoney(cid, cost) == TRUE then
doPlayerAddItem(cid, item, quantity)
else
doPlayerSendCancel(cid, "You have not enough gold.")
end
return TRUE
end
I want to add exhaustion 10 sec, so u can execute the command every 10 sec, so you cannot spam it. Rep+ for help