0 Members and 1 Guest are viewing this topic.
var killcount: array[1..32] of integer;procedure OnPlayerKill(Killer, Victim: byte;Weapon: string);begin killcount[victim] := 0; killcount[killer] := killcount[killer] + 1; //1 is the amount of points a player will earn each kill since he killed "x" enemies. if killcount[killer] >= 3 then //3 is the number of kills needed to start earning points. //If you set it to 3, the killer will start to gain an extra point each kill since he killed his third enemy. begin WriteConsole(Killer,'[*]You got an extra point!',$EE81FAA1); SetScore(killer,GetPlayerStat(killer,'KILLS') + 1); end;end;
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce