Jump to content
  • 0
heroji

Warning ..will be removed in a future update.

Question

Quote

    This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.

    93:         mes "Are you sure?";
    94:                 if(select("No:Yes")==1) goto L_exit;
    95:                 set counts,1;
*   96:                 specialeffect2 EF_BEGINASURA;
        ~~~~~~~~~~~~~~~~^
    97:                 dispbottom "Pvp System Enabled";
    98:                 dispbottom "[Pvp System]  You currently have "+#PvpPoints+" Pvp Point(s).";
    99:                 close;

will be removed in a future update.? do i have to change it or i can leave it..

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Whenever you see a deprecation warning you should look at the script documentation for instructions, which in this case instructs you to use specialeffect(). You can find more details on the Deprecation Notice thread: 

 

 

In your case you would simply replace it with:

specialeffect(EF_BEGINASURA, AREA, playerattached());

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.