Textdraw click doesn't response
#1

TextSize is correct, so what's bad?
made by iTD.
Код:
	colors6  = TextDrawCreate(141.500000, 339.687500, "usebox");
	TextDrawLetterSize(colors6, 0.000000, 1.579166);
	TextDrawTextSize(colors6, 115.000000, 115.000000);
	TextDrawAlignment(colors6, 1);
	TextDrawColor(colors6, 0);
	TextDrawUseBox(colors6, true);
	TextDrawBoxColor(colors6 , 1245987583);
	TextDrawSetShadow(colors6, 0);
	TextDrawSetOutline(colors6, 0);
	TextDrawFont(colors6, 0);
	TextDrawSetSelectable(colors6, true);
Reply
#2

What your topic is relevant to and what your code is relevant to?
Show me the place where you show the textdraw, and OnPlayerSelectTextdraw callback.
Reply
#3

OnPlayerClickTextDraw
code is doesn't work because something is wrong with textdraw, not here.
Код:
	if(clickedid == Text:colors6)
	{
	    if(actualcar[playerid] == 503)
	    {
	    	ChangeVehicleColor(playerscar[playerid], 252, classccolor2[playerid]);
	    }else if(actualcar[playerid] == 494)
	    {
	        ChangeVehicleColor(playerscar[playerid], 252, classbcolor2[playerid]);
	    }else if(actualcar[playerid] == 502)
	    {
	        ChangeVehicleColor(playerscar[playerid], 252, classacolor2[playerid]);
	    }
	}
Reply
#4

anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)