Problem with rob
#3

Код:
CMD:rob(playerid, params[])
{
        if(IsPossible == 1) 
        {
                if(IsPlayerInRangeOfPoint(playerid, 3.0, 2309.3491,-14.6412,26.7422))
				{
				}
                else return SendClientMessage(playerid, red, "You must be inside");
                {
                    IsPossible = 0;
                    SetTimer("Waittimer", 300000, false); 
                    general_timer = SetTimer("RobTime", 60000, false);
                    SendClientMessage(playerid, red, "You are robbing the bank!");
                    SendClientMessage(playerid, red, "You gonna stay 19 seconds in the bank in order to rob it!");

                    gPlayerRobbing[playerid] = true;
                 }
        } else {
            SendClientMessage(playerid, red, "You can't rob the bank right now!");
        }
        return 1;
}
Reply


Messages In This Thread
Problem with rob - by Hunud - 23.08.2016, 14:52
Re: Problem with rob - by Shinja - 23.08.2016, 15:07
Re: Problem with rob - by Hunud - 23.08.2016, 16:15
Re: Problem with rob - by Shinja - 23.08.2016, 16:19
Re: Problem with rob - by DarkSkull - 23.08.2016, 16:20
Re: Problem with rob - by Shinja - 23.08.2016, 16:22
Re: Problem with rob - by DarkSkull - 23.08.2016, 16:25

Forum Jump:


Users browsing this thread: 2 Guest(s)