GivePlayerCash - On Mod garages.
#7

You get the message in the console/server log because you check if the registered money are not the same as the amount GetPlayerMoney returns. So check if the money is more than the registered money and then print the message:
pawn Код:
if (money > GetPlayerCash(i))
{
    GetPlayerName(i,username,sizeof(username));
    printf("%s has picked up/attempted to spawn $%d.", username, money - GetPlayerCash(i));
}
Reply


Messages In This Thread
GivePlayerCash - On Mod garages. - by CharlieSanchez - 22.04.2014, 13:12
Re: GivePlayerCash - On Mod garages. - by Konstantinos - 22.04.2014, 13:45
Re: GivePlayerCash - On Mod garages. - by CharlieSanchez - 22.04.2014, 13:56
Re: GivePlayerCash - On Mod garages. - by Konstantinos - 22.04.2014, 14:05
Re: GivePlayerCash - On Mod garages. - by CharlieSanchez - 22.04.2014, 14:12
Re: GivePlayerCash - On Mod garages. - by CharlieSanchez - 22.04.2014, 14:35
Re: GivePlayerCash - On Mod garages. - by Konstantinos - 22.04.2014, 14:52
Re: GivePlayerCash - On Mod garages. - by CharlieSanchez - 22.04.2014, 15:51

Forum Jump:


Users browsing this thread: 3 Guest(s)