Hi all; firts sorry my eng is poor, but I need some help
I try to made a count game system, but var in OnGameEnd dont change
procedure OnGameEnd();
begin
if (AlphaScore > BravoScore ) then
begin
AlphaGames:= AlphaGames+1;
end;
if (AlphaScore < BravoScore) then
begin
BravoGames:= BravoGames+1;
end;
if (AlphaScore = BravoScore ) then
begin
DrawGames:= DrawGames+1;
end;
WriteConsole(0,'Marcador de Juegos Alpha '+inttostr(AlphaGames)+' Bravo '+inttostr(BravoGames)+' Empates '+inttostr(DrawGames
),C2Message);
end;
I put this in event OnMapChange and work fine, but I need count game end games.
thx por help !