1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-08-31 10:07:25 +00:00

connection events

This commit is contained in:
ineed bots
2024-04-25 14:20:01 -06:00
parent c8df9ef311
commit dfe2ba0c47
2 changed files with 47 additions and 0 deletions

View File

@@ -328,10 +328,31 @@ start_chat_watch()
case "box_cap":
self thread bot_chat_box_cap_watch( a, b, c, d, e, f, g );
break;
case "connection":
self thread bot_chat_connection_player_watch( a, b, c, d, e, f, g );
break;
}
}
}
/*
When a player connected
*/
bot_chat_connection_player_watch( conn, player, playername, d, e, f, g )
{
self endon( "disconnect" );
switch ( conn )
{
case "connected":
break;
case "disconnected":
break;
}
}
/*
start_startgame_watch
*/