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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get name of item from baseid stored in tag
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
how to get name of item from baseid stored in tag
How to get name of item wich baseid stored in tag?

TAG.ITEM1=i_pickaxe

ON=@DCLICK
SRC.SAY <TAG.ITEM1>.NAME ?
(This post was last modified: 07-27-2012 07:02 PM by WRWR.)
07-27-2012 07:01 PM
Find all posts by this user Like Post Quote this message in a reply
sco
Apprentice
*

Posts: 38
Likes Given: 0
Likes Received: 3 in 1 posts
Joined: Mar 2012
Reputation: 7

Elantharil

Post: #2
RE: how to get name of item from baseid stored in tag
ON=@DCLICK
SRC.SAY <SERV.ITEMDEF(<TAG.ITEM1>).NAME>
07-27-2012 08:31 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: how to get name of item from baseid stored in tag
ahh, really
why i forget it
Thanks
07-27-2012 10:34 PM
Find all posts by this user Like Post Quote this message in a reply
matawawa
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #4
RE: how to get name of item from baseid stored in tag
I have a similar problem, i need to show the name of an item in a dialog and i have the uid of the item stored on a tag so my question is how to get name of item wich uid stored in tag?

TAG.ITEM1=04000598c

[DIALOG ARMLIST]
dtext 50 50 1500 Arma 1 : <<TAG.ITEM1>.NAME>?
08-13-2012 07:33 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #5
RE: how to get name of item from baseid stored in tag
Code:
ref1=<tag.item1>
if <ref1>
    sysmessage your item name is <ref1.name>
else
    sysmessage your item is not exist in the world.
endif
(This post was last modified: 08-13-2012 08:12 AM by Shaklaban.)
08-13-2012 08:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
matawawa
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #6
RE: how to get name of item from baseid stored in tag
tyvm Big Grin
08-13-2012 10:16 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #7
RE: how to get name of item from baseid stored in tag
[DIALOG ARMLIST]
dtext 50 50 1500 Arma 1 : <QVAL <TAG0.ITEM1>?<UID.<TAG.ITEM1>.NAME>:"None">

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-13-2012 11:15 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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