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
ON=@ITEMDROPON_GROUND
Author Message
xwerswoodx
Journeyman
*

Posts: 86
Likes Given: 4
Likes Received: 7 in 4 posts
Joined: Jun 2012
Reputation: 0

UoMMO

Post: #5
RE: ON=@ITEMDROPON_GROUND
If you use, timer or argn1 I think they don't check if it's static or move_never when the timer finish.
Code:
[Function f_item_decay]
ref1=<uid>
if !(<ref1.cont>) && !(<ref1.attr>&attr_static) && !(<ref1.attr>&attr_move_never) && !(<ref1.attr>&attr_owned)
ref1.remove
endif

In your player event;
Code:
On=@ItemDropOn_Ground
src.sysmessage This item will decay in 20 seconds.
act.timerf 20,f_item_decay

On=@ItemPickUp_Ground
act.timerf clear
02-16-2013 01:46 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ON=@ITEMDROPON_GROUND - Deathangel592 - 10-01-2012, 09:40 PM
RE: ON=@ITEMDROPON_GROUND - Skul - 10-01-2012, 10:28 PM
RE: ON=@ITEMDROPON_GROUND - Deathangel592 - 10-10-2012, 05:56 AM
RE: ON=@ITEMDROPON_GROUND - Shaklaban - 10-10-2012, 07:28 AM
RE: ON=@ITEMDROPON_GROUND - xwerswoodx - 02-16-2013 01:46 AM

Forum Jump:


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