script commands

stiflerxx

New member
Messages
125
Points
0
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?
 
*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()

 
*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

 
Back
Top