Clickable Textdraw help!
#1

I've got a row with textdraws like:
(Textdraws are seperated ofcourse)

a b c d

When I hover over a it becomes:

a b c d

When I hover over b it becomes:

a b c d

c:

a b c d

and over d:

a b c d

How can I fix this?
Reply
#2

I think you will need to re-set the color of the other textdraw once they hover over one of them.
Mind showing part of that script where it changes the colors when hovering over it?
Reply
#3

I simply:
Show all textdraws and at the end I have:
pawn Код:
SelectTextDraw(playerid, COLOR_RED);
Reply
#4

Quote:
Originally Posted by arjanforgames
Посмотреть сообщение
I simply:
Show all textdraws and at the end I have:
pawn Код:
SelectTextDraw(playerid, COLOR_RED);
Strange -.. How about you try using CancelSelectTextDraw on the OnPlayerClickTextDraw callback.
Reply
#5

Didnt work.
Reply
#6

Quote:
Originally Posted by arjanforgames
Посмотреть сообщение
Didnt work.
Then im sorry I cant really help you out :/.

I've noticed that on the video in this topic he has the same thing so maybe its a problem in samp or something.
https://sampforum.blast.hk/showthread.php?tid=328267

try having a bigger space between the textdraws maybe?
Reply
#7

Will try,
Thanks for helping me out
Reply
#8

You need to °play around° with TextDrawTextSize until you get the right values.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)