samp-textdraw-streamer icon indicating copy to clipboard operation
samp-textdraw-streamer copied to clipboard

Textdraw colors aren't right

Open bloxer09 opened this issue 1 year ago • 20 comments

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

bloxer09 avatar Feb 14 '24 13:02 bloxer09

Can I see your code?

nexquery avatar Feb 14 '24 13:02 nexquery

it's just a regular createplayertextdraw \

bloxer09 avatar Feb 14 '24 21:02 bloxer09

Have you tried it in an idle game mode?

nexquery avatar Feb 15 '24 16:02 nexquery

yes

bloxer09 avatar Feb 16 '24 22:02 bloxer09

Add via Discord: benburakya

nexquery avatar Feb 17 '24 07:02 nexquery

i have the same problem

najuaircrack avatar Sep 09 '24 14:09 najuaircrack

i have the same problem

Can you demonstrate the problem by taking a video?

nexquery avatar Sep 10 '24 06:09 nexquery

Using Plugin and Include Screenshot (56) Without using Plugin Screenshot (57) I am using Openmp latest verison and lemehost to run my server i dm you in discord najuaircrack

najuaircrack avatar Sep 10 '24 13:09 najuaircrack

fixed

najuaircrack avatar Sep 10 '24 14:09 najuaircrack

fixed

how do u fixed it??

Mydeenissak1 avatar Dec 18 '24 06:12 Mydeenissak1

@Mydeenissak1 If you're using OpenMP and mixed spellings in your gamemode, here's a quick fix. Simply rename PlayerTextdrawcolor to PlayerTextdrawcolour .

najuaircrack avatar Dec 18 '24 12:12 najuaircrack

@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?

nexquery avatar Dec 20 '24 10:12 nexquery

yes rename all textdrawcolor to colour it worked for me

najuaircrack avatar Dec 20 '24 10:12 najuaircrack

#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 !

najuaircrack avatar Dec 20 '24 10:12 najuaircrack

Using #undef MIXED_SPELLING should solve all the problems then.

nexquery avatar Dec 20 '24 10:12 nexquery

yes

najuaircrack avatar Dec 20 '24 10:12 najuaircrack

but still need to rename some functions

najuaircrack avatar Dec 20 '24 10:12 najuaircrack

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.

nexquery avatar Dec 20 '24 10:12 nexquery

there is a textdraw order issue also

najuaircrack avatar Dec 20 '24 10:12 najuaircrack

there is a textdraw order issue also

Yes, I will address this issue as well.

nexquery avatar Dec 20 '24 11:12 nexquery