I have a problem because OnTick event is not working.
Can i fix it? For now I used timer but can I use more optimal solution?
Can i fix it? For now I used timer but can I use more optimal solution?
Code:
*addEvent("onTick", function()
{
//Update bots
for(local i = 0; i < LIMIT_BOTS; ++i)
if(botStructure[i].isSpawned == true)
botStructure[i].bot.update();
});*/