04.09.2018, 02:42
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; }