19.11.2016, 14:56
(18.11.2016, 21:49)Mattwell Wrote: 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?
Code:*addEvent("onTick", function()
{
//Update bots
for(local i = 0; i < LIMIT_BOTS; ++i)
if(botStructure[i].isSpawned == true)
botStructure[i].bot.update();
});*/
onTick was cut from the latest versions of multiplayer