chaser_setturbo

chaser_setturbo([table] turbodata)

Set’s a turbo on the current vehicle, has to be with the same key format used on the pp calculation

        local sendturbodata = {
            compressorsize = tonumber(data.compressorsize),
            boosttype = tonumber(data.boosttype),
            peakturbodecayboost = tonumber(data.peakturbodecayboost),
            turbodecaypoint = tonumber(data.turbodecaypoint),
            maxtrboostpmax = tonumber(data.maxtrboostpmax),
            maxtrboostpmin = tonumber(data.maxtrboostpmin),
            maxtrboostpminprct = tonumber(data.maxtrboostpminprct),
            maxtrboostpmaxprct = tonumber(data.maxtrboostpmaxprct),
            booststartpoint = tonumber(data.booststartpoint),
        }
   
        chaser:chaser_setturbo(sendturbodata)

Last updated