I'm getting [Error] (24:7): Identifier expected when I try to compile the following code:
Procedure OnFlagGrab(ID, TeamID: byte; GrabbedInBase: boolean);
Var
A: byte;
Begin
A:= 1 to 32 do
If GetPlayerStat(A,'Team') = 2 then begin
DrawText(A,'Fail! >.<',120,RGB(255,255,255),0.20,40,240);
end;
End;
Why am I getting this error?