Code Snippets
Last updated
Last updated
Update HasSeatbeltOn
function in the framework file to integrate with your seatbelt script.
We provided an implementation fo qbox and qbcore by default.
Note for qbcore, qb-smallresources/seatbelt.lua
you will need to add an export to the file.
If the following PR gets merged then you will not need to add it:
Add this into your alerts script where carjacking alerts are triggered.
If you are using ps-dispatch
, look for AddEventHandler('CEventPedJackingMyVehicle', function(witnesses, jacker)
in the cl_eventhandlers.lua and add the snippet in here.