[HELP] Money System
#4

pawn Код:
stock MoneyPlus(playerid, amount)
{
  PlayerCash[playerid]+=amount;
}
stock MoneyMinus(playerid, amount)
{
  if(PlayerCash[playerid]-amount>=0)
  {
    PlayerCash[playerid]-=amount;
    return 1;
  }
  return 0;
}
Just a example to the one above.
Reply


Messages In This Thread
[HELP] Money System - by sacman - 28.11.2009, 06:59
Re: [HELP] Money System - by miokie - 28.11.2009, 11:41
Re: [HELP] Money System - by sacman - 02.12.2009, 05:04
Re: [HELP] Money System - by Extremo - 02.12.2009, 06:30
Re: [HELP] Money System - by Doktor - 02.12.2009, 08:01
Re: [HELP] Money System - by sacman - 02.12.2009, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)