Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Clickable textdraw
rVar
Big Clucker
Posts: 57
Threads: 11
Joined: Mar 2012
Reputation:
0
#1
29.01.2013, 18:26
(
Последний раз редактировалось rVar; 19.02.2013 в 14:06.
)
// bla blaaaa, delete
Find
Reply
IstuntmanI
High-roller
Posts: 1,801
Threads: 27
Joined: Mar 2009
Reputation:
0
#2
29.01.2013, 18:30
Try playing around with TextDrawTextSize when you create the textdraws, it is an area in which you can click (like a box).
Try
pawn Код:
TextDrawTextSize
(
textdrawid,
16.0
,
16.0
)
;
then play around with the numbers until it's fine.
Find
Reply
Jewell
Big Clucker
Posts: 136
Threads: 2
Joined: Jan 2013
Reputation:
0
#3
30.01.2013, 03:14
Dude, i had the same problem with my login screen.
read here
https://sampwiki.blast.hk/wiki/TextDrawTextSize
- TextDrawTextSize
IF you are using a ingame text editor.. it easy get TextDrawTextSize x ,y axis..
turn on TextDrawUseBox first, text select place it.. and get the x ,y axis.. to TextDrawTextSize
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#4
30.01.2013, 07:59
The Y value doesn't affect anything visually, so it's guess work, but you can get the X size with the TD editor. Another tip is to use a SPRITE, as both the x AND y value will change the size of the sprite - showing you your clickable area.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help