Pay at toll
#8

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
pawn Код:
public Gates7Check(playerid)
{
    new gates7_status;
    for(new all = 0; all<MAX_PLAYERS; all++)
    {
        if(!IsPlayerConnected(all)) continue;
        if(IsPlayerInRangeOfPoint(all,10.0, -1674.90002441, 548.09997559, 38.90000153))
        {
            gates7_status=1;
            if(!GetPVarInt(all, "TollPaid"))
            {
                GivePlayerMoney(all,-20);
                SendClientMessage(all,0xFFFAAA,"You Have paid for toll.");
                SetPVarInt(all, "TollPaid", 1);
            }
        }
        else
        {
            SetPVarInt(all, "TollPaid", 0);
        }
    }
    if(gates7_status) MoveObject(gates7, -1674.90002441, 548.09997559, 34.90000153, 0.5);
    else MoveObject(gates7, -1674.90002441, 548.09997559, 38.90000153, 6.5);
}
same pay take so long i wait toll open
Reply


Messages In This Thread
Pay at toll - by livests - 26.06.2012, 11:34
Re: Pay at toll - by [MM]RoXoR[FS] - 26.06.2012, 11:41
Re: Pay at toll - by Dan_Barocu - 26.06.2012, 11:45
Re: Pay at toll - by livests - 26.06.2012, 12:00
Re: Pay at toll - by livests - 26.06.2012, 12:26
Re: Pay at toll - by Dan_Barocu - 26.06.2012, 12:33
Re: Pay at toll - by MadeMan - 26.06.2012, 13:53
Re: Pay at toll - by livests - 26.06.2012, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)