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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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