Selectabe textdraw don't work - 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: Selectabe textdraw don't work (
/showthread.php?tid=585029)
Selectabe textdraw don't work -
ax1 - 10.08.2015
Код:
InvSelect[0][playerid] = CreatePlayerTextDraw(playerid, 610.000000, 177.2, "usebox");
PlayerTextDrawTextSize(playerid, InvSelect[0][playerid], 350.0, 20.0);
PlayerTextDrawAlignment(playerid, InvSelect[0][playerid], 1);
PlayerTextDrawUseBox(playerid,InvSelect[0][playerid], 1);
PlayerTextDrawBoxColor(playerid, InvSelect[0][playerid], 0xE9E9E950);
PlayerTextDrawColor(playerid, InvSelect[0][playerid], 0);
PlayerTextDrawSetSelectable(playerid, InvSelect[0][playerid], true);
PlayerTextDrawFont(playerid, InvSelect[0][playerid], 1);
When I enter selectable mode I can't select this textdraw. What's the problem? Increasing or decreasing PlayerTextDrawTextSize didn't helped.
Re: Selectabe textdraw don't work -
Vince - 10.08.2015
https://sampwiki.blast.hk/wiki/PlayerTextDrawSetSelectable
Respuesta: Selectabe textdraw don't work -
Minikole - 10.08.2015
EDIT__
try this
change
Код:
PlayerTextDrawAlignment(playerid, InvSelect[0][playerid], 1);
by
Код:
PlayerTextDrawAlignment(playerid, InvSelect[0][playerid], 2);
Re: Selectabe textdraw don't work -
ax1 - 10.08.2015
Quote:
Originally Posted by Vince
|
And?
Quote:
Originally Posted by Minikole
EDIT__
try this
change
Код:
PlayerTextDrawAlignment(playerid, InvSelect[0][playerid], 1);
by
Код:
PlayerTextDrawAlignment(playerid, InvSelect[0][playerid], 2);
|
Don't work.
Re: Selectabe textdraw don't work -
ax1 - 11.08.2015
Help
Re: Selectabe textdraw don't work -
ax1 - 12.08.2015
Help
Re: Selectabe textdraw don't work -
lanix - 12.08.2015
try make another textdraw
Re: Selectabe textdraw don't work -
ax1 - 12.08.2015
Quote:
Originally Posted by lanix
try make another textdraw
|
... nice advice. How another textdraw is gonna solve my problem?
Re: Selectabe textdraw don't work -
Andre02 - 12.08.2015
Quote:
Originally Posted by ax1
... nice advice. How another textdraw is gonna solve my problem?
|
You could have some better attitude people are trying to help you...
Are you using SelectTextDraw ?
https://sampwiki.blast.hk/wiki/SelectTextDraw
Remember PlayerTextDrawSetSelectable MUST be used BEFORE the textdraw is shown to the player.
https://sampwiki.blast.hk/wiki/PlayerTextDrawSetSelectable
Re: Selectabe textdraw don't work -
ax1 - 12.08.2015
Quote:
Originally Posted by Andre02
|
Yes I'm using SelectTextDraw and PlayerTextDrawSetSelectable is used before textdraw is shown to the player. Bu for example I'm trying to click on TEXT textdraws and It works on them (for example
http://ft2.dtupload.com/MoXz/sa-mp-047.png it works if I click word hey). Only BOX textdraws aren't working.
And what's wrong with my attitude? I wasn't mean or anything.