map doesnt change
#4

Quote:
Originally Posted by ivndosos
Посмотреть сообщение
doesnt work
Код:
public OnPlayerSpawn(playerid)
{
	switch( MapChange ) {// русскии попробуи так
	case 0: {

			switch(random(9)){
			case 0: SetPlayerPos(playerid, 2161.4529,-1639.9576,14.2731);
			case 1: SetPlayerPos(playerid, 2250.9717,-1650.3555,15.4772);
			case 2: SetPlayerPos(playerid, 2245.1152,-1704.1963,22.8594);
			case 3: SetPlayerPos(playerid, 2317.3740,-1748.8496,13.3822);
			case 4: SetPlayerPos(playerid, 2352.1912,-1673.8510,13.5314);
			case 5: SetPlayerPos(playerid, 2427.8057,-1612.1277,26.6325);
			case 6: SetPlayerPos(playerid, 2513.1516,-1659.7305,13.6431);
			case 7: SetPlayerPos(playerid, 2522.6194,-1752.0939,13.5469);
			case 8: SetPlayerPos(playerid, 2463.5796,-1794.1737,13.6728);
			}

			SetPlayerFacingAngle(playerid, gMapSpawns1[gMap1][2]);
		}
	case 1: {
			switch(random(9)){
			case 0: SetPlayerPos(playerid, 2229.6516,-1141.5068,25.7969);
			case 1: SetPlayerPos(playerid, 2197.3640,-1082.5574,39.3104);
			case 2: SetPlayerPos(playerid, 2223.5845,-1051.4462,48.1517);
			case 3: SetPlayerPos(playerid, 2207.5991,-1008.9668,61.5210);
			case 4: SetPlayerPos(playerid, 2143.5073,-1004.4036,61.9231);
			case 5: SetPlayerPos(playerid, 2427.8057,-1612.1277,26.6325);
			case 6: SetPlayerPos(playerid, 2081.8887,-1049.0695,30.9284);
			case 7: SetPlayerPos(playerid, 2052.9575,-1105.6431,24.4322);
			case 8: SetPlayerPos(playerid, 2040.0748,-1217.9811,22.8408);
                        }
			
                        SetPlayerFacingAngle(playerid, gMapSpawns2[gMap2][2]);
		}
	}
	return true;
}
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: 2 Guest(s)