for(new h = 0; h < sizeof(HouseInfo); h++)
{
new string3[90];
if(HouseInfo[h][hOwned] == 0)
{
format(string3, sizeof(string3), "Zum Verkauf\n%d $\nLevel: %d\nBeschreibung: %s\n '/buyhouse' zum Kaufen", HouseInfo[h][hValue], HouseInfo[h][hLevel], HouseInfo[h][hDiscription]);
HouseInfo[h][hLabelID] = Create3DTextLabel(string3,COLOR_WHITE,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,22.0,0,0);
CreatePickup(1273, 0.5, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil])
{
format(string3, sizeof(string3), "Besitzer: %s\nLevel: %d\nMiete: %d $\n '/rentroom' zum Mieten",HouseInfo[h][hOwner], HouseInfo[h][hLevel], HouseInfo[h][hRent]);
HouseInfo[h][hLabelID] = Create3DTextLabel(string3,COLOR_WHITE,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,22.0,0,0);
AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
else if(!HouseInfo[h][hRentabil])
{
format(string3, sizeof(string3), "Besitzer: %s\nLevel: %d\nDieses Haus ist nicht Mietbar",HouseInfo[h][hOwner], HouseInfo[h][hLevel]);
HouseInfo[h][hLabelID] = Create3DTextLabel(string3,COLOR_WHITE,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,22.0,0,0);
AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
}
}
Ja und zwar habe ich nun Häuser in einen 3D Label ersetzt jedoch wird dieser nicht geupdatet erst nach einem GMX , könnt ihr mir sagen warum ? Was muss ich machen