mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-04-21 01:25:43 +00:00
for now
This commit is contained in:
parent
90e752d1a5
commit
7154032b99
Binary file not shown.
@ -532,7 +532,7 @@ onPlayerConnect()
|
|||||||
*/
|
*/
|
||||||
connected()
|
connected()
|
||||||
{
|
{
|
||||||
|
self endon( "disconnect" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -541,6 +541,10 @@ connected()
|
|||||||
added()
|
added()
|
||||||
{
|
{
|
||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
|
|
||||||
|
wait 2;
|
||||||
|
|
||||||
|
self notify( "menuresponse", "changeclass", "class_smg");
|
||||||
}
|
}
|
||||||
|
|
||||||
GetHostPlayer()
|
GetHostPlayer()
|
||||||
@ -548,21 +552,33 @@ GetHostPlayer()
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Waits for the host
|
||||||
|
*/
|
||||||
bot_wait_for_host()
|
bot_wait_for_host()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Good
|
||||||
|
*/
|
||||||
getGoodMapAmount()
|
getGoodMapAmount()
|
||||||
{
|
{
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
awdawd
|
||||||
|
*/
|
||||||
doExtraCheck()
|
doExtraCheck()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Picks random
|
||||||
|
*/
|
||||||
PickRandom( arr )
|
PickRandom( arr )
|
||||||
{
|
{
|
||||||
if ( !arr.size )
|
if ( !arr.size )
|
||||||
@ -571,6 +587,9 @@ PickRandom( arr )
|
|||||||
return arr[randomInt( arr.size )];
|
return arr[randomInt( arr.size )];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Returns array of bots
|
||||||
|
*/
|
||||||
getBotArray()
|
getBotArray()
|
||||||
{
|
{
|
||||||
answer = [];
|
answer = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user