Hallo,
Habe ein kleines Problem, irgendwie finde ich den Wert für die Höhe des Pickup's nicht.
Also ich will Pickup und Label in einem haben und nicht mehr darüber.
stock UpdateHausLabel(haus,funktion)
{
	new string[400];
	switch(funktion)
	{
		case 1:
		{
			format(string,sizeof(string),"ID: %i\nDas Haus ist zu verkaufen\nPreis: %i$\nPremiumkosten: %i\nSlots: 0/%i\n/kaufen - Haus kaufen",haus,HausInfo[haus][haus_preis],HausInfo[haus][haus_coins],HausInfo[haus][haus_slots]);
			Update3DTextLabelText(HausLabel[haus],ROT,string);
			return 1;
		}
		case 2:
		{
			if(HausInfo[haus][haus_locked] == 1)
			{
				format(string,sizeof(string),"ID: %i\nBesitzer: %s\nMiete: %i$\nMieter Slots: 0/%i\n/rent - Zimmer mieten",
				haus,HausInfo[haus][haus_besitzer],HausInfo[haus][haus_miete],HausInfo[haus][haus_eingemitetenzaehler],HausInfo[haus][haus_slots]);
				Update3DTextLabelText(HausLabel[haus],ROT,string);
			}
			else
			{
				format(string,sizeof(string),"ID: %i\nBesitzer: %s\nMiete: %i$\nMieter Slots: 0/%i\n/rent - Zimmer mieten",
				haus,HausInfo[haus][haus_besitzer],HausInfo[haus][haus_miete],HausInfo[haus][haus_eingemitetenzaehler],HausInfo[haus][haus_slots]);
				Update3DTextLabelText(HausLabel[haus],ROT,string);
			}
			return 1;
		}
	}
	return print("ERROR: UpdateHausLabel funktion nicht erkannt.");
}
Weiß jemand wie ich das machen soll?
Mit freundlich Grüßen
 
		 
		
		
	


