PlayerTextDrawSetSelectable
#4

You can't detect pressing the ESC key as far as I know and ESC will always trigger the cancellation of using the mouse to click a textdraw.
The only suggestion I would make is implementing the code below which will reset the mouse when you press SPACE

Код:
#define PRESSED(%0) \
	(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(PRESSED(KEY_SPRINT))
	{
		CancelSelectTextDraw(playerid);
		SelectTextDraW(playerid);
	}
}
Reply


Messages In This Thread
PlayerTextDrawSetSelectable - by JoshNudock - 14.07.2015, 04:15
Re : PlayerTextDrawSetSelectable - by KillerDVX - 14.07.2015, 04:22
Re: Re : PlayerTextDrawSetSelectable - by JoshNudock - 14.07.2015, 04:55
Re: PlayerTextDrawSetSelectable - by HarrisonC - 14.07.2015, 08:35

Forum Jump:


Users browsing this thread: 1 Guest(s)