iraqownz
2013-03-23 14:13:43
ok guys. i dont know what i am doing wrong :P
i want to make an hp function, so i can finish the eating procedure. but i dont know what's wrong with this:S
can anyone help me out? :)
i want to make an hp function, so i can finish the eating procedure. but i dont know what's wrong with this:S
Function getHp:double;
Var
green,red:TpointArray;
x,y:Integer;
Begin
FindColorsTolerance(green,65280,240,70,275,170,0);
FindColorsTolerance(red,255,240,70,275,170,0);
result := (length(red))>(length(green))
//writeln(result);
End; can anyone help me out? :)