30.05.2009, 15:32
At The top of your script:
OnGameModeInit:
Anywhere:
OnPlayerDeath
(Untested, But looks like it should work.)
pawn Код:
new Kills[MAX_PLAYERS];
pawn Код:
SetTimer("CheckKills",100,1);
pawn Код:
public CheckKills(playerid)
{
if(Kills[playerid] == 5)
{
Kills[playerid] = 0;
for(new i = 0; i <= MAX_PLAYERS; i++)
{
SetPlayerMarkerForPlayer(playerid,i,0xFF0000FF);//This sets all other player markers FOR THAT PLAYER to red. Not sure how to jsut show them.
}
}
}
pawn Код:
Kills[killerid] += 1;