NPC Code: if (isweapon) { timeout=.1; } if (timeout) { this.keeptrack++; if (this.keeptrack==10) { setstring player.jailtime,#v(strtofloat(#s(player.jailtime))-1); } if (strtofloat(#s(player.jailtime))<=0) { destroy; } timeout=.1; }
if (isweapon) { timeout=.1; } if (timeout) { this.keeptrack++; if (this.keeptrack==10) { setstring player.jailtime,#v(strtofloat(#s(player.jailtime))-1); } if (strtofloat(#s(player.jailtime))<=0) { destroy; } timeout=.1; }