17.10.2012, 15:24
Ya lo arregle pero ahora tengo un problema con esto que es el resto del script.
Код:
if( playerData[playerid][p_x_min] > x || playerData[playerid][p_x_max] < x || playerData[playerid][p_x_min] > y || playerData[playerid][p_y_max] < y ) { switch( playerData[playerid][p_boundcount] ) // esta linea da problemas al compilar { case 0: { GameTextForPlayer( playerid, "~r~Come back: ~y~3" 1000, 3 ); playerData[playerid][p_boundcount] = 1; } case 1: { GameTextForPlayer( playerid, "~r~Come back: ~y~2" 1000, 3 ); playerData[playerid][p_boundcount] = 2; } case 2: { GameTextForPlayer( playerid, "~r~Come back: ~y~1" 1000, 3 ); playerData[playerid][p_boundcount] = 3; } case 3: { GameTextForPlayer( playerid, "~r~Come back: ~y~0" 1000, 3 ); playerData[playerid][p_boundcount] = 0; if ( playerData[ playerid ][ p_selecting ] ) playerData[ playerid ][ p_selecting ] = false; playerData[ playerid ][ p_spawn ] = LOBBY; SetPlayerPos( playerid, 0, 0, 0 ); SpawnLobby ( playerid, 1 ); teamData[ playerData[ playerid ][ p_team ] ][ t_players ]--; setsChoises[ playerData[ playerid ][ p_team ] ][ Var1[playerid] ]--; new info[ 128 ]; format( info, sizeof( info ), "***\"%s\" has been removed from round ( World Bounds ).", playerData[ playerid ][ p_name ] ); SendClientMessageToAll( ADMIN_COLOR, info ); } } }