A other moveobject/gate problem.
#8

This is the right code.

Код:
if(strcmp(cmdtext,"/opengate", true) == 0)
  {
   if (gTeam[playerid] == TEAM_GROVE)
   {
		 if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
		 {
 	   MoveObject(hqgate, 289.919067, -1547.427734, 27.193420, 1.500000);
     return 1;
     }
  }
}

if(strcmp(cmdtext,"/closegate", true) == 0)
  {
   if (gTeam[playerid] == TEAM_GROVE)
   {
		 if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
		 {
 	   MoveObject(hqgate, 283.870544, -1543.398804, 27.193420, 1.500000);
     return 1;
     }
  }
}
You just went in and had a Copy and Paste Free For All
Reply


Messages In This Thread
A other moveobject/gate problem. - by Noner - 08.07.2011, 13:00
Re: A other moveobject/gate problem. - by HayZatic - 08.07.2011, 13:05
AW: A other moveobject/gate problem. - by Gomma - 08.07.2011, 13:09
Re: A other moveobject/gate problem. - by [HiC]TheKiller - 08.07.2011, 13:09
Re: A other moveobject/gate problem. - by Noner - 08.07.2011, 13:14
Re: A other moveobject/gate problem. - by HayZatic - 08.07.2011, 13:16
Re: A other moveobject/gate problem. - by Noner - 08.07.2011, 13:17
Re: A other moveobject/gate problem. - by HayZatic - 08.07.2011, 13:25
Re: A other moveobject/gate problem. - by Noner - 08.07.2011, 14:13

Forum Jump:


Users browsing this thread: 3 Guest(s)