Karimb
Умник
Всем привет
Как снизить дальновидность надписей с домов
А то даже через стену видны эти надписи
Вот скрин:
Вот помоему этот код
Как снизить дальновидность надписей с домов
А то даже через стену видны эти надписи
Вот скрин:
Чтобы видеть скрытое содержание Зарегистрируйтесь на форуме!
Вот помоему этот код
PHP:
if(HouseInfo[h][hOwned] == 0)
{
new strstr[256];
new clas[64];
if(HouseInfo[h][hValue] > 0 && HouseInfo[h][hValue] < 300000){ clas = "Noop Class";}
else if(HouseInfo[h][hValue] >= 300000 && HouseInfo[h][hValue] < 600000){ clas = "D-Class";}
else if(HouseInfo[h][hValue] >= 600000 && HouseInfo[h][hValue] < 1200000){ clas = "C-Class";}
else if(HouseInfo[h][hValue] >= 1200000 && HouseInfo[h][hValue] < 2100000){ clas = "B-Class";}
else if(HouseInfo[h][hValue] >= 2100000 && HouseInfo[h][hValue] < 4000000){ clas = "A-Class";}
else if(HouseInfo[h][hValue] >= 4000000 && HouseInfo[h][hValue] < 20000000){ clas = "S-Class";}
format(strstr,sizeof(strstr),"ID: %d\nДом продается\nКласс: %s\nЦена: %d",h,clas,HouseInfo[h][hValue]);
hhh[h] = CreateDynamic3DTextLabel(strstr,0xFF8000AA,HouseInfo[h][hEntrancex],HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],35.0);
}
if(HouseInfo[h][hOwned] == 1)
{
new strstr[256];
new clas[64];
if(HouseInfo[h][hValue] > 0 && HouseInfo[h][hValue] < 300000){ clas = "Noop Class";}
else if(HouseInfo[h][hValue] >= 300000 && HouseInfo[h][hValue] < 600000){ clas = "D-Class";}
else if(HouseInfo[h][hValue] >= 600000 && HouseInfo[h][hValue] < 1200000){ clas = "C-Class";}
else if(HouseInfo[h][hValue] >= 1200000 && HouseInfo[h][hValue] < 2100000){ clas = "B-Class";}
else if(HouseInfo[h][hValue] >= 2100000 && HouseInfo[h][hValue] < 4000000){ clas = "A-Class";}
else if(HouseInfo[h][hValue] >= 4000000 && HouseInfo[h][hValue] < 20000000){ clas = "S-Class";}
format(strstr,sizeof(strstr),"ID: %d\nВладелец: %s\nКласс: %s",h,HouseInfo[h][hOwner],clas);
hhh[h] = CreateDynamic3DTextLabel(strstr,0x37E3ECAA,HouseInfo[h][hEntrancex],HouseInfo[h][hEntrancey],HouseInfo[h][hEntrancez],35.0);
}
