Thanks :)

----- Original Message -----
From: "botman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 11:49 AM
Subject: Re: [hlcoders] Disconnected players


> > I'm coding in a last man standing game mode for my mod and seem to be
> > running into a problem. The logic code works perfectly, however when
> someone
> > disconnects the game hangs when the round should be over. The round
> > eventually ends when the round time limit is up but no one wins the
match.
> >
> > I know edicts arent really freed, so is there any portion of the HL SDK
> that
> > can label an edict as inactive? or do I have to make my own provisions.
>
> A common method to check to see if an engine edict is in use by a player
is
> to see if the pev->netname field is null or not.  All valid (connected)
> players will have a non-null netname field.
>
> Jeffrey "botman" Broome
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to