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






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item property gump need help
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #9
RE: Item property gump need help
this is ur script fixed. should work

[ITEMDEF i_testchineseitem1]
ID=0108a
TYPE=T_CHNITEMNAME
ON=@Create
NAME=testchinese 中文
COLOR=481

[TYPEDEF T_CHNITEMNAME]
ON=@CLICK
message @160,,1 <NAME>
timerf 1,chniteminfo <uid> //fix 1 send the item uid to the next function u call it later.
return 1

[Function chniteminfo]
tag0.itemprops=<args> //fix4 safe the uid into the character to call it later.
src.dialog d_iteminfochn
timerf 3,closechniteminfo
return 0

[Function closechniteminfo]
SRC.DIALOGCLOSE d_iteminfochn

[dialog d_iteminfochn]
800, 600
PAGE 0
resizepic 0 0 83 300 400
text 97 14 1152 0
ref12=<uid.<tag0.itemprops>> // //fix5 Set ref12 as fast way to call the item.
tag0.imtemprops= // //fix 6 erase tag
dtext 21 42 1152 <ref12.name> //// //fix7 call the item name



//////////////////////////////////// Another way u can test:

[Function chniteminfo]
uid.<args>.dialog d_iteminfochn //or using a trysrc if it dosnt work.
timerf 3,closechniteminfo
return 0
01-22-2016 01:02 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes rastrero's post
Post Reply 


Messages In This Thread
RE: Item property gump need help - Kanibal - 01-21-2016, 09:04 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 09:51 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 10:04 PM
RE: Item property gump need help - Kanibal - 01-21-2016, 10:21 PM
RE: Item property gump need help - rastrero - 01-22-2016 01:02 AM
RE: Item property gump need help - karma - 01-22-2016, 03:00 AM
RE: Item property gump need help - evening - 01-22-2016, 03:34 PM
RE: Item property gump need help - Kanibal - 01-25-2016, 06:40 PM
RE: Item property gump need help - evening - 01-25-2016, 01:15 PM
RE: Item property gump need help - evening - 01-25-2016, 04:52 PM

Forum Jump:


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