Jump to content
  • 0
Sign in to follow this  
stiflerxx

script commands

Question

hello i am getting a warning on the console:

[Warning]: script error in file 'npc/custom/portal/outros/Npc_Mestra_das_Classes.txt' line 14 column 38
This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.

11: mes "Você precisa utilizar todos os seus pontos de habilidade antes de mudar de classe.";
12: close;
13: }
* 14: if (checkcart() && checkfalcon() && checkriding())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
15: {
16: mes "Você não pode mudar de classe enquanto estiver utilizando Falcão, Carrinho ou PecoPeco.";
17: close;
[Warning]: script error in file 'npc/custom/portal/outros/Npc_Novo_Mestre.txt' line 13 column 38
This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.

10: mes "Você precisa utilizar todos os seus pontos de habilidade antes de mudar de classe.";
11: close;
12: }
* 13: if (checkcart() && checkfalcon() && checkriding()){
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
14: mes "^ff0000[Mestra das Classes]^000000";
15: mes "Você não pode mudar de classe enquanto estiver utilizando Falcão, Carrinho ou PecoPeco.";
16: close;

[Warning]: script error in file 'npc/custom/portal/outros/Npc_Garota_Negociante.txt' line 51 column 3
This command is deprecated and it will be removed in a future update. Please see the script documentation for an alternative.

48: break;
49: case 2:
50: if(checkriding()){ mes "Você já possui um PecoPeco."; close; }
* 51: setriding();
~~~~~~~~~~~~~~~~^
52: break;
53: case 3:
54: if(checkcart()){ mes "Você já possui um Carrinho."; close; }

seems to be the functions end :
 setriding();
 if (checkcart () && checkfalcon () && checkriding ()) {
 
hercules also changed in these script commands?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

*setriding {<flag>};

*checkriding()

 

  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

  @ /! This command is deprecated @

  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 

This command is deprecated and it should not be used in new scripts, as it

is scheduled to be removed on or after November 30th, 2014. Please consider

using setmount and checkmount() instead.

 

It's just letting you know you're using a command that will be removed in the (very)near future.

So you should use these commands instead: *setmount {<flag>}; & *checkmount()

Share this post


Link to post
Share on other sites
  • 0

 

*setriding {<flag>};

*checkriding()

 

  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

  @ /! This command is deprecated @

  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

 

This command is deprecated and it should not be used in new scripts, as it

is scheduled to be removed on or after November 30th, 2014. Please consider

using setmount and checkmount() instead.

 

It's just letting you know you're using a command that will be removed in the (very)near future.

So you should use these commands instead: *setmount {<flag>}; & *checkmount()

Thank you

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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