#include "campaign.qh"
#include "command/common.qh"
-#include "bot/api.qh"
+#include "bot/bot.qh"
+#include "bot/navigation.qh"
#include "../common/vehicles/all.qh"
else
stuffcmd(self, "set _teams_available 0\n");
- attach_entcs();
+ attach_entcs(self);
bot_relinkplayerlist();
bot_clientdisconnect();
- if(self.entcs)
- detach_entcs();
+ detach_entcs(self);
if(autocvar_sv_eventlog)
GameLogEcho(strcat(":part:", ftos(self.playerid)));