SA-MP Forums Archive
Textdraws not going to selectable mode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraws not going to selectable mode (/showthread.php?tid=356391)



Textdraws not going to selectable mode - Jstylezzz - 03.07.2012

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 :\


Re: Textdraws not going to selectable mode - Jarnu - 03.07.2012

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


Re: Textdraws not going to selectable mode - Hiddos - 03.07.2012

Have you tried setting the textdraws selectable BEFORE showing them?


Re: Textdraws not going to selectable mode - Jstylezzz - 03.07.2012

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


Respuesta: Textdraws not going to selectable mode - [DOG]irinel1996 - 03.07.2012

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.


Re: Textdraws not going to selectable mode - Jstylezzz - 03.07.2012

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