[Release] Seatbelt with blinking warning indicator

Hey! We’ve been using this seatbelt script for a while now on our server and thought I would share it. It’s a seatbelt script (thrown out the window if crash and not buckled) with a blinking warning indicator popping up when the belt is not in use.

Video: https://streamable.com/x3yub
Default control: “K”
Requirements: pNotify for the notificatons
Download: https://github.com/bzrr/SeatbeltIndicator

Size and position of the indicator can easily be changed in the style.css file.

Credits to @All_Sor and https://github.com/IndianaBonesUrMom/fivem-seatbelt
I’ve merged two of their scripts with a blinking indicator.

26 Likes

looks awesome mate goodjob

1 Like

Nice release! Keep up the good work! :smiley:

I dont see the point of this script anyhow…it does nothing…just notifies the “client” no one else knows if you have seat belt on or off…why run it…

but you are just posting a script already created

1 Like

I think the original throws them out of the car depending on the forward velocity on impact.

This. You’ll get notified with a blinking indicator if you’re not using the seatbelt.
hue

I just think you need to credit the original creator of the seatbelt logic and then the release can just carry on as it was.

Would be the nice thing to do. Nobody can force you (except the mods) though so its up to you.

Yeah of course :slight_smile: Trying to get hold of him.

You could just link his gitgub repo that @Scott_UK posted and put “Original Code: link here”

If he sees it and doesnt like it he will contact you or a mod.

I get that, I just don’t see the point in the resource…no one but the CLIENT knows if they have seat belt on or off…to me, its just an unnecessary resource, resources add up and its best to keep what you actually need…just my opinion and again, ppl have different opinions…now if its for an RP server, if it alerted a cop as they drove by or were within a certain distance that driver wasnt wearing a seat belt, than it would be a lot better to use…

@rwhat I think leaving without is better as servers will adapt the code to work for their servers as it should be?

Maybe it was a bit unclear what the seatbelt does, but as xander1998 said. Without the seatbelt on and you crash at a certain speed you’ll get thrown out of the windshield. The indicator helps you remember to buckle up :slight_smile:

Nice script!! :grin::grin::grin:
(20char)

Daaaamn. Awesome design. Awesome script. Keep it up!

Will this work with vRP?

I dont see why it wouldnt work with vrp its standalone.

is their a way to move the indicator location and possibly shrink it?

Ahhh gotta love da mini mods, so proud :rofl:

i hit a wall going 130+ nothing happens i have to hit the car at an angle for it to work anyway i can change that?