PocketMoney
#1

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
Reply
#2

do you ever give the money?
Reply
#3

GivePlayerMoney(playerid,PocketMoney);

post in OnPlayerSpawn
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)