Command Robbank need some help (+rep)
#1

Hello I try to make Bank Robbery System but without enough information about Timers and same
I want to make when you die or get out from the bank to not give money to robber if you know how please help me.

This is my CMD:robbank

pawn Код:
CMD:robbank(playerid, params[])
{
    new string[128];
    new money = random(10000)+10000;
   
    if(PlayerInfo[playerid][pLevel] >= 5) return SendClientMessage(playerid, COLOR_YELLOW, "You must be over level 5 to rob the bank.");
    {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
        {
            format(string, sizeof(string), "You have started to setting up robbery you must wait 5 min.");
            SetTimer("robbank", 500000, false);
            GivePlayerMoney(playerid, money);
            SendClientMessage(playerid, COLOR_YELLOW, string);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Command Robbank need some help (+rep) - by RenSoprano - 28.04.2012, 11:59
Re: Command Robbank need some help (+rep) - by .FuneraL. - 28.04.2012, 12:26
Re: Command Robbank need some help (+rep) - by RenSoprano - 28.04.2012, 12:35
Re: Command Robbank need some help (+rep) - by .FuneraL. - 28.04.2012, 12:37
Re: Command Robbank need some help (+rep) - by RenSoprano - 28.04.2012, 12:44
Re: Command Robbank need some help (+rep) - by zbt - 28.04.2012, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)