No, what I meant was have a WNPC like a "-System" weapon, and on the serverside:
PHP Code:
function onActionserverside() {
if (params[0]=="addrupees") findplayer(params[1]).rupees+=params[2];
}
Then in the level NPC, do something along the lines of:
PHP Code:
//#CLIENTSIDE
function onWasShot(){
this.chat = "Hit!";
triggerserver("gui","-System","addrupees",player.account,int(random(0,20)));
sleep(.5);
this.chat = "Shoot Me!";
}
I THINK you can triggerserver from a clientside of a level NPC, I'm not sure though.