auto gate
#1

what is this code problem?this works only for id 1 and upper.

Код:
public areagatecheck()
{
 	foreach(Player, i){
  	if(i < 101){
 		if(IsPlayerInRangeOfPoint(i, 15, 134.7061, 1941.5814, 21.6600)){
            if(gTeam[i] == TEAM_Internationalforces){
          		MoveObject(areagate1, 121.6021, 1941.5845, 21.6600, 5);}}
        else MoveObject(areagate1, 134.7061, 1941.5814, 21.6600, 5);
        if(IsPlayerInRangeOfPoint(i, 15, 286.0547, 1819.8330, 19.9611)){
            if(gTeam[i] == TEAM_Internationalforces){
          		MoveObject(areagate2, 286.0697, 1833.7720, 19.9611, 5);}}
   		else MoveObject(areagate2, 286.05475, 1819.83301, 19.96110, 5);
        return;}}}
Reply


Messages In This Thread
auto gate - by GeneralAref - 26.01.2016, 18:26
Re: auto gate - by Sascha - 26.01.2016, 18:48
Re: auto gate - by Vince - 26.01.2016, 20:06
Re: auto gate - by GeneralAref - 27.01.2016, 13:58
Re: auto gate - by VVWVV - 27.01.2016, 14:39
Re: auto gate - by GeneralAref - 27.01.2016, 18:15
Re: auto gate - by itsCody - 27.01.2016, 18:18
Re: auto gate - by GeneralAref - 28.01.2016, 05:18
Re: auto gate - by GeneralAref - 28.01.2016, 06:37
Re: auto gate - by N0FeaR - 28.01.2016, 06:46

Forum Jump:


Users browsing this thread: 1 Guest(s)