Deformation
Deformation
This will remove the Deformations of the vehicle
exports['ns_garagesystem']:FixVehicleDeformation(vehicle)
TriggerServerEvent("ns_garagesystem:fixDeformation", NetworkGetNetworkIdFromEntity(vehicle))
This will set the Deformation example use is after vehicle is Spawned
exports['ns_garagesystem']:SetVehicleDeformation(vehicle, deformationPoints, callback)
local deformation = exports['ns_garagesystem']:GetVehicleDeformation(vehicle)
There a one check with that you can check if the deformation equal.
local state = exports['ns_garagesystem']:IsDeformationEqual(newDef, oldDef) -- Return bool
Last updated