Problem on TextDrawSetSelectable
#1

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?
Reply
#2

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..
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)