Same command, different jobs
#1

Код:
		if(strcmp("/lift", cmdtext, true) == 0)
		{
    if(IsPlayerInRangeOfPoint(playerid, 50, -2464.9296875,1522.9167480469,27.570457458496))
    {
      MoveObject(boatlift,-2464.9296875,1522.9167480469,27.570457458496, 2.0);
      SetTimer("gate1",35000,false);
      return 1;
		}
		else
		{
		SendClientMessage(playerid, COLOR_BLUE, "You Are Not Close Enough To The Lift(San Fierro Freight Boat)");
    return 1;
    }
How could i make that so that if you do /lift again, it will take the object back to where it was?
Reply


Messages In This Thread
Same command, different jobs - by cozza123456 - 22.03.2010, 16:33
Re: Same command, different jobs - by ACERS - 22.03.2010, 16:38
Re: Same command, different jobs - by jameskmonger - 22.03.2010, 16:42
Re: Same command, different jobs - by cozza123456 - 22.03.2010, 16:57
Re: Same command, different jobs - by MadeMan - 22.03.2010, 17:01
Re: Same command, different jobs - by 147rafa147 - 28.03.2010, 13:28
Re: Same command, different jobs - by cozza123456 - 28.03.2010, 13:30

Forum Jump:


Users browsing this thread: 2 Guest(s)