SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03/04/2012, 04:16 PM   #1
CyNiC
High-roller
 
CyNiC's Avatar
 
Join Date: Jan 2009
Location: Brazil
Posts: 1,348
Reputation: 145
Post SelectTextDraw - TextDraws in same line(bug?)

Firstly, I use TextDrawTextSize + TextDrawSetSelectable and each word is one textdraw.

I have a problem with horizontal textdraws(columns), just the first column works, I can't figure out how to make the another columns selectable.

On the first image is alright, my cursor is over the first column.

In this another, my cursor is over the second column.


pawn Code:
for(new col = 0; col < 7; col++)
        {
            for(new i = 0; i < 15; i++)
            {
                HColName[col][i] = CreatePlayerTextDraw(playerid, HColPos[col][0], HColPos[col][1], "/Comando");
                PlayerTextDrawBackgroundColor(playerid, HColName[col][i], 255);
                PlayerTextDrawFont(playerid, HColName[col][i], 2);
                PlayerTextDrawLetterSize(playerid, HColName[col][i], 0.180000, 1.200000);
                PlayerTextDrawColor(playerid, HColName[col][i], -1);
                PlayerTextDrawSetOutline(playerid, HColName[col][i], 0);
                PlayerTextDrawSetProportional(playerid, HColName[col][i], 1);
                PlayerTextDrawSetShadow(playerid, HColName[col][i], 1);
                PlayerTextDrawTextSize(playerid, HColName[col][i], 50.000000, 10.000000);
                PlayerTextDrawSetSelectable(playerid, HColName[col][i], 1);
                PlayerTextDrawShow(playerid, HColName[col][i]);
            }
        }
__________________
since 2006

Online Objects Viewer
My scripts
Revolution is coming!
CyNiC is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textdraw keypad using 0.3e SelectTextDraw! MP2 Screenshots and Videos 19 14/05/2012 05:33 PM
[BUG] SelectTextDraw Lynn Scripting Help 2 02/04/2012 12:24 AM
[Bug] SelectTextDraw Asasi Scripting Help 1 31/03/2012 04:21 PM
[BUG] Selecting textdraws lighting up multiple textdraws Hiddos Scripting Help 3 24/03/2012 02:44 PM
SelectTextDraw issues MP2 Scripting Help 19 21/03/2012 08:07 AM


All times are GMT. The time now is 07:50 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.