Opentoll.
#2

pawn Код:
//Toll2
CMD:opentoll(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 15.0, 64.80750, -1536.94873, 4.98270))
    {
        SetTimerEx("CloseGate2", 7000, false, "i", playerid);
        MoveObject(Toll1,64.80750, -1536.94873, 4.98270, 3.0,  0.00000, 0.00000, -90.08000);
        return SendClientMessage(playerid, -1, "Thank you it cost you {FF0000}[50$]");
    }
    return 1;
}
Rename that one to "opentoll2"(Or w.e you want the command to be called, but there can't be two commands with the same name..)
So it would be
pawn Код:
//Toll2
CMD:opentoll2(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 15.0, 64.80750, -1536.94873, 4.98270))
    {
        SetTimerEx("CloseGate2", 7000, false, "i", playerid);
        MoveObject(Toll1,64.80750, -1536.94873, 4.98270, 3.0,  0.00000, 0.00000, -90.08000);
        return SendClientMessage(playerid, -1, "Thank you it cost you {FF0000}[50$]");
    }
    return 1;
}
Reply


Messages In This Thread
Opentoll. - by Jesper00 - 30.11.2013, 17:48
Re: Opentoll. - by Kyance - 30.11.2013, 17:50
Re: Opentoll. - by J4mmyHD - 30.11.2013, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)