Weird Checkpoint Problems
#3

Quote:
Originally Posted by Clad
Посмотреть сообщение
You didn't create the Dynamic CP right.
pawn Код:
public OnPlayerConnect(playerid)
{
    CP_pizza = CreateDynamicCP( 378.2259, -114.4946, 1001.4922, 2.0,-1, -1, -1, 40.0););
    return 1;
}
pawn Код:
CMD:robpizza(playerid, params[])
{
    if(!IsPlayerInDynamicCP(playerid, CP_pizza)) return SendClientMessage(playerid, COLOR_RED,"You are not in ....");
    {
        if(pizzarobbedrecently >=1) //checking if tatoo shop has been robbed recently
        {
            SendClientMessage(playerid, COLOR_RED, "Well Stacked Pizza has been robbed recently"); // sending error message
        }
        ROBBING_PIZZA[playerid] = 60; // setting the robbery timer
        pizzarobbedrecently =180; // Time the players needs to wait for starting an another robbery in the same place
    }
    return 1;
}
Can you atleast make me an example please, i really need this
Reply


Messages In This Thread
Weird Checkpoint Problems - by 123bob123 - 06.08.2014, 10:57
Re : Weird Checkpoint Problems - by Clad - 06.08.2014, 11:30
Re: Re : Weird Checkpoint Problems - by 123bob123 - 06.08.2014, 12:12
Re: Weird Checkpoint Problems - by 123bob123 - 06.08.2014, 13:36
Re: Weird Checkpoint Problems - by 123bob123 - 06.08.2014, 18:42
Re: Weird Checkpoint Problems - by 123bob123 - 07.08.2014, 08:28
Re: Re : Weird Checkpoint Problems - by Clad - 07.08.2014, 11:59
Re: Re : Weird Checkpoint Problems - by 123bob123 - 07.08.2014, 12:31
Re: Weird Checkpoint Problems - by Clad - 07.08.2014, 12:34
Re: Re : Weird Checkpoint Problems - by Hammomd - 09.08.2014, 08:48

Forum Jump:


Users browsing this thread: 2 Guest(s)