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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user