Hallo, undzwar sind in der Datenbank 2 Häuser. Aber wenn ich das Script starte steht da das 0 Häuser geladen worden sind und InGame ist auch kein Pickup bzw 3DTextLabel code:
stock LoadHaus()
{
    new rows, fields, content[MAX_PLAYER_NAME],query[60];
    cache_get_data(rows, fields);
    format(query,sizeof(query),"SELECT * FROM `house`");
    mysql_query(1,query);
    mysql_store_result(); 
    if(mysql_num_rows())
    {
	    for(new i = 0; i != rows; i++)
		{
	        cache_get_row(i, 0, content);
			hausInfo[i][hID] = strval(content);
			cache_get_row(i, 1, content);
			hausInfo[i][hPreis] = strval(content);
			cache_get_row(i, 2, content);
			format(hausInfo[i][hBesitzer], MAX_PLAYER_NAME, "%s", content);
			cache_get_row(i, 3, content);
			hausInfo[i][hInterior] = strval(content);
			cache_get_row(i, 4, content);
			hausInfo[i][hX] = floatstr(content);
			cache_get_row(i, 5, content);
			hausInfo[i][hY] = floatstr(content);
			cache_get_row(i, 6, content);
			hausInfo[i][hZ] = floatstr(content);
			CreateHouseOnMap(i);
	    }
	}
    printf("- | IFNO: Es wurden %i Häuser geladen. INFO | -", rows);
}
 
		 
		
		
	