30.07.2010, 17:07
Here's an example :
I'll also assume that you use gTeam
If you get my what I mean.
I'll also assume that you use gTeam
pawn Код:
new team1, team2;
public OnPlayerDeath(playerid, killerid, reason)
{
if(gTeam[killerid] == team_one)
{
team1++;
}
else if(gTeam[killerid] == team_two)
{
team2++;
}
return 1;
}