Seatbelt

{:links-list}

INSTALLATION

  1. Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
  2. Add your product key (get it here) to the settings.ini file
  3. Add start BigDaddy-Seatbelt to your server.cfg.

DO NOT RENAME THE FOLDER.

If you change the name of the folder it will not function correctly so leave the name as it is.

{:is-danger}

CONFIGURATION

settings.ini

SETTING DEFAULT DESCRIPTION
[licensing]
key1 none This is where you put your product key
[vehicle]
showSeatbelt true Whether to show the seatbelt UI and functionality - turn off if syncing with a different hud
useSeatbelt true Enables the seatbelt system
exemptEmergency false Whether emergency vehicles are exempt from seatbelt requirements
classExempt none Vehicle classes exempt from seatbelt requirements
modelExempt none Specific vehicle models exempt from seatbelt requirements
seatbeltlessWithEjection blazer, blazer2, blazer3, blazer4, blazer5, outlaw, caddy, caddy2, caddy3 Vehicles that allow ejection without requiring a seatbelt
singleTapToExit true Whether pressing exit once immediately exits the vehicle
seatbeltTattle false Whether nearby police can be notified when driving without a seatbelt
tattleDistance 100 Maximum distance for seatbelt tattle detection
tattleMinSpeed 10 Minimum speed required before seatbelt tattle can occur
tattleChance 0.1 Chance of triggering a seatbelt tattle event
showSeatbeltIcon false Whether to display the seatbelt status icon
SeatbeltOffsetLeft 15 Horizontal offset position for the seatbelt icon
SeatbeltOffsetBottom 21 Vertical offset position for the seatbelt icon
loseHealthOnEjection true Whether the player loses health after being ejected from a vehicle
[settings]
debug true Enables debug logging and developer messages
DesyncKey 102631454758 Internal synchronization key. Do not change this value
[keys]
seatbeltDefaultKey B Default key used to toggle the seatbelt

client.lua

There is a client bridge built into this to try to communicate with whatever HUD you are using to tell it that the seatbelt is buckled or unbuckled. Your hud must have some sort of export or event to be able to set that status for this to be used but you can plug in your hud's export/event in this file to sync the status.

HOW IT WORKS

You'll get a chime in a vehicle if you are not buckled (when you get in). If you are buckled and are in a collision, the seatbelt will hold you in the vehicle. If you are not buckled it is possible you can be ejected through the windshield.

If the Seatbelt Tattle option is enabled, if you are near an emergency vehicle and are not buckled, there is a chance it will notify those in the emergency vehicle that you are unbuckled.