Quote:
if(playertouchsme)
{
setstring client.balls,strtofloat(#s(client.balls))+1;
}
|
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.