warning 213: tag mismatch
#1

Hi, can anybody tell me whats wrong.. when i compile i get this warning

pawn Код:
C:\Users\Mikkel\Desktop\gf_oct15_2015.pwn(28733) : warning 213: tag mismatch
This is the code
pawn Код:
if(strcmp(cmd, "/lockhouse", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pHouseAccepted] == 0)
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   You don't own a house !");
                return 1;
            }
            if(!IsPlayerInRangeOfPoint(playerid, 2.0, PlayerInfo[playerid][pHouseX], PlayerInfo[playerid][pHouseY], PlayerInfo[playerid][pHouseZ] && PlayerInfo[playerid][pLocal] == 999))
            {
                SendClientMessage(playerid,COLOR_GREY,"   You are not at your house !");
                return 1;
            }
            GetPlayerName(playerid, sendername, sizeof(sendername));
            if(PlayerInfo[playerid][pHouseLocked] == 1)
            {
                PlayerInfo[playerid][pHouseLocked] = 0;
                PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
                format(string, sizeof(string), "* %s has unlocked the door to their house.", RemoveUnderScore(playerid));
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 1;
            }
            else
            {
                PlayerInfo[playerid][pHouseLocked] = 1;
                PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
                format(string, sizeof(string), "* %s has locked the door to their house.", RemoveUnderScore(playerid));
                ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 1;
            }
        }
        return 1;
    }
And this is the line where i get the warning

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 2.0, PlayerInfo[playerid][pHouseX], PlayerInfo[playerid][pHouseY], PlayerInfo[playerid][pHouseZ] && PlayerInfo[playerid][pLocal] == 999))
Reply
#2

DELETED
Reply
#3

PHP код:
if(!IsPlayerInRangeOfPoint(playerid2.0PlayerInfo[playerid][pHouseX], PlayerInfo[playerid][pHouseY], PlayerInfo[playerid][pHouseZ]) && PlayerInfo[playerid][pLocal] == 999
Reply
#4

God, ofcourse ^^ Thank you :P
Reply


Forum Jump:


Users browsing this thread: