Jump to content
  • 0

Afiseaza Text3DLabel-ul vehiculului care nu e upgradat cu Text3DLabel.


Question

Posted

am si eu o problema, cand achizitionez 3d text label pe vehicul si il vand la dealership, apoi cand cumpar alt vehicul din dealership imi arata 3d text label-ul pe vehicul cu toate ca nu e upgradat.

COD:

function attach_label_text(idd) {
    new string[256];
    if(strlen(CarInfo[idd][c3DTextLabelText]) > 4) {
        format(string, sizeof(string), "%s", CarInfo[idd][c3DTextLabelText]);
        vehicle3Dtext[CarInfo[idd][Spawned]] = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 15.0, 0, 1 );
        Attach3DTextLabelToVehicle(vehicle3Dtext[CarInfo[idd][Spawned]] , CarInfo[idd][Spawned], 0.0, 0.0, 0.0);
    }    
    return 1;
}

Video: 

 

3 answers to this question

Recommended Posts

  • 0
Posted

il distrug la despawnvehicle dar tot imi arata text3d-ul

if(strlen(CarInfo[dbid][c3DTextLabelText]) > 4) DestroyDynamic3DTextLabel(vehicle3Dtext[CarInfo[dbid][Spawned]]);

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.