moving gate
#4

An example would be:

pawn Код:
CMD:movegate(playerid)
{
      if(IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z) MoveObject(Gate, X, Y, Z);
      else if(IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z) MoveObject(Gate, X, Y, Z);
      else if(IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z) MoveObject(Gate, X, Y, Z);
       else SendClientMessage(playerid, COLOUR, YOur arnt in range of a movable gate."):
       return 1;
}
Reply


Messages In This Thread
moving gate - by Jordiee - 15.11.2011, 21:38
Re: moving gate - by IceCube! - 15.11.2011, 21:50
Re: moving gate - by Jordiee - 15.11.2011, 21:52
Re: moving gate - by IceCube! - 15.11.2011, 22:32
Re: moving gate - by Jordiee - 16.11.2011, 12:48
Re: moving gate - by Qur - 16.11.2011, 13:17
Re: moving gate - by Jordiee - 16.11.2011, 14:46
Re: moving gate - by CSSI - 16.11.2011, 14:58
Re: moving gate - by Jordiee - 16.11.2011, 15:02
Re: moving gate - by Qur - 16.11.2011, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)