Gates Problem
#6

Better add the

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 30.0, 1582.05, -1396.40, 13.01))
    {
        MoveObject(FBIgate3, 1581.88, -1390.51, 14.65, 5, 0.0, 0.0, 137.96);
    }
    else
    {
        MoveObject(FBIgate3, 1582.39, -1396.11, 14.65, 5, 0.00, 0.00, -132.18);
    }
    if(IsPlayerInRangeOfPoint(playerid, 30.0, 1507.85, -1312.98, 13.74))
    {
        MoveObject(FBIgate2, 1503.47, -1316.99, 14.56, 5, 0.0, 0.0, 264.33);
    }
    else
    {
        MoveObject(FBIgate2, 1507.83, -1312.95, 14.56, 5, 0.00, 0.00, 359.25);
    }
    if(IsPlayerInRangeOfPoint(playerid, 30.0, 1594.55, -1313.20, 16.45))
    {
        MoveObject(FBIgate1, 1588.82, -1312.25, 18.07, 5, 0.0, 0.0, 206.24);
    }
    else
    {
        MoveObject(FBIgate1, 1594.76, -1313.24, 18.07, 5, 0.00, 0.00, 310.74);
    }
    return 1;
At a TimerEx instead of a global timer
Reply


Messages In This Thread
Gates Problem - by wilko1995 - 18.05.2012, 11:01
Re: Gates Problem - by milanosie - 18.05.2012, 11:03
Re: Gates Problem - by wilko1995 - 18.05.2012, 11:20
Re: Gates Problem - by milanosie - 18.05.2012, 11:23
Re: Gates Problem - by wilko1995 - 18.05.2012, 11:38
Re: Gates Problem - by milanosie - 18.05.2012, 11:39
Re: Gates Problem - by wilko1995 - 18.05.2012, 11:44
Re: Gates Problem - by milanosie - 18.05.2012, 11:45
Re: Gates Problem - by wilko1995 - 18.05.2012, 12:01
Re: Gates Problem - by milanosie - 18.05.2012, 12:03

Forum Jump:


Users browsing this thread: 3 Guest(s)