The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




crafting items with names
#1
I know that you can change or add crafting recipes, but i was wondering if you can make it so you can craft items with names? For example, if i were to put two sticks on a crafting table, it would make a wooden sword with the name "basic wooden sword" where as if i put three sticks in the crafting table, it would make a wooden sword with the name "advanced wooden sword". Is this even possible?
Reply
Thanks given by:
#2
Yes you can change the name of a item. Here is a link to the class cItem. Look at the member variables.

Example
local item = cItem(E_ITEM_BLAZE_ROD, 1)
item.m_CustomName = "A special blaze"
Reply
Thanks given by:
#3
thanks =)
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)