On the client it is always likely that one of these things is null. Try some checks something like in bold:
C_BaseCombatWeapon *pWeapon = GetActiveWeapon(); *if (!pWeapon) return; * C_BasePlayer *pPlayer = C_BasePlayer::GetLocalPlayer(); *if (!pPlayer) return; * C_BaseCombatCharacter *pOwner = ( pWeapon->GetOwner() ); *if (!pOwner) return; * It's possible for any of these to be bold if the given entity is outside PVS or hasn't been handed to that client yet for some reason. -- Jorge "Vino" Rodriguez _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders