Was this on the client, or on the server? I've been having some problems with the IsAlive() call on the client, but only when the player isn't in your PVS
On 4/20/05, r00t 3:16 <[EMAIL PROTECTED]> wrote: > HL2MP SDK > > I was using the pPlayer->IsDead() which will keep track of alive players. > Everything worked until someone killed another player with a physics prop. > Eg: Exploding Barrel. > > IsDead() did not reconize that player is dead. > > Ok no big dead so I changed the code around a bit and use > pPlayer->IsAlive(); > > blew up a barrel killed another player and it did what it was suppose to > do... > > However now when I shoot a player and kill them it did not reconize that > player as being dead. > So I had to do pPlayer->IsAlive() || !pPlayer->IsDead() > in the if statement. > > No big deal but thought it was kind of odd how 1 works in 1 way and the > other works another.. > > Is there a reason for this ? > > r00t > > _______________________________________________ > 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