rogeruk
2009-10-23 12:17:56
function InvCoins: Integer;
begin
Result := ItemAmount('inv', 'bmp', LoadCoinBmp, [80]);
FreeBitmap(LoadCoinBmp);
end;function InvCoins: Integer;
Var
ICoinBMP:Integer;
begin
ICoinBMP := LoadCoinBmp;
Result := ItemAmount('inv', 'bmp', ICoinBMP, [80]);
FreeBitmap(ICoinBMP);
end;Pretty simple. I dont think CoinAmount is working atm.
Lel.