The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dynamic gump text question.
Author Message
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
dynamic gump text question.
Hi guys, I need help.

I'm doing this gump.
Code:
[DIALOG d_props]
50,50
resizepic 124 44 9200 226 96//grey
gumppictiled 137 59 198 67 9274//blue
gumppictiled 138 60 70 21 3004//white1
gumppictiled 209 60 95 21 3004//white2
button 314 63 5601 5605 0 1 1 1//button
dtext 142 60 0 Item Name
dtext 220 60 0 <tag0.name>
gumppictiled 138 82 70 21 3004//white1
gumppictiled 209 82 95 21 3004//white2
dtext 142 83 0 Item ID
dtext 220 83 0 <tag0.ID>
gumppictiled 138 104 70 21 3004//white1
gumppictiled 209 104 95 21 3004//white2
dtext 142 105 0 Item Pos
dtext 220 105 0 <tag0.P>

My question is related to <tag0.name>, when the tag name is too big the text end up passing the gump limits....

its there a way to show x amount of characters on this dtext?

like
Code:
dtext <x> <y> <color> "<max number of chars>" <text>
And also how can I make a gump that stretches it size according to the values of tags.... like this name tag...

thanks
05-02-2014 05:05 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
dynamic gump text question. - amonvangrell - 05-02-2014 05:05 PM
RE: dynamic gump text question. - XuN - 05-02-2014, 05:36 PM
RE: dynamic gump text question. - Alaric - 05-02-2014, 06:22 PM
RE: dynamic gump text question. - Alaric - 05-02-2014, 06:58 PM
RE: dynamic gump text question. - Alaric - 05-05-2014, 08:47 AM
RE: dynamic gump text question. - Coruja - 05-05-2014, 11:30 AM

Forum Jump:


User(s) browsing this thread: 9 Guest(s)