03.12.2015, 11:23
Суть проблемы: Первый игрок ввел команду - его тпшнуло. второй ввел команду - ему сменило virtualworld,interior Но не тпшнуло... помогите пожалуйста.
Код:
switch(BoxJoined) { case 0: { BoxPlayers++; BoxJoined = 1; SetPlayerInterior(playerid,7); SetPlayerVirtualWorld(playerid,995); SetPlayerPos(playerid,764.5961,-70.8620,1001.5692); SetPlayerFacingAngle(playerid,308.3230); BoxPosition[1] = 1; PlayerBoxPos[playerid] = 1; PlayerInBox[playerid] = 1; BoxCount = 30; SetTimer("BoxStart", 999, 0 ); SendClientMessageToAll(-1,"{15F9C8}BOX: Áîêñ ñòàðòóåò ÷åðåç 30 Ñåêóíä! Ó Âàñ åñòü âðåìÿ çàéòè! {C3C3C3}/box"); } case 1: { PlayerInBox[playerid] = 1; for(new i = 0; i < 9; i++ ) { if(BoxPosition[i] == 0) { BoxPosition[i] = 1; PlayerBoxPos[playerid] = i; break; } } SetPlayerInterior(playerid,7); SetPlayerVirtualWorld(playerid,995); switch(PlayerBoxPos[playerid]) { case 1:SetPlayerPos(playerid,764.5961,-70.8620,1001.5692),SetPlayerFacingAngle(playerid,308.3230); case 2:SetPlayerPos(playerid,768.8563,-71.0128,1001.5692),SetPlayerFacingAngle(playerid,47.7954); case 3:SetPlayerPos(playerid,768.6998,-66.6041,1001.5692),SetPlayerFacingAngle(playerid,135.5295); case 4:SetPlayerPos(playerid,764.5283,-66.5373,1001.5692),SetPlayerFacingAngle(playerid,223.8904); case 5:SetPlayerPos(playerid,766.5794,-66.1986,1001.5692),SetPlayerFacingAngle(playerid,177.0583); case 6:SetPlayerPos(playerid,766.4278,-71.0890,1001.5692),SetPlayerFacingAngle(playerid,358.3117); case 7:SetPlayerPos(playerid,769.1359,-68.4574,1001.5692),SetPlayerFacingAngle(playerid,90.1193); case 8:SetPlayerPos(playerid, 766.9356,-66.1988,1001.5692),SetPlayerFacingAngle(playerid,181.6134); } } }