[Include] Decimal Money (Cents)
#9

Quote:
Originally Posted by Grim_
Посмотреть сообщение
Thanks.

@Luka P.: There's most likely not going to be another version, unless it's needed. If there is, I'll use PVars.

@The toni: It's simple
pawn Код:
if(!strcmp(cmdtext, "/buy", true))
{
   new d, c;
   GetPlayerMoneyEx(playerid, d, c);
   if(d > 5000 || d == 5000 && c >= 50)
   {
      GivePlayerWeapon(playerid, 29, 500);
      TakePlayerMoneyEx(playerid, 5000, 50);
   }
   return 1;
}
They are able to buy a MP5 that costs $5000.50
lol, that was brian_furious xD - hes a supporter :S.

But, good job! Might use it
Reply


Messages In This Thread
Decimal Money (Cents) - by Grim_ - 03.09.2010, 22:15
Re: Decimal Money (Cents) - by MrDeath537 - 03.09.2010, 22:16
Re: Decimal Money (Cents) - by Dime - 03.09.2010, 22:25
Re: Decimal Money (Cents) - by Luka P. - 03.09.2010, 22:37
Re: Decimal Money (Cents) - by Vince - 03.09.2010, 22:37
Re: Decimal Money (Cents) - by Brian_Furious - 04.09.2010, 00:26
Re: Decimal Money (Cents) - by Grim_ - 04.09.2010, 00:26
Re: Decimal Money (Cents) - by Luka P. - 04.09.2010, 00:42
Re: Decimal Money (Cents) - by Toni - 04.09.2010, 00:56
Re: Decimal Money (Cents) - by lolumadd - 04.09.2010, 01:00

Forum Jump:


Users browsing this thread: 1 Guest(s)