Gates Problem
#7

Код:
if(strcmp(cmdtext, "/gate", true) == 0)
	{
	    if(IsPlayerInRangeOfPoint(playerid,9,1588.3058,-1637.9652,13.4227))
		{ // TFA Gate
		    if(!IsACop(playerid) && !IsABH(playerid)) return SendClientMessage(playerid,COLOR_GREY,"   You are not a Cop / TFA / SAST / BH!");
	    	if(pdgategar==0)
		   	{
		    	pdgategar = 1;
	   			MoveObject(pdgaragegateobj, 1588.965698, -1637.882690, 7.710285, 1.50);
       			format(string, sizeof(string), "* %s take the remove out and press the the button for open the gate", sendername);
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	   		}
	   		else if(pdgategar==1)
	  		{
	   			pdgategar = 0;
	   			MoveObject(pdgaragegateobj, 1588.965698, -1637.882690, 15.260185, 1.50);
       			format(string, sizeof(string), "* %s take the remove out and press the the button for close the gate", sendername);
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	  		}
		}
Reply


Messages In This Thread
Gates Problem - by Eugene. - 20.01.2012, 16:08
Re: Gates Problem - by Guest9328472398472 - 20.01.2012, 16:23
Re: Gates Problem - by Eugene. - 20.01.2012, 21:12
Re: Gates Problem - by Guest9328472398472 - 20.01.2012, 21:20
Re: Gates Problem - by Eugene. - 20.01.2012, 21:22
Re: Gates Problem - by Guest9328472398472 - 20.01.2012, 21:40
Re: Gates Problem - by Eugene. - 20.01.2012, 21:44
Re: Gates Problem - by Eugene. - 22.01.2012, 20:47
Re: Gates Problem - by Eugene. - 26.01.2012, 06:07
Re: Gates Problem - by Ahrim - 26.01.2012, 06:17

Forum Jump:


Users browsing this thread: 1 Guest(s)