16.01.2011, 15:30
as im not fully 100% understanding the script ill just say it this wise.
OnPlayerPickup. you will do -- on mrmoneybundlesavailable thats correct. but also update your textdraw there.
So after u did: mrmoneybundlesavailable --; update your textdraw. then it will set to 4 or 3 or 2 or 1. (Minus 1)
EDIT: Franck was earlier... btw doesnt it has to be this:
OnPlayerPickup. you will do -- on mrmoneybundlesavailable thats correct. but also update your textdraw there.
So after u did: mrmoneybundlesavailable --; update your textdraw. then it will set to 4 or 3 or 2 or 1. (Minus 1)
EDIT: Franck was earlier... btw doesnt it has to be this:
pawn Код:
if(pickupid==PickUpMoneyBundleOnMr)
{
mrmoneybundlesavailable --;
new textformat[185];
format(textformat,sizeof textformat,"Money Bundles: ~r~%d",mrmoneybundlesavailable);
TextDrawSetString(mravspec2,textformat);
TextDrawShowForAll(mravspec2);
}