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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
typedef question
Author Message
daedelus
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Aug 2012
Reputation: 0



Post: #1
Question typedef question
Need to know how I can add a [typedef t_plate] only with gloves and arms platemail (in general, any mineral).

The script is to uneqeuip all the arms and gloves when you equip a bow or xbow, but I need it to be just the type platemail.

Code:
[TYPEDEF T_PLATE]

[TYPEDEF T_SACARBRAZOSYGLOVES]

ON=@EQUIP
IF ( <SRC.FINDLAYER.LAYER_GLOVES>  || <SRC.FINDLAYER.LAYER_ARMS>) && ((<SRC.FINDLAYER.LAYER_HAND2.TYPE> == T_WEAPON_BOW) || (<SRC.FINDLAYER.LAYER_HAND2.TYPE> == T_WEAPON_XBOW))
  SRC.FINDLAYER.LAYER_GLOVES.UNEQUIP
   SRC.FINDLAYER.LAYER_ARMS.UNEQUIP
    SRC.SYSMESSAGE @70 Si usas un arco no puedes usar guantes y brazos platemail!
   RETURN 1
  ELSE
ENDIF

I think something (<SRC.FINDLAYER.LAYER_GLOVES.TYPE> == T_PLATE) .

Thanks
(This post was last modified: 08-31-2012 01:11 PM by daedelus.)
08-31-2012 01:07 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
typedef question - daedelus - 08-31-2012 01:07 PM
RE: typedef question - Skul - 08-31-2012, 02:34 PM
RE: typedef question - daedelus - 08-31-2012, 09:44 PM
RE: typedef question - Extreme - 09-01-2012, 02:29 AM
RE: typedef question - daedelus - 09-01-2012, 03:42 AM
RE: typedef question - Extreme - 09-01-2012, 05:48 AM
RE: typedef question - daedelus - 09-05-2012, 08:15 AM
RE: typedef question - daedelus - 09-01-2012, 07:46 AM
RE: typedef question - Extreme - 09-01-2012, 08:55 AM
RE: typedef question - Mordaunt - 09-01-2012, 11:53 AM
RE: typedef question - daedelus - 09-03-2012, 09:52 PM
RE: typedef question - Shaklaban - 09-03-2012, 10:00 PM
RE: typedef question - Mordaunt - 09-04-2012, 03:37 AM
RE: typedef question - RanXerox - 09-05-2012, 08:52 AM
RE: typedef question - daedelus - 09-05-2012, 12:32 PM
RE: typedef question - daedelus - 09-05-2012, 09:27 AM
RE: typedef question - RanXerox - 09-05-2012, 09:41 AM
RE: typedef question - RanXerox - 09-05-2012, 12:48 PM
RE: typedef question - daedelus - 09-05-2012, 10:05 PM

Forum Jump:


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