View Single Post
  #6  
Old 09-03-2002, 12:41 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to 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.
__________________

subliminal message: 1+1=3
Reply With Quote