Bank Robbery
#3

pawn Код:
public robtimer(playerid)
{
        if(!IsPlayerInRangeOfPoint(playerid, 4.0, 2309.1899,-8.4444,26.7422))
        {
         SendClientMessage(playerid, -1, "You failed to rob the bank");
         return 1;
         }
    new string[128];
    new cash = random(200000);
    GivePlayerMoney(playerid, cash);

    format(string, sizeof(string), "You have successfully robbed $%d from the bank!", cash);
    SendClientMessage(playerid, COLOR_WHITE, string);
}
Reply


Messages In This Thread
Bank Robbery - by ScriptFohLife - 22.07.2014, 20:37
Re: Bank Robbery - by Sammi_Jackson - 22.07.2014, 21:09
Re: Bank Robbery - by LivingLikeYouDo - 22.07.2014, 21:13
Re: Bank Robbery - by ScriptFohLife - 22.07.2014, 21:40
Re: Bank Robbery - by DavidKember - 22.07.2014, 21:44
Re: Bank Robbery - by driftpower - 22.07.2014, 21:54

Forum Jump:


Users browsing this thread: 2 Guest(s)