SRL Archive - OSR Help

Detection money in pouch ?


dr kickassss

2012-02-15 03:21:12

I was wondering if its possible to detect the money in pouch. It turns white if its less than 100k. Want to add it as a failsafe to my scrip

Geo

2012-02-15 03:26:52

GetMoneyPouchAmount; is what you're looking for.


Function IsMoneyLow : Boolean;
Begin
Result := GetMoneyPouchAmount < 100001;
End;