Take Money away?
#5

Quote:
Originally Posted by [AC
Etch ]
Код:
new money = GetPlayerMoney(playerid);
GivePlayerMoney(playerid,money-1000);
That's the long and useless way. GivePlayerMoney allows you to take money, or give money to a user. So there's no point of using GetPlayerMoney then giving them $1000 less. The function is called GivePlayerMoney, not SetPlayerMoney.
Reply


Messages In This Thread
Take Money away? - by campkz - 05.04.2010, 21:23
Re: Take Money away? - by ~JDS - 05.04.2010, 21:35
Re: Take Money away? - by Beaver07 - 05.04.2010, 21:37
Re: Take Money away? - by aircombat - 05.04.2010, 22:32
Re: Take Money away? - by Carlton - 05.04.2010, 22:35
Re: Take Money away? - by Joe Staff - 05.04.2010, 22:36
Re: Take Money away? - by Beaver07 - 05.04.2010, 22:42
Re: Take Money away? - by Joe_ - 05.04.2010, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)