
07-29-2007, 08:10 PM
|
|
**FLIP OUT**
|
 |
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
|
|
Quote:
Originally Posted by DustyPorViva
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.
|
omg, so freaking complicated x.x
Quote:
|
I THINK you can triggerserver from a clientside of a level NPC, I'm not sure though.
|
nope |
__________________
**FLIP OUT**
|
|
|
|