oczywiscie musisz sobie w miejscu ehausted dac odpoiwednia funjcyjkeif exhausted then return false end
if(exhaustion.check(storage) ~= false)then
doPlayerSendCancel(cid, "No wes tak nie spamuj, no")
return true
end
exhaustion.set(storage, 5 * 24 * 60 * 60)
Zaraz po funkcji onSay() .
LUA:if(exhaustion.check(storage) ~= false)then doPlayerSendCancel(cid, "No wes tak nie spamuj, no") return true end exhaustion.set(storage, 5 * 24 * 60 * 60)
if exhaustion.check(storage) then
Chłopaki, ja mam kod, ale nie wiem do jakiego pliku to wklepać!