SA-MP Forums Archive
Problem on TextDrawSetSelectable - 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: Problem on TextDrawSetSelectable (/showthread.php?tid=328100)



Problem on TextDrawSetSelectable - [DDC]Delight - 23.03.2012

Right i'm trying out this new function.

It works great but after i'm using:

pawn Код:
CancelSelectTextDraw(playerid);
The server lags like shit, and I can't be put into selection mode anymore?

So:

pawn Код:
SelectTextDraw(playerid, 0xFFFFFFFF);
Only works once...

Any idea why this is happening is there something I'm missing?


Re: Problem on TextDrawSetSelectable - Psymetrix - 23.03.2012

Are you using CancelSelectTextDraw(playerid); under OnPlayerClickTextDraw?

When you press T to show the chat, is the mouse blinking?

I think I've just worked out one of my own problems..


Re: Problem on TextDrawSetSelectable - [DDC]Delight - 23.03.2012

Actually when I click a textdraw it opens a dialog.
So CancelSelectTextDraw(playerid); is called on DialogResponse

About the mouse blinking, I haven't got that issue since the lag is massive after the CancelSelectTextdraw is called


EDIT:

To be specific, after cancel i try to get back into selectable mode.
At that part it stops working, it doesn't show the pointer anymore