02.02.2019, 18:05
Conheзo essa GameMode :v
Testa ae:
Se tiver problemas em atualizar 3DTextLabel tem que ver onde cria as casas, no caso a stock do AddHouse
Tbm usaria streamer para fazer os 3DTextLabel.
Testa ae:
PHP код:
if(dini_Int(house, "TemDono") == 0)
{
HousePickup[houseid] = CreatePickup(1273, 23, iconX, iconY, iconZ);
housemapicon[houseid] = CreateDynamicMapIcon(iconX, iconY, iconZ, 31, -1, -1, -1, -1, 50.0);
format(string, sizeof(string), "Dono: %s\nCasa ID: %d\nPreзo: $%d\n/InfoCasa", hInfo[houseid][aName], dini_Int(house, "Casaid"), hInfo[houseid][Cost]);
Create3DTextLabel(string, 0xFFFFFFFF, iconX, iconY, iconZ+0.50, 18.0, 0, 1);
}
else
{
HousePickup[houseid] = CreatePickup(19522, 23, iconX, iconY, iconZ);
housemapicon[houseid] = CreateDynamicMapIcon(iconX, iconY, iconZ, 32, -1, -1, -1, -1, 50.0);
format(string, sizeof(string), "Dono: %s\nCasa ID: %d\nPreзo: $%d\n/InfoCasa", hInfo[houseid][aName], dini_Int(house, "Casaid"), hInfo[houseid][Cost]);
Create3DTextLabel(string, 0xFFFFFFFF, iconX, iconY, iconZ+0.50, 18.0, 0,1);
}
Tbm usaria streamer para fazer os 3DTextLabel.