mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-09-03 22:57:25 +00:00
Added custom bot names
This commit is contained in:
@@ -315,7 +315,14 @@ connected()
|
||||
*/
|
||||
add_bot()
|
||||
{
|
||||
bot = addtestclient();
|
||||
name = getABotName();
|
||||
|
||||
bot = undefined;
|
||||
|
||||
if (isDefined(name) && name.size >= 3)
|
||||
bot = addtestclient(name);
|
||||
else
|
||||
bot = addtestclient();
|
||||
|
||||
if (isdefined(bot))
|
||||
{
|
||||
|
Reference in New Issue
Block a user