Versuche:
stock LoadHouses()
{
for(new i = 0; i<MAX_HOUSES; i++)
{
new query[300],str[400];
new string[90];
format(query, sizeof(query), "SELECT * FROM `Haus` WHERE `hID`=%d", i);
mysql_query(query);
HouseInfo[i][hOwner],48 ,mysql_GetString("Haus", "Owner", "hID", i));
HouseInfo[i][hEntrx] = mysql_GetFloat ("Haus", "Entrx", "hID",i);
SendClientMessageToAll(WEIß,"Debug3");
HouseInfo[i][hEntry] = mysql_GetFloat ("Haus", "Entry", "hID",i);
SendClientMessageToAll(WEIß,"Debug3");
HouseInfo[i][hEntrz] = mysql_GetFloat ("Haus", "Entrz", "hID",i);
HouseInfo[i][hIntx] = mysql_GetFloat ("Haus", "Intx", "hID",i);
HouseInfo[i][hInty] = mysql_GetFloat ("Haus", "Inty", "hID",i);
HouseInfo[i][hIntz] = mysql_GetFloat ("Haus", "Intz", "hID",i);
HouseInfo[i][hIntid] = mysql_GetInt ("Haus", "Intid", "hID",i);
HouseInfo[i][hPrice] = mysql_GetInt ("Haus", "Price", "hID",i);
HouseInfo[i][hRentable] = mysql_GetInt ("Haus", "Rentable", "hID",i);
HouseInfo[i][hRent] = mysql_GetInt ("Haus", "Rent", "hID",i);
HouseInfo[i][hOwned] = mysql_GetInt ("Haus", "Owned", "hID",i);
HouseInfo[i][hEssen] = mysql_GetInt ("Haus", "Essen", "hID",i);
HouseInfo[i][hActive] = mysql_GetInt ("Haus", "Active", "hID",i);
HouseInfo[i][hEssen] = mysql_GetInt ("Haus", "Essen", "hID",i);
HouseInfo[i][hInt] = mysql_GetInt ("Haus", "hInt", "hID",i);
DestroyDynamic3DTextLabel(HouseInfo[i][hLabel]);
format(HouseInfo[i][hDescr], 50, Interiors[HouseInfo[i][hIntid]][description]);
if(!HouseInfo[i][hOwned]) format(str, sizeof str, "Dieses Haus steht zum Verkauf!\n{6961FF}%s\n{FFFFFF}Preis: {6961FF}%d€", HouseInfo[i][hDescr], HouseInfo[i][hPrice]);
else if(HouseInfo[i][hOwned] && !HouseInfo[i][hRentable]) format(str, sizeof str, "{6961FF}%s\n{FFFFFF}Besitzer: {6961FF}%s",HouseInfo[i][hDescr], HouseInfo[i][hOwner]);
else if(HouseInfo[i][hOwned] && HouseInfo[i][hRentable]) format(str, sizeof str, "Dieses Haus kannst du Mieten\n{6961FF}%s\n{FFFFFF}Besitzer: {6961FF}%s\n{FFFFFF}Miete: {6961FF}%d€",HouseInfo[i][hDescr], HouseInfo[i][hOwner], HouseInfo[i][hRent]);
HouseInfo[i][hLabel] = CreateDynamic3DTextLabel(str, WHITE, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz], 20);
if(!HouseInfo[i][hOwned]) HouseInfo[i][hPick] = CreateDynamicPickup(1273, 1,HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
else HouseInfo[i][hPick] = CreateDynamicPickup(1272, 1, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
}
return 1;
}
Wenn es nicht tut, nimm das und sag uns was im server_log steht.
stock LoadHouses()
{
for(new i = 0; i<MAX_HOUSES; i++)
{
printf("Call: %d", i);
new query[300],str[400];
new string[90];
format(query, sizeof(query), "SELECT * FROM `Haus` WHERE `hID`=%d", i);
mysql_query(query);
printf("1");
HouseInfo[i][hOwner],48 ,mysql_GetString("Haus", "Owner", "hID", i));
HouseInfo[i][hEntrx] = mysql_GetFloat ("Haus", "Entrx", "hID",i);
SendClientMessageToAll(WEIß,"Debug3");
printf("2");
HouseInfo[i][hEntry] = mysql_GetFloat ("Haus", "Entry", "hID",i);
SendClientMessageToAll(WEIß,"Debug3");
HouseInfo[i][hEntrz] = mysql_GetFloat ("Haus", "Entrz", "hID",i);
HouseInfo[i][hIntx] = mysql_GetFloat ("Haus", "Intx", "hID",i);
HouseInfo[i][hInty] = mysql_GetFloat ("Haus", "Inty", "hID",i);
HouseInfo[i][hIntz] = mysql_GetFloat ("Haus", "Intz", "hID",i);
HouseInfo[i][hIntid] = mysql_GetInt ("Haus", "Intid", "hID",i);
HouseInfo[i][hPrice] = mysql_GetInt ("Haus", "Price", "hID",i);
printf("3");
HouseInfo[i][hRentable] = mysql_GetInt ("Haus", "Rentable", "hID",i);
HouseInfo[i][hRent] = mysql_GetInt ("Haus", "Rent", "hID",i);
HouseInfo[i][hOwned] = mysql_GetInt ("Haus", "Owned", "hID",i);
HouseInfo[i][hEssen] = mysql_GetInt ("Haus", "Essen", "hID",i);
HouseInfo[i][hActive] = mysql_GetInt ("Haus", "Active", "hID",i);
HouseInfo[i][hEssen] = mysql_GetInt ("Haus", "Essen", "hID",i);
HouseInfo[i][hInt] = mysql_GetInt ("Haus", "hInt", "hID",i);
DestroyDynamic3DTextLabel(HouseInfo[i][hLabel]);
printf("4");
format(HouseInfo[i][hDescr], 50, Interiors[HouseInfo[i][hIntid]][description]);
if(!HouseInfo[i][hOwned]) format(str, sizeof str, "Dieses Haus steht zum Verkauf!\n{6961FF}%s\n{FFFFFF}Preis: {6961FF}%d€", HouseInfo[i][hDescr], HouseInfo[i][hPrice]);
else if(HouseInfo[i][hOwned] && !HouseInfo[i][hRentable]) format(str, sizeof str, "{6961FF}%s\n{FFFFFF}Besitzer: {6961FF}%s",HouseInfo[i][hDescr], HouseInfo[i][hOwner]);
else if(HouseInfo[i][hOwned] && HouseInfo[i][hRentable]) format(str, sizeof str, "Dieses Haus kannst du Mieten\n{6961FF}%s\n{FFFFFF}Besitzer: {6961FF}%s\n{FFFFFF}Miete: {6961FF}%d€",HouseInfo[i][hDescr], HouseInfo[i][hOwner], HouseInfo[i][hRent]);
HouseInfo[i][hLabel] = CreateDynamic3DTextLabel(str, WHITE, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz], 20);
if(!HouseInfo[i][hOwned]) HouseInfo[i][hPick] = CreateDynamicPickup(1273, 1,HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
else HouseInfo[i][hPick] = CreateDynamicPickup(1272, 1, HouseInfo[i][hEntrx], HouseInfo[i][hEntry], HouseInfo[i][hEntrz]);
printf("5");
}
return 1;
}
Enum, kannst du dir mal angewöhnen nicht jedes mal 10 Fragen in 10 Posts zu stellen, die man auch in einem stellen kann, und zudem dann noch so sinnlose? Wenn der Code nicht ausgeführt wird ist das piep wo in OnGameModeInit er steht. Das sehe ich jetzt zum wiederholten Male.
Vielleicht mal das return 1; in LoadHouses entfernen 
Das bringt gar nichts.