PDA

View Full Version : Problem with 3DTextLabel


Edw
11/07/2015, 12:36 PM
Hi, Please help me with a big problem .. because this 3dlabel server has an anonymous and can not let go but if I delete it works perfectly ... what is wrong with this label?

if(CarInfo[h][cOwned] == 0 && IsAnOwnableCar(h))
{
new str[356];
format(str, sizeof(str), "{00FF0B}Acest vehicul este de vanzare!\nModel: {FF0000}%s{00FF0B}\nPret: {FF0000}$%s{00FF0B}\nCar ID: {FF0000}%d{00FF0B}", VehicleNames[GetVehicleModel(h)-400], FormatNumber(CarInfo[h][cValue]), h);
Car3DLabel[h] = Create3DTextLabel(str, 0xFFFFFFFF, 0.0, 0.0, 0.0, 7.0, 0, 0);
Attach3DTextLabelToVehicle(Car3DLabel[h], h, 0.0, 0.0, 0.0);
}