View Single Post
  #16  
Old 10-01-2001, 09:41 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by Shard_IceFire

that probably wouldn't work. If you did that, I believe it would set the string client.balls to +1. What you COULD do is:
NPC Code:

if(playertouchsme) {
this.ballplus=1+strtofloat(#s(client.balls));
setstring client.balls,#v(this.ballplus);
}


Don't get mad at me if I'm wrong but I'm pretty sure that what I said is correct.
change that to
NPC Code:

if(playertouchsme) {
setstring client.balls,#v(1+strtofloat(#s(client.balls)));
}


its shorter
Reply With Quote