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-nmm6 (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-nmm6 (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-nmm6 (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
Removing items from context menu
Author Message
Vendetta
Apprentice
*

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



Post: #1
Removing items from context menu
can, and if yes, how items can be removed from context menu.
for example on pets. i wish to remove command: drop


any sugestions? :\
05-05-2012 07:02 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: #2
RE: Removing items from context menu
you can use return 1 for override them on @contextmenurequest, little example for vendors:

PHP Code:
ON=@ContextMenuRequest
    src
.addcontextentry 205,6123
    src
.addcontextentry 200,6103
    src
.addcontextentry 201,6104
    
return 1

ON
=@ContextMenuSelect
if (<argn>=200)
    
buy
elif 
(<argn>=201)
    
sell    
elif 
(<argn>=205)
    
openpaperdoll
endif 
05-05-2012 07:52 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Vendetta
Apprentice
*

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



Post: #3
RE: Removing items from context menu
thanks alot
05-05-2012 08:04 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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