Jump to content
  • 0
Sign in to follow this  
sbk_

Callfunc

Question

É só uma dúvida, esses dias tava testando umas coisas aqui e utilizei uma função de npc como comando, ex:

 

function teste {

 

}

 

usei como teste(argumentos) e funcionou...

 

só gostaria de saber o Hercules que tenho aqui é sobrenatural ou se realmente não preciso mais usar callfunc?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
/// leave this line uncommented to enable callfunc checks when processing scripts./// while allowed, the script engine will attempt to match user-defined functions/// in scripts allowing direct function callback (without the use of callfunc.)/// this CAN affect performance, so if you find scripts running slower or find/// your map-server using more resources while this is active, comment the line#define SCRIPT_CALLFUNC_CHECK 

 

by hercules xD não precisa mais se essa opção estiver habilitada (ela vem habilitada por padrão)

Share this post


Link to post
Share on other sites
  • 0

blz, valeu evil xD tomei mal susto quando funcionou O__O

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.