• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Guild War Mode

Zonkill

Banned User
Joined
Oct 10, 2010
Messages
102
Reaction score
1
Siema,
Gdzie można ustawić exhausted na komendy dot. War Mode? W talkactions oczywiście ich niema.
 
Nie ma bo musisz sobie dodac na poczatku
if exhausted then return false end
oczywiscie musisz sobie w miejscu ehausted dac odpoiwednia funjcyjke ;)
 
mam kod odpowiedzialny za exhaust przy komendach, jednak gdzie to wprowadzić dot. komend związanych z war systemem.
 
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)
 
Last edited:
@Samme:
Wystarczy samo
Code:
if exhaustion.check(storage) then
, bez porownania do false :p.

@Bartastkd:
On zapewne specjalnie tak napisa.
 
Back
Top