SA-MP Forums Archive
Textdraw Box Color Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw Box Color Help (/showthread.php?tid=633357)



Textdraw Box Color Help - NealPeteros - 29.04.2017

Hey, I've been trying for hours to find the textdraw box color for my speedo. I wanted it semi-permanent gray, and I searched for it everywhere, and haven't found any to work. I tried ColorPicker for the color (0xFFC0C0C0) and rather shows this



Here's the code
PHP код:
vehName[i] = CreatePlayerTextDraw(i55.799999436"_");
        
PlayerTextDrawLetterSize(ivehName[i], 0.30.999);
        
PlayerTextDrawAlignment(ivehName[i], 2);
        
PlayerTextDrawColor(ivehName[i], -1);
        
PlayerTextDrawSetOutline(ivehName[i], 1);
        
PlayerTextDrawFont(ivehName[i], 1);
        
PlayerTextDrawUseBox(ivehName[i], 1);
        
PlayerTextDrawBoxColor(ivehName[i], 0xFFC0C0C0); 



Re: Textdraw Box Color Help - ISmokezU - 29.04.2017

Seems like a copy from Kar's Cops And Robbers ^_^.


Re: Textdraw Box Color Help - Vince - 29.04.2017

I don't know what color picker you used because that color is the exact shade of pink that you see. Textdraw colors are RGBA, not ARGB.


Re: Textdraw Box Color Help - NealPeteros - 29.04.2017

Ohhhh, that's why...

@ISmokezU
It's not mine, just creating it for a client of mine