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
type in function
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: type in function
Type is ONLY for items, you can't assign types to NPCs, you have to create [EVENTS ] for them, also the ATTR is an item value,you want the dragon to be 'static' and never move? use tag.nomovetill 99999999999

Also if you are running newer versions use this code instead
serv.newnpc=c_dragon
new.p=<p>
new.m=0,0,-20
new.events +e_yournewevent //you have to create it
new.tag.nomovetill=99999999999

The serv.newnpc/newitem will create for you this npc or item and will make it the default object for NEW, so you don't have to use ACT: wich may conflict with other systems.
10-29-2013 12:10 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
type in function - seafish - 10-28-2013, 11:44 PM
RE: type in function - XuN - 10-29-2013 12:10 AM
RE: type in function - seafish - 10-29-2013, 12:28 AM
RE: type in function - XuN - 10-29-2013, 12:37 AM
RE: type in function - Mordaunt - 10-29-2013, 12:38 AM
RE: type in function - seafish - 10-29-2013, 12:48 AM
RE: type in function - XuN - 10-29-2013, 12:55 AM
RE: type in function - seafish - 10-29-2013, 01:26 AM
RE: type in function - XuN - 10-29-2013, 03:13 AM
RE: type in function - seafish - 10-29-2013, 04:53 AM
RE: type in function - XuN - 10-29-2013, 06:22 AM
RE: type in function - seafish - 10-29-2013, 11:04 AM

Forum Jump:


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