• 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!

Lua TFS 1.2 Need lua Kill everyone in ZoneID X

SixNine

Active Member
Joined
Dec 12, 2018
Messages
484
Reaction score
46
Hey anyone have a optimized code to kill everyone whos inside getTile:getZoneId() Zone System (https://gist.github.com/lyuz1n/2fb07cd6828309941a1f03b385b96a34) this function would be executed if monster with name X doesnt exist if it doesnt exist kill everyone after 5 minutes, but if monster with such name starts exsiting kill this function and dont execute it. Im not sure how to write this code well optimized.
 
Back
Top