Jump to content

De ce nu merge Textdraw-ul


Mark S.

Recommended Posts

Buna ziua, am creat un textdraw sa afiseze vehiculul in care sunt si am vehiculul intr-un patrat negru , vreau sa fie 100% transparent patratul dar nu reusesc
 

TextDrawVeh = TextDrawCreate(562.777526, 325.333435, "_");
      TextDrawFont(TextDrawVeh, TEXT_DRAW_FONT_MODEL_PREVIEW);
      TextDrawTextSize(TextDrawVeh, 78.559295, 80.916648);
      TextDrawUseBox(TextDrawVeh,0);
      TextDrawSetPreviewRot(TextDrawVeh, 0.000000, 0.000000, 320.000000, 1.000000);

 



onplayerstatechange

new vehicleid = GetPlayerVehicleID(playerid);
        new modelid = GetVehicleModel(vehicleid);
        TextDrawSetPreviewModel(TextDrawVeh[playerid], modelid);

 



Am incercat sa adaug mai multe culori la background si box si tot asa, nu dispare patratul negru,

TextDrawBackgroundColor(TextDrawVeh, 0xFFFFFFAA);
        TextDrawBoxColor(TextDrawVeh, 0xFFFFFFAA );


P.S. :   Poate vi se pare ciudat ce am incercat, Am copiat exact textdraw pe versiunea de server 0.3z iar acolo se vede doar masina fara patrat negru, iar apoi cand am pus pe 0.3.7 se vede negru patratul, uitati despre ce e vorba: 

2aEQula.png

 

Link to comment
Share on other sites

  • 2 weeks later...
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.