samp-textdraw-streamer
samp-textdraw-streamer copied to clipboard
Textdraw colors aren't right
Hi, I used this plugin on my open.mp server, everything works fine except for the tdxtdraw colours, the texdraw are supposed to be a semi transparent box, instead I got a Gray box
Can I see your code?
it's just a regular createplayertextdraw \
Have you tried it in an idle game mode?
yes
Add via Discord: benburakya
i have the same problem
i have the same problem
Can you demonstrate the problem by taking a video?
Using Plugin and Include
Without using Plugin
I am using Openmp latest verison
and lemehost to run my server i dm you in discord najuaircrack
fixed
fixed
how do u fixed it??
@Mydeenissak1 If you're using OpenMP and mixed spellings in your gamemode, here's a quick fix. Simply rename PlayerTextdrawcolor to PlayerTextdrawcolour .
@Mydeenissak1 If you're using OpenMP and mixed spellings in your gamemode, here's a quick fix. Simply rename PlayerTextdrawcolor to PlayerTextdrawcolour .
Does using PlayerTextdrawColour fix the problem?
yes rename all textdrawcolor to colour it worked for me
#if defined _INC_omp_textdraw #if defined _ALS_TextDrawColour #undef TextDrawColour #else #define _ALS_TextDrawColour #endif #define TextDrawColour(%0,%1) DynamicTextDrawColour(%0, %1, __file, __line) #else #if defined _ALS_TextDrawColor #undef TextDrawColor #else #define _ALS_TextDrawColor #endif #define TextDrawColor(%0,%1) DynamicTextDrawColour(%0, %1, __file, __line) #endif here when using MIXED_SPELLING tag both textdrawcolor and textdrawcolour is defined !
Using #undef MIXED_SPELLING should solve all the problems then.
yes
but still need to rename some functions
but still need to rename some functions
I will change all the naming of the plugin and release a new version. Probably all the problems will be fixed. I will also make a converter that will change all your codes.
there is a textdraw order issue also
there is a textdraw order issue also
Yes, I will address this issue as well.