Thread: question
View Single Post
  #5  
Old 08-18-2001, 04:52 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by CrazedMerlin
no mp
it goes up but the npc server makes it go back down
Well, there is a way of doing it...
If you have NPC control, add the following to the NPC named Control-NPC:
NPC Code:
if (actionservertakemp) {
with (getplayer(#p(0))) playermp-=strtofloat(#p(1));
}


And then put in the weapon which uses the MP instead of playermp-=mpcost:
NPC Code:
triggeraction 0,0,servertakemp,#a,mpcost;


Which is basically a way of fooling the NPC Server to make it work.
__________________


Last edited by grim_squeaker_x; 08-18-2001 at 08:33 PM..