проблему почти решил не могу понять что за ошибка:
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;
}
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;
}