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






Post Reply 
 
Thread Rating:
  • 2 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check if can drink t_potion
Author Message
Monty
Apprentice
*

Posts: 40
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jun 2012
Reputation: 1



Post: #1
How to check if can drink t_potion
Hi , again need help from the community
My problem is:
I need function called after drink type t_potion. Something like dclick but only after drink. I added typedef t_potion and after trigger @dclick i call my function. But this call my function everytime and i need only after drink how i can check if player can drink?

I try this but return alltime. True
IF (<src.restest i_handr_1>)

I think sphere add i_handr_1 from drinking potions and after is called typedef t_potion trigger @dclick is this true?

A terrible English I know maybe someone will understand. Big GrinD

C# application developer.
C/C++,SQL,PLSQL programming.
Oracle database / information system developer.
Cooperation for development of new shard.
08-31-2013 04:07 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
How to check if can drink t_potion - Monty - 08-31-2013 04:07 AM

Forum Jump:


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