Server Exports

AddInfoPlayer

Export to add a specific info to a player, cars_repaired, customers_biled, cars_painted.

-- value: amount of points player gona receive on specific option
-- option: option you want, "cars_repaired", "customers_biled", "cars_painted"
exports["m-Mechanic_QB"]:AddInfoPlayer(value, option)

AddPointsPlayer

Export to add points to a player

-- points: amout of point player gona receive
exports["m-Mechanic_QB"]:AddPointsPlayer(points)

GetVehicleMileageMaintence

Export to return vehicle mileage of specific plate

-- plate: vehicle plate
exports["m-Mechanic_QB"]:GetVehicleMileageMaintence(plate, cb)

UpdateVehicleMileage

-- plate: vehicle plate
-- mileage: amout of mileage to update
exports["m-Mechanic_QB"]:UpdateVehicleMileage(plate, mileage)

AddFeedbackPlayer

-- mechanicShop: name of the job of the mechanic
-- rateExperience: 1,2,3,4 or 5
-- mechanicName: name of the mechanic
-- feedback: small description/feedback
exports["m-Mechanic_QB"]:AddFeedbackPlayer(mechanicShop, rateExperience, mechanicName, feedback)

Last updated