Gate Isnt Closing?
#1

So here are my two commands

Код:
	if(strcmp("/Modshopgateopen", cmdtext, true, 10) == 0)
	{
 			MoveObject(garage, 1694.30664062,758.06933594,15.19236946, 2.0);
 			GameTextForPlayer(playerid, "Garage ~r~opening", 5000, 6);
 			new Float:pX, Float:pY, Float:pZ;
			PlayerPlaySound(playerid,1057,pX,pY,pZ);
    		return 1;
	}
	if(strcmp("/Modshopgateclose", cmdtext, true, 10) == 0)
	{
 			MoveObject(garage, 1694.30664062,758.06933594,11.65923691,  2.0);
 			GameTextForPlayer(playerid, "Garage ~g~closing", 5000, 6);
 			new Float:pX, Float:pY, Float:pZ;
			PlayerPlaySound(playerid,1057,pX,pY,pZ);
   			return 1;
   	}
The first one works but the second one dosnt. it says gate closing but it dosnt close. Whys that?
Reply


Messages In This Thread
Gate Isnt Closing? - by Shockey HD - 20.07.2011, 05:00
Re: Gate Isnt Closing? - by Backwardsman97 - 20.07.2011, 05:25
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 05:50
Re: Gate Isnt Closing? - by PotH3Ad - 20.07.2011, 05:54
Re: Gate Isnt Closing? - by XGh0stz - 20.07.2011, 05:55
Re: Gate Isnt Closing? - by Backwardsman97 - 20.07.2011, 06:30
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 06:57
Re: Gate Isnt Closing? - by [MG]Dimi - 20.07.2011, 07:00
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 07:07
Re: Gate Isnt Closing? - by Shockey HD - 20.07.2011, 07:19

Forum Jump:


Users browsing this thread: 4 Guest(s)