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
Dclick deed inside container
Author Message
Dataline
Apprentice
*

Posts: 14
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jun 2014
Reputation: 0



Post: #3
RE: Dclick deed inside container
Hi Extreme, thanks for your reply

here is code:

Code:
////////////////////////////////////////////////////////////////////////////////////////////////
// Cheque de comodidad
////////////////////////////////////////////////////////////////////////////////////////////////
[ITEMDEF i_cheque_comodidad]
NAME=Deed de Comodidad
ID=i_deed
TYPE=T_NORMAL
VALUE=100
weight = 1

CATEGORY=Objetos
SUBSECTION=Varios
DESCRIPTION=Cheque de comodidad

on=@create
NAME=Deed de Comodidad
Color=00
TAG.COMODIDAD=0

on=@dclick
if !(<cont>==<src.findlayer(21).uid>) && (<TAG0.COMODIDAD>==0)
        Src.message Debes tener el deed en la mochila para poder usarlo.
        return 1
elseif !(<cont>==<src.findlayer(21).uid>) && (<TAG0.COMODIDAD>==1)
        src.sysmessage=Obtienes <eval(<TAG.COMODIDADAMOUNT>)> de <TAG.COMODIDADNAME>.
        serv.newitem=<TAG.COMODIDADID>
        new.amount=<TAG.COMODIDADAMOUNT>
        COLOR=<TAG.COMODIDADADCOLOR>
        NEW.CONT=<cont>
        REMOVE
        return 1
elseif (<TAG0.COMODIDAD>==0)
        TARGET=Que deseas introducir?
        RETURN 1
//elseiF (<src.region.flags>==01192) || (<src.region.flags>==01092) &&
elseif (<TAG.COMODIDAD>==1)
        src.sysmessage=Obtienes <eval(<TAG.COMODIDADAMOUNT>)> de <TAG.COMODIDADNAME>.
        serv.newitem=<TAG.COMODIDADID>
        new.amount=<TAG.COMODIDADAMOUNT>
        COLOR=<TAG.COMODIDADADCOLOR>
        NEW.CONT=<SRC.FINDLAYER(21).UID>
        REMOVE
        return 1
else
        src.sysmessage=Hay problemas con este Deed de comodidad, avisa al Staff.
        Return 1
endif

when i do double click on deed inside a chest or box it's the problem.
06-24-2014 04:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Dclick deed inside container - Dataline - 06-24-2014, 12:22 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 04:14 AM
RE: Dclick deed inside container - Dataline - 06-24-2014 04:39 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 05:50 AM
RE: Dclick deed inside container - Extreme - 06-24-2014, 08:50 AM
RE: Dclick deed inside container - XuN - 06-24-2014, 05:07 PM
RE: Dclick deed inside container - kn4tseb - 06-27-2014, 03:13 PM
RE: Dclick deed inside container - kn4tseb - 06-28-2014, 01:42 AM
RE: Dclick deed inside container - sco - 06-28-2014, 07:27 AM

Forum Jump:


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