hmmm, did you set a variable or a string?
because client.fp = 1
is a variable, and i dont often use.
but setstring client.fp,1;
i like alot better, as i love strings
heres a sample, of like how to decrease it and increase it
// EVENT:Magic Weapon : Decreaser
NPC Code:
NPC Code:
if (weaponfired) {
if (strtofloat(#s(client.fp)) >= 10) {
setstring client.fp,#v(strtofloat(#s(client.fp))-10);
//put weapons stuff here
}
elseif (!strtofloat(#s(client.fp)) >= 10) {
setplayerprop #c,You dont have enough Fire Points!;
}
}
That is one way of decreasing the value.. (untested, should work)
NPC Code:
NPC Code:
// EVENT:Magic Fire Bean : Increaser
if (playertouchsme) {
say2 Your FP has been increased!;
if (strtofloat(#s(client.fp)) < this.maxfp - 25) {
setstring client.fp,#v(strtofloat(#s(client.fp))+25);
}
}
I think that would work.
..:| EDIT - God, im too slow again

when did falados beat me to it?

|:..
from R0bin