πŸ–₯️Compatibilities

okokVehicleShop/sv_utils.lua - Search this code:

RegisterServerEvent(Config.EventPrefix..':setVehicleOwned')
AddEventHandler(Config.EventPrefix..':setVehicleOwned', function (vehicleProps, vehicleModel, id)
    local _source = source
    local xPlayer = QBCore.Functions.GetPlayer(_source)

    MySQLexecute('INSERT INTO player_vehicles (license, citizenid, vehicle, hash, mods, plate, state) VALUES (@license, @citizenid, @vehicle, @hash, @mods, @plate, @state)', {
        ['@license'] = xPlayer.PlayerData.license,
        ['@citizenid'] = xPlayer.PlayerData.citizenid,
        ['@vehicle'] = vehicleModel,
        ['@hash'] = GetHashKey(vehicleModel),
        ['@mods'] = json.encode(vehicleProps),
        ['@plate'] = vehicleProps.plate:match( "^%s*(.-)%s*$" ),
        ['@state'] = 0
    }, function (rowsChanged)
    end)
end)

Replace with:

server.lua - Search this code:

Replace with:

ps-housing/server/server.lua - Search this code:

Copy

Replace with:

config-cl - Search this code:

Replace with:

config-sv - Add this code:

config.lua - Add this code:

ak47_cardealer/modules/main/server/customizable.lua - Replace the code:

With this:

config.lua

  1. renzu_vehicleshop/server/server.lua

Search this:

Replace with:

config.lua

server/editable.lua

codem-vehicleshop/config_server.lua

You have this:

Replace with:

Last updated