Money Help
#1

How I can Make this:

If the player enter to the checkpoint remove $7000 to the player
If the player doesn't have it the return: You have insufficient founds
Reply
#2

pawn Код:
public OnPlayerEnterCheckpoint(....)
{
    if(GetPlayerMoney(playerid) < 70000) return SendClientMessage(playerid, COLOR_RED, "You have insufficient founds!");

    GivePlayerMoney(playerid, - 70000);
    return 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)