Script giving errors. Cant find where the error is.
#1

Hi guys,
So i made some changes to a command that opens the house door, and those changes simply add some exceptions to some house id's wich are apartments in wich the doors are going to really open. But it gives me streamer errors. I will post here the script and the errors that i get:

PHP код:
if(strcmp(cmd"/abrircasa"true) == 0)
        {
            if(
IsPlayerConnected(playerid))
            {
                for(new 
0sizeof(Houses); i++)
                {
                    if(
!= 172 && != 173 && != 174 && != 175 && != 176 && != 177 && != 178 && != 179 && != 180 && != 181 && != 182 && != 183 && != 184 && != 185 && != 186 && != 187 && != 188 && != 189 && != 190)
                    {
                    if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                    {
                        if(
PlayerInfo[playerid][pHouseKey] == i)
                        {
                            if(
Houses[i][Locked] == 1)
                            {
                                
Houses[i][Locked] = 0;
                                
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada.");
                                
PlayerActionMessage(playerid,15.0,"meteu a chave na porta e destrancou-a.");
                                
SaveHouses();
                                return 
1;
                            }
                            if(
Houses[i][Locked] == 0)
                            {
                                
Houses[i][Locked] = 1;
                                
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada.");
                                
PlayerActionMessage(playerid,15.0,"meteu a chave na porta e trancou-a.");
                                
SaveHouses();
                                return 
1;
                            }
                        }
                    }
                    }
                    else
                    {
                    if(
== 172)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812651.68627,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051951.68627,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812651.68627,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051951.68627,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 173)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812657.12576,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051957.12576,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812657.12576,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051957.12576,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 174)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812662.58656,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051962.58656,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812662.58656,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051962.58656,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 175)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812668.06308,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051968.06308,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,68.06308,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051968.06308,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 176)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812673.52129,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051973.52129,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,73.52129,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051973.52129,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 177)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812678.97025,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051978.97025,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,78.97025,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051978.97025,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 178)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812684.43148,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051984.43148,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,84.43148,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051984.43148,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 179)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812689.88756,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051989.88756,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,89.88756,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051989.88756,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 180)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.2812695.35626,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051995.35626,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,95.35626,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.5051995.35626,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 181)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] = 1)
                                {
                                    
Houses[i][Locked] == 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126100.80173,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519100.80173,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,100.80173,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519100.80173,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 182)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126106.23373,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519106.23373,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,106.23373,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519106.23373,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 183)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126111.70324,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519111.70324,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,111.70324,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519111.70324,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 184)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126117.16319,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519117.16319,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,117.16319,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519117.16319,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 185)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126122.62444,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519122.62444,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,122.62444,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519122.62444,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 186)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126128.08568,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519128.08568,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,128.08568,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519128.08568,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 187)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126133.50157,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519133.50157,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,133.50157,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519133.50157,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 188)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126139.00996,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519139.00996,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,139.00996,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519139.00996,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 189)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126144.44519,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519144.44519,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,144.44519,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519144.44519,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                    else if(
== 190)
                    {
                        if (
PlayerToPoint(3.0playerid,Houses[i][EnterX], Houses[i][EnterY], Houses[i][EnterZ]) || PlayerToPoint(3.0playerid,Houses[i][ExitX], Houses[i][ExitY], Houses[i][ExitZ]))
                        {
                            if(
PlayerInfo[playerid][pHouseKey] == i)
                            {
                                if(
Houses[i][Locked] == 1)
                                {
                                    
Houses[i][Locked] = 0;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Destrancada e aberta.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, destrancou-a e abriu-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126149.88467,2.0,   0.000000.00000,153.47997);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519149.88467,2.0,   0.000000.00000,138.47989);
                                    
SaveHouses();
                                    return 
1;
                                }
                                if(
Houses[i][Locked] == 0)
                                {
                                    
Houses[i][Locked] = 1;
                                    
SendClientMessage(playeridCOLOR_WHITE,"{1E90FF}[INFO]: {FFFFFF} Porta Trancada e fechada.");
                                    
PlayerActionMessage(playerid,15.0,"meteu a chave na porta, trancou-a e fechou-a.");
                                    
MoveDynamicObject(porta1piso11494.33508, -105.28126,149.88467,2.0,   0.000000.0000055.79999);
                                    
MoveDynamicObject(porta2piso1,1497.14600, -102.50519149.88467,2.0,   0.000000.00000235.19994);
                                    
SaveHouses();
                                    return 
1;
                                }
                            }
                        }
                    }
                }
            }
            return 
1;
        } 


here are the errors (PS: These exact errors only show to me when somethings not closed with } and i cant find anything that isnt. Maybe because im tired or because im blind but i just cant find any.)
PHP код:
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\pawno\include\streamer.inc(364) : error 017undefined symbol "Streamer_OnPlayerPickUpPickup"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\pawno\include\streamer.inc(384) : error 017undefined symbol "Streamer_OnPlayerEnterCP"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\pawno\include\streamer.inc(404) : error 017undefined symbol "Streamer_OnPlayerLeaveCP"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\pawno\include\streamer.inc(444) : error 017undefined symbol "Streamer_OnPlayerLeaveRaceCP"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(4597) : error 017undefined symbol "ShowServerPassword"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11228) : error 017undefined symbol "CriarTextDraws"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11253) : error 017undefined symbol "ChangeWeather"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11285) : error 017undefined symbol "KillFire"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11320) : error 017undefined symbol "RPName"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11332) : error 017undefined symbol "GetPlayerNameEx"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11346) : error 017undefined symbol "KickPlayer"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11363) : error 017undefined symbol "KickPlayer"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11433) : error 017undefined symbol "ClearScreen"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11635) : error 017undefined symbol "LoadServerStats"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11636) : error 017undefined symbol "LoadDynamicFactions"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11637) : error 017undefined symbol "LoadDynamicFactionsSalary"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11638) : error 017undefined symbol "LoadDynamicFamilies"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11639) : error 017undefined symbol "LoadCivilianSpawn"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11640) : error 017undefined symbol "LoadCivilianCheckPoint"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11641) : error 017undefined symbol "LoadBuildings"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11642) : error 017undefined symbol "LoadBuildingsExtra"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11643) : error 017undefined symbol "LoadHouses"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11644) : error 017undefined symbol "LoadGarage"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11645) : error 017undefined symbol "LoadFactionGarage"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11646) : error 017undefined symbol "LoadUrnas"
C:\Users\Vasco\Downloads\Nova pasta\GM_RP_PT\GM_RP_PT\GM_RP_PT\gamemodes\I-RP.pwn(11647) : error 017undefined symbol "LoadBusinesses"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors









EDIT: I know its from this command the errors because i have put it between /* */ compiled and it worked.
Reply
#2

Код:
error 017: undefined symbol "RPName"
This for example means that you didn't define RPName.The same goes for the others.
The error basically tells you whats wrong and next time define the things you'll use.

Quote:

EDIT: I know its from this command the errors because i have put it between /* */ compiled and it worked.

Thats because when you put
PHP код:
/* */ 
you put the whole command in a comment which means it wont work.Thats why the errors didn't appear.
Reply


Forum Jump:


Users browsing this thread: