Selecting playertextdraws? Functions missing? - 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: Selecting playertextdraws? Functions missing? (
/showthread.php?tid=327803)
Selecting playertextdraws? Functions missing? -
MP2 - 22.03.2012
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?
Re: Selecting playertextdraws? Functions missing? -
dugi - 22.03.2012
SelectTextDraw works for both global and per-player textdraws
Re: Selecting playertextdraws? Functions missing? -
MP2 - 22.03.2012
Ah right, understood, cheers dugi.
Re: Selecting playertextdraws? Functions missing? -
Psymetrix - 23.03.2012
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?
Re: Selecting playertextdraws? Functions missing? -
MP2 - 23.03.2012
It calls OnPlayerClick
PlayerTextDraw.
Re: Selecting playertextdraws? Functions missing? -
Psymetrix - 23.03.2012
Quote:
Originally Posted by MP2
It calls OnPlayerClickPlayerTextDraw.
|
Yea, someone already told me. I didn't check for new callbacks.