[QUESTION] How to use now the TextdrawClickSystem ?
#3

Where to put ? and which parameters to use ?

I have:
Код:
if(!strcmp(cmdtext, "/mas", true))
    {
        for(new i = 0; i < MAX_TEXT_DRAWS; i++) TextDrawSetSelectable(Text:i, 1);
        SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: All textdraws can be selected now!");
        return 1;
    }
	if(!strcmp(cmdtext, "/tdselect", true))
    {
        SelectTextDraw(playerid, -1);
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Please select a textdraw!");
        return 1;
    }
After using that commands i cant select the textdraw.

Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	if(clickedid == Textdraw0)
	{
		// Function
		SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw.");
	}
    }
    return 1;
}
This message DOESN'T come for me.

And what means "SelectTextDraw(playerid, hovercolor); ?
for what is this "color" ?
where to see ?


Atta(Oo);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)