23.03.2012, 22:43
Where to put ? and which parameters to use ?
I have:
After using that commands i cant select the textdraw.
This message DOESN'T come for me.
And what means "SelectTextDraw(playerid, hovercolor); ?
for what is this "color" ?
where to see ?
Atta(Oo);
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; }
Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == Textdraw0) { // Function SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw."); } } return 1; }
And what means "SelectTextDraw(playerid, hovercolor); ?
for what is this "color" ?
where to see ?
Atta(Oo);