Quote:
Originally posted by dragoonvenganc
Time to analyze
//#CLIENTSIDE
<<< Dont u Need the npc weapon with trigger action u should of put the script for that 2.
<< also if using trigger action u should not need the playerx>x-3 and the rest. because it has it in it.
<< u are using trigger action right because u have actionCut
<< And so when they hit it.. if they miss at all then it restarts??
if (actionCut && playerx>x-3 && playerx<x+8 && playery>y-4 && playery<y+10)
{
<<< Why in the world would u use this. with strings has no relevince is not neccisary and is usless
<< if u have #v u do not need strtofloat.
message #s(this.Cutted1)%;
setstring this.Cutted1,#v(strtofloat(#s(this.GCutted1))+5);
putleaps 0, x, y;
}else { setstring this.Cutted1,0; message 0%;}
if (strtofloat(#s(this.Cutted1))>105)
{
setplayerprop #c,Got Thingie Ma Bobby!;
setstring this.Cutted1,0;
setstring client.JPAM,#v(strtofloat(#s(client.JPAM))+1);
hide;
sleep 30;
show;
}
|
The playerx,playery thing is there so if they leave it resets, it work's fine. Most of it is there because thats how I was taught.