Command returns unkown cmd
#2

Ok so i got new info its not that code ABOVE... Its the Housing_loadall(); in ongamemodeinit... When i use the createhouse cmd when thats there the command isnt working... So anyone know whats wrong? This is the function where i DONT get any errors from :S
pawn Код:
Housing_LoadAll()
{
   
    for (new HouseID = 1; HouseID < MAX_HOUSES; HouseID++)
    {
        new string[128];
        format(string, sizeof(string), "SELECT `HouseID` = '%i' FROM Houses", HouseID);
        mysql_query(string);
        mysql_store_result();
        // Loop through all houses and try to load them
        // Try to load the file and check if it was succesfully loaded (file exists)
        if (HouseFile_Load(HouseID) == 1)
        {
            // Add a pickup and 3DText for this house
            House_CreateEntrance(HouseID);
            // Count the amount of houses that are loaded
            TotalHouses++;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Command returns unkown cmd - by thimo - 17.12.2011, 19:10
Re: Command returns unkown cmd - by thimo - 17.12.2011, 21:39
Re: Command returns unkown cmd - by thimo - 18.12.2011, 07:39
Re: Command returns unkown cmd - by suhrab_mujeeb - 18.12.2011, 07:48
Re: Command returns unkown cmd - by thimo - 18.12.2011, 11:27
Re: Command returns unkown cmd - by thimo - 18.12.2011, 12:25
Re: Command returns unkown cmd - by suhrab_mujeeb - 18.12.2011, 13:18
Re: Command returns unkown cmd - by thimo - 18.12.2011, 13:53
Re: Command returns unkown cmd - by thimo - 19.12.2011, 13:54
Re: Command returns unkown cmd - by wumpyc - 19.12.2011, 14:13

Forum Jump:


Users browsing this thread: 1 Guest(s)