Quote:
Originally Posted by Luka[balkan-samp.com
]
Quote:
Originally Posted by Miokie*
At The top of your script:
OnGameModeInit:
pawn Код:
SetTimer("CheckKills",100,1);
Anywhere:
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. } } }
OnPlayerDeath
(Untested, But looks like it should work.)
|
Why you using Kills[killerid] +=1; ? Why not Kills[killerid] ++;?
|
Ah its the way i write things sometimes i forget about ++;