[SOLVED] Problem with /stats, Money donґt save.
#8

SetPlayerMoney is not a native function
Use GivePlayerMoney instead.
Код:
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,amount);
Or easier,let's define SetPlayerMoney :P
Код:
forward SetPlayerMoney(playerid,amount);
public SetPlayerMoney(playerid,amount)
{
  ResetPlayerMoney(playerid);
  GivePlayerMoney(playerid,amount);
  return 1;
}
Now you can use SetPlayerMoney.
Reply


Messages In This Thread
[SOLVED] Problem with /stats, Money donґt save. - by Flashy - 01.06.2010, 20:09
Re: Problem with /stats, Money donґt save. - by Naxix - 01.06.2010, 20:14
Re: Problem with /stats, Money donґt save. - by Flashy - 01.06.2010, 20:21
Re: Problem with /stats, Money donґt save. - by Naxix - 01.06.2010, 20:21
Re: Problem with /stats, Money donґt save. - by Flashy - 01.06.2010, 20:45
Re: Problem with /stats, Money donґt save. - by aircombat - 01.06.2010, 20:56
Re: Problem with /stats, Money donґt save. - by Flashy - 02.06.2010, 07:18
Re: Problem with /stats, Money donґt save. - by DJDhan - 02.06.2010, 07:21
Re: Problem with /stats, Money donґt save. - by Flashy - 02.06.2010, 07:31
Re: Problem with /stats, Money donґt save. - by Flashy - 02.06.2010, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)