function Vehicle_OnDeath(victim, killer, itemid) local vid = victim:getVehicle():vehicletypeid() local c = victim:coords() local s = victim:getStat() if (vid == 103) then victim:setstat(1) if ((itemid == shockpad) and (vid == corpsevehicle)) then if (s == 1) then victim:setVehicle(103) elseif (s == 2) then