Post: Add Bot In Ennemy OR Allies Team Only?
06-09-2015, 05:14 PM #1
N3cTaR
Keeper
(adsbygoogle = window.adsbygoogle || []).push({}); Hi, I would like to add Bot With a function, but I want the command added them only in the opposing team And an another function who added them into the allies team.

Bot -> first appears in my team and another in the opposing team :/

Originally posted by another user
self thread SpawnBot();
}
SpawnBot(team)
{
maps/mp/bots/_bot::spawn_bot(team);
}


How to do?

Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
06-09-2015, 05:18 PM #2
Exelo
Banned
You can't read your own script ? ...

    self thread SpawnBot("allies");
or
self thread SpawnBot("axis");
06-09-2015, 05:33 PM #3
N3cTaR
Keeper
:troll: Sorry I had not thought it was that simple...

Thanks Enzo
06-10-2015, 03:09 AM #4
Spawn Enemy Bots:
     if(self.pers["team"] == "axis")
maps/mp/bots/_bot::spawn_bot("allies");
else
maps/mp/bots/_bot::spawn_bot("axis");

Friendly Bots:
    
if(self.pers["team"] == "allies")
maps/mp/bots/_bot::spawn_bot("allies");
else
maps/mp/bots/_bot::spawn_bot("axis");

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo