Gate Isnt Closing?
#10

This is what i got so far.

Код:
  	if(strcmp("/Modshopgate", cmdtext, true) == 0)
	{
    	if(garage_status == 1)
    	{
    		MoveObject(garage, 1694.30664062,758.06933594,15.19236946, 2.0);
    		GameTextForPlayer(playerid, "Garage ~r~opening", 5000, 6);
    		PlayerPlaySound(playerid,1057,0,0,0);
    		garage_status = 0;
   		}
   		else if(garage_status == 0)
				{
     				MoveObject(garage, 1694.30664062,758.06933594,11.65923691,  2.0);
					GameTextForPlayer(playerid, "Garage ~r~closing", 5000, 6);
					PlayerPlaySound(playerid,1057,0,0,0);
					garage_status = 1;
				}
			}
		return 1;
	}
But it crashes Pawno. I think its indenting. Whats wrong?
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: 1 Guest(s)