Textdraws not going to selectable mode
#1

Hi everyone,

I have a textdraw related problem again....
here is what I do:
pawn Код:
TextDrawShowForPlayer(playerid,checkinfo);
    TextDrawShowForPlayer(playerid,changevalue);
    TextDrawShowForPlayer(playerid,tickets);
    TextDrawShowForPlayer(playerid,changeowner);
    TextDrawShowForPlayer(playerid,impound);
    TextDrawShowForPlayer(playerid,loggedplayer);
    TextDrawShowForPlayer(playerid,chooseoption);
    TextDrawShowForPlayer(playerid,logout);
    TextDrawSetSelectable(checkinfo,1);
    TextDrawSetSelectable(changevalue,1);
    TextDrawSetSelectable(tickets,1);
    TextDrawSetSelectable(changeowner,1);
    TextDrawSetSelectable(impound,1);
    TextDrawSetSelectable(logout,1);
    SelectTextDraw(playerid,16715263);
What is wrong with this code? the textdraws are appearing, but they arent selectable :\
Reply
#2

Change
pawn Код:
TextDrawSetSelectable(checkinfo,1);
to
pawn Код:
TextDrawSetSelectable(Text:checkinfo,1);
same with others.. maybe it will then..
Reply
#3

Have you tried setting the textdraws selectable BEFORE showing them?
Reply
#4

@jarnu I tried this, but without result
@Hiddos I will try this now, and edit my post to say if it worked
Reply
#5

You mean that they don't change their color when you put the mouse over them?
Can you show me how did you create them please? With one is enough.
Reply
#6

It's solved with the advice Hiddos gave me, but thanks for thinking for me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)