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
UserSkills
Author Message
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
UserSkills
Hi Bye

Someone tell me ... why not working this trigger ? Shock

This menu [d_SKILLS_MENU] - working ... I checked Veryhappy

PHP Code:
On=@UserSkills
    SDIALOG d_SKILLS_MENU 
03-15-2013 04:35 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: UserSkills
doesn't work even with src.sdialog ?

by the way, have you installed in the player, the events that contains that trigger ?
(This post was last modified: 03-15-2013 06:46 PM by darksun84.)
03-15-2013 06:34 PM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #3
RE: UserSkills
i remade the skill panel too, and i did:

ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.get_work_skill //my custom function for some stuff
SRC.DIALOG D_SCHEDAPG // my custom skill panel
RETURN 1
ENDIF
RETURN 1
03-15-2013 07:49 PM
Find all posts by this user Like Post Quote this message in a reply
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #4
RE: UserSkills
(03-15-2013 06:34 PM)darksun84 Wrote:  doesn't work even with src.sdialog ?
No Sad

(03-15-2013 06:34 PM)darksun84 Wrote:  by the way, have you installed in the player, the events that contains that trigger ?
I do not know ... how to check?

(03-15-2013 07:49 PM)Crusader Wrote:  // SKILL_MENU --------------------------------------
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1
It's not wroking Cry
03-16-2013 02:49 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: UserSkills
add the trigger to an event on your player otherwise your not likely to override the hardcoded function

Code:
[EVENTS e_myevent]
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1

[Image: 2nis46r.jpg]
03-16-2013 02:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
an0n!m0use
Journeyman
*

Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #6
RE: UserSkills
(03-16-2013 02:53 AM)Mordaunt Wrote:  add the trigger to an event on your player otherwise your not likely to override the hardcoded function

Code:
[EVENTS e_myevent]
ON=@UserSkills
IF (<ARGN1> == -1) // this means, IF i'm opening the skill panel
SRC.DIALOG d_SKILLS_MENU
RETURN 1
ENDIF
RETURN 1

Thank you Wink It' work Veryhappy
03-16-2013 03:39 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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