0 Members and 1 Guest are viewing this topic.
var t: integer;procedure ActivateServer();begin t := 0;end;procedure OnFlagScore(ID, TeamFlag: byte);begin if t = 0 then begin if GetPlayerStat(ID, 'kills') >= 20 then begin GiveBonus(ID, 4); t := 1; end; end; if t = 1 then begin if GetPlayerStat(ID, 'kills') >= 40 then begin GiveBonus(ID, 3); t := 2; end; end; if t = 2 then begin if GetPlayerStat(ID, 'kills') >= 60 then begin GiveBonus(ID, 5); t := 3; end; end; if t = 3 then begin if GetPlayerStat(ID, 'kills') >= 80 then begin GiveBonus(ID, 2); t := 4; end; end; if t = 4 then begin if GetPlayerStat(ID, 'kills') >= 100 then GiveBonus(ID, 1) t := 5; end; end;end;// GiveBonus(ID: byte; Bonus: integer) -- 1= Predator 2= Berserker 3= Vest 4= Grenades 5= Cluster Nades
And as the lyrics go in the United State's national anthem: "America, f**k YEAH!".