Jump to content

include files for script work


Recommended Posts

Posted

Hello,

I have one small noob question, whats files I need include in my custom script for correct work:

SendSysMessage(LANG_YOU_IN_COMBAT);
SetSentErrorMessage(true);

Thanks a lot ;-)

Posted

OFF: I'm wondering how big Vladimir's brain is. I know that he had developed MaNGOS, but he GOD DAMMIT knows everything about this GOD DAMMIT source, which is huge ... how can you remember everything, variable names, function names? Genious ...:o

EDIT: I'm wondering how can a 'low'-end user understand MaNGOS source code when there's more than 50.000 LOC. I need paper and crayon probably.

Posted
OFF: I'm wondering how big Vladimir's brain is. I know that he had developed MaNGOS, but he GOD DAMMIT knows everything about this GOD DAMMIT source, which is huge ... how can you remember everything, variable names, function names? Genious ...:o

Vladimir = Genius :P

Posted

Yes, you're right, Vladimir is genius respect him ;-).

But back to my problem:

Thanks Vladimir, but how can I use this function? Whats files I need include in my script?

Sorry for noob question, but there is no manual for mangos source and I'm still learning mangos source.

Thanks for a lot for help ;-).

Posted

A wise man said "you don't need to have everything in your head, you just need to know where to look it up" ;)

I've never looked into scripting, but i'd say you'd do something like

Player->GetSession()->SendNotification(...)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use