Exports

9 Exports is specified here for clearly integrate our animation menu into another scripts

Client Exports

exports["SM-AirBags"]:GetCrashProtection(vehicle, ped)
exports["SM-AirBags"]:RemoveDeployedAirbag(vehicle, seat)
exports["SM-AirBags"]:ResetVehicleSRS(vehicle)
exports["SM-AirBags"]:GetCrashDiagnostics(vehicle)

Server Exports

exports["SM-AirBags"]:RemoveDeployedAirbag(netId, seat)
exports["SM-AirBags"]:ResetVehicleSRS(netId)
exports["SM-AirBags"]:GetCrashDiagnostics(netId)
exports["SM-AirBags"]:IsVehicleSRSActive(netId)
exports["SM-AirBags"]:IsPlayerMechanic(playerSource)

Event

AddEventHandler('sm-airbags:onDeploy', function(vehicle, ped, crashData)
end)