SA-MP Forums Archive
Was it supposed to be this way? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Was it supposed to be this way? (/showthread.php?tid=404414)



Was it supposed to be this way? - Dr.Einstein - 02.01.2013

When we use the new feature of SelectTextDraw(playerid,color), the playerid can press ESC, which cancels the SelectTextDraw and activates CancelSelectTextDraw(playerid).

1) Is it supposed to happen this way and is there a way to disable it?

2) Also, is there a player state which I can get to see if a player is on SelectTextDraw mode?


Re: Was it supposed to be this way? - ikkentim - 03.01.2013

1)supposed
2)no, store it yourself using, for example, PVars


Re: Was it supposed to be this way? - Dr.Einstein - 03.01.2013

Quote:
Originally Posted by ikkentim
Посмотреть сообщение
2)no, store it yourself using, for example, PVars
.
That's an idea, but how do I know if a player pressed ESC? To my knowledge, that's an impossibility in SA-MP. That's why a player state would work.