|
|
#1 |
|
Little Clucker
![]() Join Date: Mar 2011
Posts: 13
Reputation: 2
|
Problem on mouse pointer, look. [ Couser is pointer, i mixed some words ]
Image if I can put the pointer on the text. http://www.dodaj.rs/f/1S/JF/3byXmRHP/sa-mp-001.png ![]() When I put the pointer to text "Kola" select and text "Out of character". http://www.dodaj.rs/f/1j/N8/trYkwyX/sa-mp-003.png ![]() How to select only "Kola" and "out of character" stay white color? |
|
|
|
|
|
#2 |
|
SA-MP Developer
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2005
Posts: 574
Reputation: 1511
|
Each selectable text must be its own seperate TextDraw. Adjust the TextDrawSetSize parameters until the area matches your desired clickable area. The TextDrawSetSize areas can't overlap.
|
|
|
|
|
|
#3 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Black Asylum
Posts: 2,450
Reputation: 222
|
Quote:
Edit: gosh, I am not trying to disrespect Kalcor, I was just wondering if there was a new function that he didn't mention in the RC thread... Last edited by Kar; 21/03/2012 at 09:09 PM. |
|
|
|
|
|
|
#4 | |
|
Guest
Posts: n/a
|
Quote:
|
|
|
|
|
#5 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: Greece
Posts: 906
Reputation: 124
|
|
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
Yes, you have to understand that textdraw is text drawn on the screen, not some special GUI system. That's why text size matters on textdraw select. I will probably create a GUI library to make things easier for myself and many others who is facing the problem, misunderstanding with the term textdraw.
|
|
|
|
#7 | |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: Greece
Posts: 906
Reputation: 124
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Guest
Posts: n/a
|
|
|
|
|
#9 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: Greece
Posts: 906
Reputation: 124
|
That came to my mind after i saw that post seriously.Except of efficiency i think more people are going to use clickable textdraws so they will use lot textdraws to create nice menus to make the server seems nice.
|
|
|
|
|
|
#10 | |
|
Little Clucker
![]() Join Date: Mar 2011
Posts: 13
Reputation: 2
|
Quote:
Look at this as an example: pawn Code:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flashlight Pointer | [SFA]SpiRRiT | Scripting Help | 3 | 04/02/2012 01:43 PM |
| Vehicle 3 Pointer [Minimode] | Austin | General | 7 | 22/05/2011 06:46 PM |
| Text when you select.. | davelord | Help Archive | 2 | 23/01/2011 06:17 PM |
| Pointer above the car | Nameless303 | Help Archive | 8 | 24/09/2010 10:34 PM |