3 Times PlayerToPoint
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        if(strcmp(cmdtext,"/anglzopen",true) == 0)
            {
            if(PlayerToPoint(8,playerid,-2127.4109, -80.8272, 37.0937))
            {
            MoveObject(anglzg1,-2127.4109, -80.8272, 0.00, 4);
            SetTimer("SluitAnglzGate",3000,0);
            return 1;
            }
            if(PlayerToPoint(8,playerid,-2041.2590, -252.2284, 37.0937))
            {
            MoveObject(anglzg2,-2041.2590, -252.2284, 0.00, 4);
            SetTimer("SluitAnglzGate",3000,0);
             return 1;
            }
           
            if(PlayerToPoint(8,playerid,-2040.4067, -141.8324, 37.0937))
            {
            MoveObject(anglzg2,-2040.4067, -141.8324, 0.00, 4);
            SetTimer("SluitAnglzGate",3000,0);
              return 1;
            }
           
           
            }
           
      return 0;
}
This should work
Reply


Messages In This Thread
3 Times PlayerToPoint - by Mujib - 25.10.2009, 19:37
Re: 3 Times PlayerToPoint - by Hiitch - 25.10.2009, 19:37
Re: 3 Times PlayerToPoint - by Mujib - 25.10.2009, 19:40
Re: 3 Times PlayerToPoint - by Peter_Corneile - 25.10.2009, 19:40
Re: 3 Times PlayerToPoint - by Mujib - 25.10.2009, 19:42
Re: 3 Times PlayerToPoint - by Peter_Corneile - 25.10.2009, 19:46

Forum Jump:


Users browsing this thread: 1 Guest(s)