28.03.2018, 17:45
Код:
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; }