double click on textdraw
#1

I created a sales list and I want to put the players to give 2 click the product to buy, could someone help me? tried in various ways and can not

Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	for(new i = 3; i < 13; i++)
	{
		if(clickedid == TD_ListBox[i])
		{
      		TimeClickTD_List[playerid] = gettime() + 1;
   			IDClickTD_List[playerid] = i;

   			if(gettime() < TimeClickTD_List[playerid] && IDClickTD_List[playerid] == i)
   			{

				return 1;
			}
		}
	}
	return 1;
}
Reply


Messages In This Thread
double click on textdraw - by cellps - 04.09.2018, 02:42
Re: double click on textdraw - by Sew_Sumi - 04.09.2018, 02:45
Re: double click on textdraw - by cellps - 04.09.2018, 03:38
Re: double click on textdraw - by Sew_Sumi - 04.09.2018, 03:49
Re: double click on textdraw - by Gammix - 04.09.2018, 04:18

Forum Jump:


Users browsing this thread: 1 Guest(s)