Errors With GATE :?? :/[FIXED]
#3


pawn Код:
//top
new brama1;
new brama2;
new brama3;
new brama4;
pawn Код:
//under
//public OnGameModeInit()

    brama1 = CreateObject(988, 2564.7642, 1484.3143, 10.7187, 0, 0, 0);
    brama2 = CreateObject(988, 2570.2002, 1484.3293, 10.7109, 0, 0, 0);
    brama3 = CreateObject(988, 2504.5476, 1603.1348, 10.7109, 0, 0, 179.5182);
    brama4 = CreateObject(988, 2509.9954, 1603.111, 10.7187, 0, 0, 180);
pawn Код:
//at the bottom of my map
forward brama();

public brama();
{
  for(new i = 0; i < GetMaxPlayers(); i++)
  {
    if(!IsPlayerConnected(i)) continue;
        {
            if (IsPlayerAdmin(i) && PlayerToPoint(10, i, 2567.2400,1483.1750,10.6719))
            {
                MoveObject(brama1, 2559.3506, 1484.3143, 10.7187, 2.5);
                MoveObject(brama2, 2575.5947, 1484.3293, 10.7109, 2.5);
                return 1;
            }
            else
            {
                MoveObject(brama1, 2564.7642, 1484.3143, 10.7187, 2.5);
                MoveObject(brama2, 2570.2002, 1484.3293, 10.7109, 2.5);
                return 1;
            }

            if (IsPlayerAdmin(i) && PlayerToPoint(10, i, 2507.3911,1603.2407,10.6748))
            {
                MoveObject(brama3, 2499.1521, 1603.1348, 10.7109, 2.5);
                MoveObject(brama4, 2515.4158, 1603.111, 10.7187, 2.5);
                return 1;
            }
            else
            {
                MoveObject(brama3, 2504.5476, 1603.1348, 10.7109, 2.5);
                MoveObject(brama4, 2509.9954, 1603.111, 10.7187, 2.5);
                return 1;
            }
        }
    }
return 0;
}
Reply


Messages In This Thread
Errors With GATE :?? :/[FIXED] - by JoeeeFm8 - 29.12.2009, 10:00
Re: Errors With GATE :?? :/ - by dice7 - 29.12.2009, 10:02
Re: Errors With GATE :?? :/ - by JoeeeFm8 - 29.12.2009, 10:08
Re: Errors With GATE :?? :/ - by dice7 - 29.12.2009, 10:11
Re: Errors With GATE :?? :/ - by JoeeeFm8 - 29.12.2009, 10:13
Re: Errors With GATE :?? :/ - by JoeeeFm8 - 29.12.2009, 10:14
Re: Errors With GATE :?? :/ - by JoeeeFm8 - 29.12.2009, 10:17

Forum Jump:


Users browsing this thread: 2 Guest(s)