Jump to content
  • 0

/createhouse unknown problema , help me


OldeR

Question

CMD:createhouse(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new house[64],Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500];
            if(sscanf(params, "s[64]", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios</small/medium/big>]");
            if(strcmp(house,"medium",true) == 0)
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarInt(playerid, "hExt", 1);
                SetPVarFloat(playerid, "pHiX", 243.4247);
                SetPVarFloat(playerid, "pHiY",  -1851.5872);
                SetPVarFloat(playerid, "pHiZ", 3333.9329);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 10000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 5;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium.");
            }
            if(strcmp(house,"small",true) == 0)
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 210.6192);
                SetPVarFloat(playerid, "pHiY",  1753.7064);
                SetPVarFloat(playerid, "pHiZ", 3334.2429);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 5000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 3;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small.");
            }
            if(strcmp(house,"big",true) == 0)
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 1686.6067);
                SetPVarFloat(playerid, "pHiY",  3843.6399);
                SetPVarFloat(playerid, "pHiZ", 8.0741);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 15000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 7;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big.");
            }
        }
        else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
    }
    return 1;
}

Cand scriu /createhouse small imi spune unknown , ce pot face?

sa-mp-082.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Incearca asa

CMD:createhouse(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new house[64],Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500];
            if(sscanf(params, "s[64]", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios</small/medium/big>]");
            if(strcmp(house,"medium",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarInt(playerid, "hExt", 1);
                SetPVarFloat(playerid, "pHiX", 243.4247);
                SetPVarFloat(playerid, "pHiY",  -1851.5872);
                SetPVarFloat(playerid, "pHiZ", 3333.9329);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 10000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 5;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium.");
            }
            if(strcmp(house,"small",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 210.6192);
                SetPVarFloat(playerid, "pHiY",  1753.7064);
                SetPVarFloat(playerid, "pHiZ", 3334.2429);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 5000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 3;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small.");
            }
            if(strcmp(house,"big",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 1686.6067);
                SetPVarFloat(playerid, "pHiY",  3843.6399);
                SetPVarFloat(playerid, "pHiZ", 8.0741);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 15000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 7;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big.");
            }
        }
        else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
    }
    return 1;
}

Daca nu merge, ti-am facut-o cu cifre.

CMD:createhouse(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new house,Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500];
            if(sscanf(params, "i", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios<1 - small/2 - medium/ 3 - big>]");
			switch(house)
            {
				case 1:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarFloat(playerid, "pHiX", 210.6192);
					SetPVarFloat(playerid, "pHiY",  1753.7064);
					SetPVarFloat(playerid, "pHiZ", 3334.2429);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 5000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 3;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small.");
				}
				case 2:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarInt(playerid, "hExt", 1);
					SetPVarFloat(playerid, "pHiX", 243.4247);
					SetPVarFloat(playerid, "pHiY",  -1851.5872);
					SetPVarFloat(playerid, "pHiZ", 3333.9329);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 10000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 5;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium.");
				}
				case 3:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarFloat(playerid, "pHiX", 1686.6067);
					SetPVarFloat(playerid, "pHiY",  3843.6399);
					SetPVarFloat(playerid, "pHiZ", 8.0741);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 15000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 7;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big.");
				}
				default:
				{
					SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Foloseste una dintre cifre pentru interior 1 - small 2 - medium 3 - big");
				}
            }
        }
        else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
    }
    return 1;
}

 

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

  • 0
Acum 8 ore, Gireada a spus:

Incearca asa

CMD:createhouse(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new house[64],Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500];
            if(sscanf(params, "s[64]", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios</small/medium/big>]");
            if(strcmp(house,"medium",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarInt(playerid, "hExt", 1);
                SetPVarFloat(playerid, "pHiX", 243.4247);
                SetPVarFloat(playerid, "pHiY",  -1851.5872);
                SetPVarFloat(playerid, "pHiZ", 3333.9329);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 10000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 5;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium.");
            }
            if(strcmp(house,"small",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 210.6192);
                SetPVarFloat(playerid, "pHiY",  1753.7064);
                SetPVarFloat(playerid, "pHiZ", 3334.2429);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 5000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 3;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small.");
            }
            if(strcmp(house,"big",true))
            {
                GetPlayerPos(playerid, pX, pY, pZ);
                SetPVarFloat(playerid, "pHeX", pX);
                SetPVarFloat(playerid, "pHeY", pY);
                SetPVarFloat(playerid, "pHeZ", pZ);
                SetPVarFloat(playerid, "pHiX", 1686.6067);
                SetPVarFloat(playerid, "pHiY",  3843.6399);
                SetPVarFloat(playerid, "pHiZ", 8.0741);
                SetPVarInt(playerid, "pHiID", 0);
                new i = housess+1;
                mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
                mysql_tquery(SQL, query, "", "");

                HouseInfo[hID]                           = i;
                   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
                HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
                 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
                HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
                HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
                HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
                format(HouseInfo[hOwner], 64, "The State");
                format(HouseInfo[hDiscription], 64, "House");
                HouseInfo[hValue]                        = 15000000;
                SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
                HouseInfo[hHel]                          = 0;
                  HouseInfo[hArm]                          = 0;
                HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
                HouseInfo[hLock]                         = 0;
                HouseInfo[hOwned]                        = 0;
                HouseInfo[hRent]                         = 500;
                HouseInfo[hRentabil]                     = 1;
                HouseInfo[hTakings]                      = 0;
                HouseInfo[hLevel]                        = 7;
                HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

                mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
                mysql_tquery(SQL,query,"","");

                DeletePVar(playerid, "pHeX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiX");
                DeletePVar(playerid, "pHeY");
                DeletePVar(playerid, "pHeZ");
                DeletePVar(playerid, "pHiID");
                DeletePVar(playerid, "pHiVW");
                DeletePVar(playerid, "pExt");
                DeletePVar(playerid, "pInt");

                DestroyDynamic3DTextLabel(HouseLabel);
                format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
                HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

                SetPlayerInterior(playerid, 0);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
                housess++;
                SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big.");
            }
        }
        else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
    }
    return 1;
}

