shape1
shape2
shape3
shape4
shape7
shape8

Проблема.

Статус
Закрыто для дальнейших ответов.

Joe

Новичок
Пользователь
20.09.2014
170
11
0
27
проблему почти решил не могу понять что за ошибка:

C:\Users\admin\Desktop\??????\gamemodes\111.pwn(4844) : warning 213: tag mismatch

код:

trailer = PlayerInfo[playerid][pTrailer];                                        <----------------------------------------------------- вот эта 4844
if(trailer !=255)
{
 
  
 if(Snew pawnChange[playerid]) //???? =1 ?? ????? ???????? ????
   {
SetPlayerToTeamColor(playerid);
return 1;
}
}
if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//?????
{
   SetPlayerToTeamColor(playerid);
   SetPlayerInterior(playerid, 0);
   SetPlayerPos(playerid, 1907.1714,-2235.4653,11.2457);
   PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 0;
   return 1;
}
   if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//COP
{
   SetPlayerToTeamColor(playerid);
   SetPlayerInterior(playerid, 0);
   SetPlayerPos(playerid, 2561.2288,-2427.7576,22.0044);
   PlayerInfo[playerid][pInt] = 0;
   return 1;
}
        if (PlayerInfo[playerid][pMember] == 23 || PlayerInfo[playerid][pLeader] == 23)//COP2
{
   SetPlayerToTeamColor(playerid);
   SetPlayerInterior(playerid, 0);
   SetPlayerPos(playerid, 3023.4336,-234.4036,13.2751);
   PlayerInfo[playerid][pInt] = 0;
   return 1;
}
   if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//???
{
            SetPlayerToTeamColor(playerid);
   SetPlayerInterior(playerid, 0);
   SetPlayerPos(playerid, 2398.9446,-1832.3243,19.0850);
   PlayerInfo[playerid][pInt] = 0;
   return 1;
}


if (PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)//SWAT
{
   SetPlayerToTeamColor(playerid);
   SetPlayerInterior(playerid, 0);
   SetPlayerPos(playerid, 1417.9233,1688.1622,15.3591);
   PlayerInfo[playerid][pInt] = 0;
   return 1;
}
if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//National Guard spawn
{
if(ArmSpawn[playerid] == 0)
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 480.2914,-2413.5720,34.8667);
GivePlayerWeapon(playerid, 29, 150);
GivePlayerWeapon(playerid, 24, 50);
PlayerInfo[playerid][pInt] = 0;
}
else if(ArmSpawn[playerid] == 1)
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 480.2914,-2413.5720,34.8667);
PlayerInfo[playerid][pInt] = 0;
}
return 1;
}

 
 

Mirex

Руководитель проекта
Команда портала
Гл.Администратор
Золотой
21.12.2013
2 512
3
550
0
29
definehost.ru
Скриптер
Измените это

if(trailer !=255)

на это

if(trailer ==255)

Только причем тут трейлер вообще?

 

Joe

Новичок
Пользователь
20.09.2014
170
11
0
27
Проблему решил, тему закрываю.

 
Статус
Закрыто для дальнейших ответов.