NPC Code:
setstring carfuel,#v(this.fuel);
set caron;
try
NPC Code:
setstring client.carfuel,#v(this.fuel);
and instead of
set caron;, try:
NPC Code:
this.caron = true;
(do this.caron=false when you're done, and check with this.caron==true to see if it's on)
You can only set client.strings and flags from a clientside script, and I think a variable would do better for a temporary thing anyway (this.caron)
also, yah, these are all wrong:
NPC Code:
if (playerdir=0) {
they need to be
NPC Code:
if (playerdir==0) {