I'm trying this to check if the ejectbrass event is called by the player and
it compiles fine but then when I run the game and load the map it crashes.
Note that usually as soon as you spawn in this map the enemey starts firing
straight away.
am I doing something wrong here?
C_BaseCombatWeapon *pWeapon = GetActiveWeapon();
C_BasePlayer *pPlayer = C_BasePlayer::GetLocalPlayer();
C_BaseCombatCharacter *pOwner = ( pWeapon->GetOwner() );
bool bIsLocalPlayer = pPlayer && pPlayer == pOwner;
if ( bIsLocalPlayer )
{
Matt are you saying that the crosshair lags since fixing the muzzleflash
issue? Also did you say you used the over the shoulder view tutorial from
valve wiki?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders