Lol.. You like.. Totally copied me :O
//Custom Functions
//By Squiddy ~ And HackTank
//Thanks, Hack! Helped a loooooot! :D
Function IDByTeam(Team: Byte): Array of Byte;
Var S, Len: Byte;
Begin
SetArrayLength(Result,0);
For S := 1 To 32 Do if GetPlayerStat(S,'Active') = True Then if GetPlayerStat(S,'Team') = Team Then Begin
Len := GetArrayLength(Result);
SetArrayLength(Result, Len + 1);
Result[Len] := S;
end;
end;