Daca nu merge, ti-am facut-o cu cifre.

CMD:createhouse(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 6)
        {
            new house,Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500];
            if(sscanf(params, "i", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios<1 - small/2 - medium/ 3 - big>]");
			switch(house)
            {
				case 1:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarFloat(playerid, "pHiX", 210.6192);
					SetPVarFloat(playerid, "pHiY",  1753.7064);
					SetPVarFloat(playerid, "pHiZ", 3334.2429);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 5000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 3;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small.");
				}
				case 2:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarInt(playerid, "hExt", 1);
					SetPVarFloat(playerid, "pHiX", 243.4247);
					SetPVarFloat(playerid, "pHiY",  -1851.5872);
					SetPVarFloat(playerid, "pHiZ", 3333.9329);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 10000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 5;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium.");
				}
				case 3:
				{
					GetPlayerPos(playerid, pX, pY, pZ);
					SetPVarFloat(playerid, "pHeX", pX);
					SetPVarFloat(playerid, "pHeY", pY);
					SetPVarFloat(playerid, "pHeZ", pZ);
					SetPVarFloat(playerid, "pHiX", 1686.6067);
					SetPVarFloat(playerid, "pHiY",  3843.6399);
					SetPVarFloat(playerid, "pHiZ", 8.0741);
					SetPVarInt(playerid, "pHiID", 0);
					new i = housess+1;
					mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')");
					mysql_tquery(SQL, query, "", "");

					HouseInfo[hID]                           = i;
					   HouseInfo[hEntrancex]                    = GetPVarFloat(playerid, "pHeX");
					HouseInfo[hEntrancey]                    = GetPVarFloat(playerid, "pHeY");
					 HouseInfo[hEntrancez]                    = GetPVarFloat(playerid, "pHeZ");
					HouseInfo[hExitx]                        = GetPVarFloat(playerid, "pHiX");
					HouseInfo[hExity]                        = GetPVarFloat(playerid, "pHiY");
					HouseInfo[hExitz]                        = GetPVarFloat(playerid, "pHiZ");
					format(HouseInfo[hOwner], 64, "The State");
					format(HouseInfo[hDiscription], 64, "House");
					HouseInfo[hValue]                        = 15000000;
					SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]);
					HouseInfo[hHel]                          = 0;
					  HouseInfo[hArm]                          = 0;
					HouseInfo[hInterior]                     = GetPVarInt(playerid, "pHiID");
					HouseInfo[hLock]                         = 0;
					HouseInfo[hOwned]                        = 0;
					HouseInfo[hRent]                         = 500;
					HouseInfo[hRentabil]                     = 1;
					HouseInfo[hTakings]                      = 0;
					HouseInfo[hLevel]                        = 7;
					HouseInfo[hVirtual]                      = GetPVarInt(playerid, "pHiVW");

					mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i);
					mysql_tquery(SQL,query,"","");

					DeletePVar(playerid, "pHeX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiX");
					DeletePVar(playerid, "pHeY");
					DeletePVar(playerid, "pHeZ");
					DeletePVar(playerid, "pHiID");
					DeletePVar(playerid, "pHiVW");
					DeletePVar(playerid, "pExt");
					DeletePVar(playerid, "pInt");

					DestroyDynamic3DTextLabel(HouseLabel);
					format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]);
					HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);

					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
					SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]);
					housess++;
					SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big.");
				}
				default:
				{
					SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Foloseste una dintre cifre pentru interior 1 - small 2 - medium 3 - big");
				}
            }
        }
        else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
    }
    return 1;
}

 

C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17969) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17970) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17971) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17972) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17973) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17974) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17975) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17978) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17978) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17979) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17980) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17980) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17981) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17981) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17982) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17982) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17983) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17983) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17984) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17984) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17985) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17985) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17986) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17986) : error 033: array must be indexed (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17987) : error 032: array index out of bounds (variable "HouseInfo")
C:\Users\Ionut\Desktop\TOT\reluam\gm\gamemodes\haman.pwn(17987) : error 033: array must be indexed (variable "HouseInfo")

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Nu merge nici-una , nu imi poti da o comanda mai simpla , te rog?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.