[HELP]TeamKills Counter
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
No offense, but it's bad coded. Killing your own teammates would count as valid kill (abusive) plus using OnPlayerUpdate for something such as this is horrible.

pawn Код:
Terrp = +1;
Not valid either. Use it as:
pawn Код:
++Terrp;
// OR
Terrp++;
// OR
Terrp += 1;
// OR
Terrp = Terrp + 1;
positive! sorry I mixed the = with the +
and for the OnPlayerDeath Part

just add a &&
pawn Код:
if(gTeam[playerid][TEAM_TERRORIST] == 1 && gTeam[killerid][TEAM_ARMY])
{
 ..............................

//and so on
Reply


Messages In This Thread
[HELP]TeamKills Counter - by Sky96 - 01.02.2014, 16:10
Re: [HELP]TeamKills Counter - by Vanter - 01.02.2014, 19:38
Re: [HELP]TeamKills Counter - by Konstantinos - 01.02.2014, 19:42
Re: [HELP]TeamKills Counter - by Vanter - 01.02.2014, 19:48

Forum Jump:


Users browsing this thread: 2 Guest(s)