map doesnt change
#8

Код:
new MapChange;

forward MapTimer(playerid);

	}
	SetTimer("ChangeMap", 5000, true);
	
	MapChange = 0;

	return 1;
}

public MapTimer(playerid)
{
   MapChange ++;
   
   GameTextForAll("~y~LOADING NEW MAP", 4000, 6);
   
   SetTimer("StartingNewMap", 4000, false);

   return 1;
}

public StartNewMap()
{

   for(new i = 0; i < MAX_PLAYERS; i++) {
		SpawnPlayer(i);
		
		   switch( MapChange ) {

				  case 0: {

					   SendClientMessage(i, -1, "{FF0000}[SERVER]: The map has been changed, You can start playing now.");
				  }
				  case 1: {

					   SendClientMessage(i, -1, "{FF0000}[SERVER]: The map has been changed, You can start playing now.");
				  }
		  }
  }
  return 1;
}
Reply


Messages In This Thread
map doesnt change - by ivndosos - 27.03.2018, 14:56
Re: map doesnt change - by ForCop - 27.03.2018, 15:00
Re: map doesnt change - by ivndosos - 27.03.2018, 15:03
Re: map doesnt change - by ForCop - 27.03.2018, 15:16
Re: map doesnt change - by ivndosos - 28.03.2018, 17:17
Re: map doesnt change - by IceBilizard - 28.03.2018, 17:30
Re: map doesnt change - by AdamsLT - 28.03.2018, 17:38
Re: map doesnt change - by ivndosos - 28.03.2018, 17:45
Re: map doesnt change - by AdamsLT - 28.03.2018, 18:25
Re: map doesnt change - by ivndosos - 29.03.2018, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)