Перейти к содержанию
Авторизация  
Denisz

warning 213: tag mismatch

Рекомендуемые сообщения

Denisz

 Ошибки
https://imgur.com/a/yWx5E7O

Код

if(CP[playerid]==145)
	{
		if(jobfo[playerid] >= 1)
		{
			if(PlayerToPoint(0.5, playerid,-158.0330,-1890.1693,9.1746)//90
					||PlayerToPoint(0.5, playerid,-158.0325,-1893.3138,9.1746)
					||PlayerToPoint(0.5, playerid,-158.0325,-1897.1307,9.1746)
					||PlayerToPoint(0.5, playerid,-158.0334,-1900.9199,9.1746)
					||PlayerToPoint(0.5, playerid,-164.0524,-1890.0326,9.1746)
					||PlayerToPoint(0.5, playerid,-164.0524,-1893.5414,9.1746)
					||PlayerToPoint(0.5, playerid,-164.0524,-1896.9772,9.1746)
					||PlayerToPoint(0.5, playerid,-164.0321,-1900.8966,9.1746))
			{
				DisablePlayerCheckpoint(playerid);
				SetPlayerAttachedObject(playerid,0, 18635, 14, 0.264531, 0.121060, 0.022172, 279.757507, 164.484985, 184.886245);
				SetPlayerAttachedObject(playerid,1, 18644, 13, 0.334366, 0.015833, -0.035214, 294.913085, 188.347946, 235.000213);
				SetPlayerAttachedObject(playerid,2, 2937, 1, -0.25, 0.5, 0.0, 0.0, 70.0, 90.0);
				ClearAnimations(playerid);
				SetPlayerFacingAngle(playerid, 270.0);
				ApplyAnimation(playerid,"INT_SHOP","shop_cashier",4.1,1,0,0,0,0);
				timerfo[playerid] = SetTimerEx("fasov",10800,false,"i",playerid);
			}
			else if(PlayerToPoint(0.5, playerid,-160.5215,-1900.2539,9.1746)//270
					||PlayerToPoint(0.5, playerid,-160.5503,-1896.4900,9.1746)
					||PlayerToPoint(0.5, playerid,-160.5518,-1892.8440,9.1746)
					||PlayerToPoint(0.5, playerid,-160.5518,-1889.4160,9.1746)
					||PlayerToPoint(0.5, playerid,-166.2013,-1900.3425,9.1746)
					||PlayerToPoint(0.5, playerid,-166.2115,-1896.3318,9.1746)
					||PlayerToPoint(0.5, playerid,-166.2115,-1892.7987,9.1746)
					||PlayerToPoint(0.5, playerid,-166.2108,-1889.5712,9.1746))
			{
				DisablePlayerCheckpoint(playerid);
				SetPlayerAttachedObject(playerid,0, 18635, 14, 0.264531, 0.121060, 0.022172, 279.757507, 164.484985, 184.886245);
				SetPlayerAttachedObject(playerid,1, 18644, 13, 0.334366, 0.015833, -0.035214, 294.913085, 188.347946, 235.000213);
				SetPlayerAttachedObject(playerid,2, 2937, 1, -0.25, 0.5, 0.0, 0.0, 70.0, 90.0);
				ClearAnimations(playerid);
				SetPlayerFacingAngle(playerid, 90.0);
				ApplyAnimation(playerid,"INT_SHOP","shop_cashier",4.1,1,0,0,0,0);
				timerfo[playerid] = SetTimerEx("fasov",10800,false,"i",playerid);
			}
		}
		else
		{
			SendClientMessage(playerid,COLOR_RED,"Вы не Фрезеровщик");
			DisablePlayerCheckpoint(playerid);
			return 1;
		}
	}

В чем может быть проблема?

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Zishka

if(CP[playerid]==145)
{
if(jobfo[playerid] >= 1)
{
if(PlayerToPoint(0.5, playerid,-158.0330,-1890.1693,9.1746)//90
||PlayerToPoint(0.5, playerid,-158.0325,-1893.3138,9.1746)
||PlayerToPoint(0.5, playerid,-158.0325,-1897.1307,9.1746)
||PlayerToPoint(0.5, playerid,-158.0334,-1900.9199,9.1746)
||PlayerToPoint(0.5, playerid,-164.0524,-1890.0326,9.1746)
||PlayerToPoint(0.5, playerid,-164.0524,-1893.5414,9.1746)
||PlayerToPoint(0.5, playerid,-164.0524,-1896.9772,9.1746)
||PlayerToPoint(0.5, playerid,-164.0321,-1900.8966,9.1746))
{
DisablePlayerCheckpoint(playerid);
SetPlayerAttachedObject(playerid,0, 18635, 14, 0.264531, 0.121060, 0.022172, 279.757507, 164.484985, 184.886245);
SetPlayerAttachedObject(playerid,1, 18644, 13, 0.334366, 0.015833, -0.035214, 294.913085, 188.347946, 235.000213);
SetPlayerAttachedObject(playerid,2, 2937, 1, -0.25, 0.5, 0.0, 0.0, 70.0, 90.0);
ClearAnimations(playerid);
SetPlayerFacingAngle(playerid, 270.0);
ApplyAnimation(playerid,"INT_SHOP","shop_cashier",4.1,1,0,0,0,0);
timerfo[playerid] = SetTimerEx("fasov",10800,false,"i",playerid);
}
else if(PlayerToPoint(0.5, playerid,-160.5215,-1900.2539,9.1746)//270
||PlayerToPoint(0.5, playerid,-160.5503,-1896.4900,9.1746)
||PlayerToPoint(0.5, playerid,-160.5518,-1892.8440,9.1746)
||PlayerToPoint(0.5, playerid,-160.5518,-1889.4160,9.1746)
||PlayerToPoint(0.5, playerid,-166.2013,-1900.3425,9.1746)
||PlayerToPoint(0.5, playerid,-166.2115,-1896.3318,9.1746)
||PlayerToPoint(0.5, playerid,-166.2115,-1892.7987,9.1746)
||PlayerToPoint(0.5, playerid,-166.2108,-1889.5712,9.1746))
{
DisablePlayerCheckpoint(playerid);
SetPlayerAttachedObject(playerid,0, 18635, 14, 0.264531, 0.121060, 0.022172, 279.757507, 164.484985, 184.886245);
SetPlayerAttachedObject(playerid,1, 18644, 13, 0.334366, 0.015833, -0.035214, 294.913085, 188.347946, 235.000213);
SetPlayerAttachedObject(playerid,2, 2937, 1, -0.25, 0.5, 0.0, 0.0, 70.0, 90.0);
ClearAnimations(playerid);
SetPlayerFacingAngle(playerid, 90.0);
ApplyAnimation(playerid,"INT_SHOP","shop_cashier",4.1,1,0,0,0,0);
timerfo[playerid] = SetTimerEx("fasov",10800,false,"i",playerid);
}
}
else
{
SendClientMessage(playerid,COLOR_RED,"Вы не Фрезеровщик");
DisablePlayerCheckpoint(playerid);
return 1;
}
}

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Denisz

@Zishka,Не помогло  

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Гость
Эта тема закрыта для публикации ответов.
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×

Важная информация

Мы разместили cookie-файлы на ваше устройство, чтобы помочь сделать этот сайт лучше. Вы можете изменить свои настройки cookie-файлов, или продолжить без изменения настроек.