Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

[Вопрос] Как исправить ошибки

Статус
В этой теме нельзя размещать новые ответы.

Seone

Ученик
Помогите исправить вот эти ошибки.

PHP:
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17189) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17193) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17197) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17201) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17205) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17209) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17212) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(17215) : warning 217: loose indentation
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(38268) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(38268) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(46730) : warning 204: symbol is assigned a value that is never used: "BanaIP"
C:\Documents and Settings\Администратор\Рабочий стол\RolePlay.pwn(47251) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


12 Warnings.
PHP:
SetWeather(0);
PHP:
SetWeather(15);
PHP:
SetWeather(15);
PHP:
SetWeather(18);
PHP:
SetWeather(0);
PHP:
SetWeather(Pogoda);
PHP:
SetWeather(Pogoda);
PHP:
SetWeather(Pogoda);
PHP:
ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
PHP:
PHP:
new BanaIP = PlayerInfo[giveplayerid][pBanaIP];
PHP:
return true;

PHP:
		new rand = 5 + random(15);
	new rand1 = 1 + random(7);
	new time[512];
	new atext[32];
	if(rand1 == 0) { atext = "Яркую сухую погоду";
		SetWeather(0);
		Pogoda = 0;
	}
	else if(rand1 == 1) { atext = "Дождь либо грозу";
		SetWeather(15);
		Pogoda = 8;
	}
	else if(rand1 == 2) { atext = "Сильный туман";
		SetWeather(15);
		Pogoda = 9;
	}
	else if(rand1 == 3) { atext = "Песчаную бурю";
		SetWeather(18);
		Pogoda = 19;
	}
	else if(rand1 == 4) { atext = "Яркую солнечную погоду";
		SetWeather(0);
		Pogoda = 1;
	}
	else if(rand1 == 5) { atext = "Погоду без изменений";
		SetWeather(Pogoda);
	}
	else if(rand1 == 6) { atext = "Погоду без изменений";
		SetWeather(Pogoda);
	}
	else if(rand1 == 7) { atext = "Погоду без изменений";
		SetWeather(Pogoda);
	}
	SendClientMessage(playerid,COLOR_RED,"{2EC010}---========== Новости погоды ==========---");
	format(time,sizeof(time),"{2EC010}Через %d минут синоптики прогнозируют:{FFFFFF} %s",rand,atext);
	SetTimer("ApllayWeathe", 1000*60*rand, 0);
	SendClientMessage(playerid,COLOR_RED,time);

	return true;
}
PHP:
new Float:angle;
							GetPlayerFacingAngle(playerid, angle);
							SetPlayerFacingAngle(giveplayerid, angle + 180);
							GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
							GetPlayerName(playerid, sendername, sizeof(sendername));
							format(string, sizeof(string), "%s поцеловал(а) %s", sendername ,giveplayer);
							ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
							ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 3.0, 0, 0, 0, 0, 0);
							ApplyAnimation(giveplayerid, "KISSING", "Playa_Kiss_02", 3.0, 0, 0, 0, 0, 0);
							return true;
PHP:
new kicka = PlayerInfo[giveplayerid][pKicka];
				new bana = PlayerInfo[giveplayerid][pBana];
				new warna = PlayerInfo[giveplayerid][pWarna];
				new BanaIP = PlayerInfo[giveplayerid][pBanaIP];
				new player[256];
				GetPlayerIp(playerid, player, sizeof(player));
				new coordsstring[500];
				giveplayerid = strval(tmp);
				if(!strlen(tmp))
PHP:
	if(strcmp(cmd, "/cput", true) == 0)
	{
		if(IsACop(playerid) || PlayerInfo[playerid][pMember] == 2) return true;
		if(PlayerTied[playerid] > 0)return SendClientMessage(playerid, COLOR_RED, "Сотрудник полиции насильно затащил(а) Вас в автомобиль!");
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))return SendClientMessage(playerid, COLOR_RED, "Используйте: /cput [ID] [Место 1-3]");
		giveplayerid = ReturnUser(tmp);
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))return SendClientMessage(playerid, COLOR_RED, "Используйте: /cput [ID] [Место 1-3]");
		new seatid = strval(tmp);
		{
			if(!ProxDetectorS(8.0, playerid, giveplayerid))return SendClientMessage(playerid, COLOR_GRAD1, "[Ошибка]Необходимо находится рядом друг с другом!");
			PutPlayerInVehicle(giveplayerid, vehicleid, seatid);
			return true;
		}
		return true;
	}
	if(strcmp(cmd, "/ceject", true) == 0)
	{
 
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу