Clicklable textdraw problem, all work, except one.
#1

Edit:

Solved, I don't know the exact reason, but re-designing the textdraws helped














Hey guys, I have been working on a clickable textdraw system, I did everything I need to, and all of the textdraws get detected when they are clicked. Except "pyroman", it was where the place "Bomber Class" was, whenever I click that textdraw, it doesn't detect it's clicked. What can be the reason beyond this?

The textdraw was under "Engineer", but I whenever I clicked Engineer, it would detect "Pyro", so I removed Pyro and threw it to the bottom and now Engineer works fine, but Pyro isn't detected correctly at all.

PS. All Textdraws are working, except pyroman.


pawn Код:
new PlayerText:PyromanClass[MAX_PLAYERS];

//OnPlayerclicktextdraw

    if(playertextid == PyromanClass[playerid])
    {
    SendClientMessage(playerid,RED,"Pyro");
    }

PyromanClass[playerid] = CreatePlayerTextDraw(playerid, x, y, "Pyroman Class");
PlayerTextDrawLetterSize(playerid, PyromanClass[playerid], 0.399331, 1.570963);
PlayerTextDrawAlignment(playerid, PyromanClass[playerid], 1);
PlayerTextDrawColor(playerid, PyromanClass[playerid], -1);
PlayerTextDrawSetShadow(playerid, PyromanClass[playerid], 0);
PlayerTextDrawSetOutline(playerid, PyromanClass[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, PyromanClass[playerid], 51);
PlayerTextDrawFont(playerid, PyromanClass[playerid], 1);
PlayerTextDrawSetProportional(playerid, PyromanClass[playerid], 1);
PlayerTextDrawSetSelectable(playerid, PyromanClass[playerid], true);
Here's a pic:

http://prntscr.com/1ss89t
Reply


Messages In This Thread
Clicklable textdraw problem, all work, except one. - by Tamer - 22.09.2013, 12:44
Re: Clicklable textdraw problem, all work, except one. - by DanishHaq - 22.09.2013, 12:48
Re: Clicklable textdraw problem, all work, except one. - by Tamer - 22.09.2013, 12:51

Forum Jump:


Users browsing this thread: 1 Guest(s)