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=68570)



PocketMoney - Puzi - 11.03.2009

Hi, I have entered this in pawno into my gamemode:

Код:
#define PocketMoney 50000
That line should give 50,000 cash at the start of the game. Unfortunately, when i enter the game and test the map, there is no 50,000 but 00000... Can someone help? I would appreciate some help, if possible

Puzi


Re: PocketMoney - Zoopaman - 11.03.2009

do you ever give the money?


Re: PocketMoney - CJ101 - 11.03.2009

GivePlayerMoney(playerid,PocketMoney);

post in OnPlayerSpawn


Re: PocketMoney - Coicatak - 12.03.2009

Use this callback, for more infos: https://sampwiki.blast.hk/wiki/OnPlayerSpawn
pawn Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerMoney(playerid, pocketmoney);
    return 1;
}