OnPlayerGiveDamage Teams?
#1

Heey all,

How can i make like if team 1 and team 2 hit team 3 they get wanted?
I tried this code:
Код:
//onplayergivedamage
if(gTeam[playerid]==TEAM_1 || gTeam[playerid]==TEAM_2 && gTeam[damagedid]==TEAM_COP)
But dont work because if team 1 hits team 2 ,team 1 get wanted.

Thanks Admigo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)