I did not read the complete discussion and do not know where you added this code. Could it be that the GetActiveWeapon call is used in a context that retrieves the active weapon of the local player and the owner is then checked against the local player -> always true? You then send the muzzleflash to this, the local players, weapon?
- archy -------- Original-Nachricht -------- > Datum: Thu, 9 Oct 2008 15:51:03 +0100 > Von: "Luke Smith" <[EMAIL PROTECTED]> > An: "Discussion of Half-Life Programming" <hlcoders@list.valvesoftware.com> > Betreff: Re: [hlcoders] Muzzle flash issue > Thanks, that stopped it crashing but it seems it hasnt worked at all when > the enemy fires the brass is ejected from the players weapon. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders