Thread: Help..
View Single Post
  #4  
Old 10-29-2001, 11:40 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
NPC Code:

//#CLIENTSIDE
if (playertouchsme) {
triggeraction 0,0,servermoney,#a,1;
}



Control-NPC:

if (actionservermoney) {
with (getplayer(#p(0))) {
playerruppees += strtofloat(#p(1));
}
}


Try that.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote