SA-MP Forums Archive
Pocketmoney - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pocketmoney (/showthread.php?tid=85706)



Pocketmoney - GforceNL - 09.07.2009

Hey,
Iam working on mij new Gamemode but i dont know how i set pocket money?

Somebody knows
i have this:"
Код:
#define Pocketmoney 7500

public OnPlayerConnect(playerid)
{
  SetPlayerMoney(playerid, PocketMoney);
  return 1;
}
but its gives a Error

Код:
GDM.pwn(267) : error 017: undefined symbol "SetPlayerMoney"
Can someone help me




Re: Pocketmoney - Abernethy - 09.07.2009

It is
pawn Код:
GivePlayerMoney(playerid, POCKETMONEY /*OR, 7500*/);



Re: Pocketmoney - GforceNL - 09.07.2009

Quote:
Originally Posted by Abernethy
It is
pawn Код:
GivePlayerMoney(playerid, POCKETMONEY /*OR, 7500*/);
Thanks you Realy helped me