Looks like this line is actually related to preventing the ghost car from spawning in the day. the other line seems to be for setting rarity of the car spawning at night. Code: ghost.mode = "stop" gameplay_traffic.setVehicleVars({spawnOut = 0}, ghost.id) Code: gameplay_traffic.activate({ghost.id}) gameplay_traffic.setVehicleVars({spawnOut = 0.6}, ghost.id) after searching the traffic.lua file, I replaced the lines with this. Code: gameplay_traffic.setTrafficVars({spawnValue = 0}) Code: gameplay_traffic.setTrafficVars({spawnValue = 0.6}) This should prevent the car from in spawning the day and set it to spawn at the intended rarity. I wasn't able to find a part in the function where you can insert the vehicle id, so it applies to all traffic. This does prevent traffic from working in the day, but I don't think it matters that much.