mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
connect and disconnect msgs
This commit is contained in:
parent
afbf583e3b
commit
18db99ac83
@ -665,9 +665,22 @@ onPlayerConnect()
|
||||
level waittill( "connected", player );
|
||||
|
||||
player thread onChangeKit();
|
||||
|
||||
print( "Player connected: " + player.name + " guid " + player getGuid() + "\n" );
|
||||
player thread onPlayerDisconnect();
|
||||
}
|
||||
}
|
||||
|
||||
onPlayerDisconnect()
|
||||
{
|
||||
name = self.name;
|
||||
guid = self getGuid();
|
||||
|
||||
self waittill( "disconnect" );
|
||||
|
||||
print( "Player disconnected: " + name + " guid " + guid + "\n" );
|
||||
}
|
||||
|
||||
watchNuke()
|
||||
{
|
||||
setDvar( "scr_spawnpointfavorweight", "" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user