Selecting playertextdraws? Functions missing?
#1

Is it just me or is there no function to toggle selection mode for playertextdraws?

There's no SelectPlayerTextDraw() or PlayerSelectTextDraw() but there's OnPlayerClickPlayerTextDraw?
Reply
#2

SelectTextDraw works for both global and per-player textdraws
Reply
#3

Ah right, understood, cheers dugi.
Reply
#4

Quote:
Originally Posted by dugi
Посмотреть сообщение
SelectTextDraw works for both global and per-player textdraws
I can't seem to get them to work.

I have created a textdraw dialog system. Every thing works perfect when I use global textdraws.

After changing all textdraws to per-player texts, OnPlayerClickTextDraw is no longer called.

The textdraws still change color, so it knows what textdraw I'm selecting but when I click, nothing happens.

Any ideas?
Reply
#5

It calls OnPlayerClickPlayerTextDraw.
Reply
#6

Quote:
Originally Posted by MP2
Посмотреть сообщение
It calls OnPlayerClickPlayerTextDraw.
Yea, someone already told me. I didn't check for new callbacks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)