Jump to content
  • 0
Sign in to follow this  
shakur69

evento Tarot

Question

uso esse :     specialeffect2 .@CARDs, strcharinfo(0);

erro : [Warning]: script error in file 'npc/custom/npc_eventos/npc_tarot.txt' line 157 column 6
    This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.

   154:                         attachrid(getcharid(3,$@tarot_participantes$[.@p]));
   155:                                 if( strcharinfo(3) == $@mapeventtarot$[0] ){
   156:                                         set .@CARDs,522+rand(1,14);
*  157:                                         specialeffect2 .@CARDs, strcharinfo(0);
        ~~~~~~~~~~~~~~~~~~~~^
   158:                                 //specialeffect(.@CARDs,522, strcharinfo(0));
   159:                         //              specialeffect(.@CARDs, AREA, strcharinfo(0));
   160:                                         if( .@CARDs == 531 ){
 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

try changing 

4 hours ago, shakur69 said:

specialeffect2 .@CARDs, strcharinfo(0);

to
specialeffect(.@CARDs, 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
Sign in to follow this  

×
×
  • Create New...

Important Information

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