View Single Post
  #15  
Old 09-10-2004, 10:18 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by Deimos
Hey all, for some reason, this script isn't really working. The NPC is buffing itself instead of the players =/. Any ideas?

Code:
quest::castspell($userid,spell)
That is the correct usage, right? Or am I doing something wrong? Please tell me the correct usage, hehe.

Also, thx moonie. The code is already done though and works perfectly except for the above =/. I could have sworn it was $userid...
Read my reply above where I mentioned this ahead of time.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote