Laimonas171
2012-10-24 16:11:55
function addtoarray;
colorsx: TIntegerArray;
begin
if (Players[CurrentPlayer].Booleans[0] = True) then
begin
//i need to add value 1521995
end;
if (Players[CurrentPlayer].Booleans[1] = True) then
begin
//i need to add value 1321655
end;
// now array should be like [1521995, 1321655]
end;