View Single Post
  #7  
Old 09-03-2002, 12:56 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Falcor
NPC Code:

if (actionservercheck) {
this.exp = #p(0); //should be this.exp = strtofloat(#p(0))
setstring lastattacker,#p(1); //should be this.lastattacker
with (getplayer(#s(this.lastattacker))) {
setstring client.player_exp,#v(strtofloat(#s(client.player_e xp)) +this.exp);
setplayerprop #c,I now have #s(client.player_exp) EXP!;
}
}



does this work at all? I havn't tested it but It should, unless I missed yet another bug.
WTF?!?!?!?! I changed that pie NPCW you had me create to trigger actionservercheck and everything went through...must be something in -Triggers...not sure what though :/
__________________
Reply With Quote