Quote:
Originally Posted by mottzi
Line 1229: Add
PHP Code:
&& cs_get_user_team(iVictim) != cs_get_user_team(owner)
into the if statement to make sure friendlyfire gets blocked
|
This could cause some debug errors.Better to do:
Above the if:
PHP Code:
new CsTeams: OwnerTeam = cs_get_user_team ( owner )
new CsTeams: VictimTeam = cs_get_user_team ( iVictim )
Into the if:
PHP Code:
&& ( OwnerTeam != VictimTeam )