open.mp forum
[Pawn] Help with SelectTextDraw - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Help with SelectTextDraw (/showthread.php?tid=1306)



Help with SelectTextDraw - dwp12345 - 2020-11-03

When i press ESC while?SelectTextDraw on going, it's still showing text draw but i cant select .


RE: Help with SelectTextDraw - Pinch - 2020-11-03

Because that's how it works...?



You either hide/destroy the TextDraws or re-enable the selection again


RE: Help with SelectTextDraw - Awide - 2020-11-03

Hit space to bring back the mouse:

Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
if((newkeys & KEY_SPRINT) && !(oldkeys & KEY_SPRINT)) {
SelectTextDraw(playerid, 0x00080FFFF);
}
return 1;
}