View Single Post
  #2  
Old 08-06-2008, 09:26 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

i think you have the args swapped.

$npc->CastSpell(1948, $charid, 10, -1, -1);
args are spellid, targetid

is working in one of my scripts... maybe $charid instead of $userid? not sure if case sensitive castSpell vs CastSpell
Reply With Quote