Make it using onStatsChange, so you dont need to use a infinit addEvent loop and save RAM and CPU.
Good script =)
Lua is fast enought to handle this without any significant ram/cpu usage.
Yes, but think about using alot of scripts in loop??
I have seen crashs because the server was using alot of loops not just in one script, but in many anothers, i mean if we can avoid it's better. =P
#teckman
Conde2 was said true, use onStatsChange, because you add loop like while(true)do, and it can eat many ram if 100 players got use this heal bot and in 1 sec which run healbot player can die.![]()
Lua is fast enought to handle this without any significant ram/cpu usage.
LUA can handle this without any significant ram/cpu usage. 'ok'
Maybe 600 playes online using the bot: LUA can't handle 600 inifinits loops per second without any significant ram/cpu usage.