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
original name of a pet
Author Message
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #1
original name of a pet
Hello,

how do I get back the orginal name of a pet that was renamed from me or a player?
On thing is to use <serv.chardef.c_dog.name>
but what about the pets that have real names (from the sphere_name.scp script).
maybe I have to put an tag0. over them when the trigger @rename is started?

gr

phoenix
07-25-2012 06:56 PM
Find all posts by this user Like Post Quote this message in a reply
Alias
Journeyman
*

Posts: 107
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #2
RE: original name of a pet
I use this in my shrink potion maybe it will help you
Code:
SRC.NEWITEM=<SRC.TARG.ICON>
SRC.ACT.TAG.NAME=<serv.chardef.<argo.baseid>.name>
SRC.ACT.NAME=<serv.chardef.<argo.baseid>.name>
SRC.ACT.COLOR=<SRC.TARG.COLOR>
SRC.ACT.MORE1=<SRC.TARG.BASEID>
SRC.ACT.MORE2 = <src.targ.uid>
SRC.ACT.BOUNCE
SRC.ACT.TYPE=t_figurine
SRC.TARG.REMOVE
F_AMOUNT
return 1
endif
07-25-2012 07:40 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #3
RE: original name of a pet
that´s what I said Smile
thanks Alias

btw, very old code style *g*
07-25-2012 08:02 PM
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)