[Release] Seatbelt with blinking warning indicator


#21

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


#22

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?


#23

Nice Script! Is it possible to add loop alert sound during seatbelts off?
I try with this but i don’t know how to loop it:

TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 0.1, 'seatbelt', 0.1)

after

TriggerEvent("pNotify:SendNotification", {text = "Seatbelts off", type = "error", timeout = 1400, layout = "centerLeft"}) 

#24

Try something like

while (seatbelt == false) then
TriggerServerEvent('InteractSound_SV:PlayWithinDistance', 0.1, 'seatbelt', 0.1)
Citizen.Wait(TIME OF SEATBELT SOUND)
end

You would need to change the code a bit but it should work with something like that.


#25

Dont hate. He just making things easier.


#26

Nice work, now I want to see people forget to put on the belt


#27

is there away to move the blinker I want it over the other side (top right of my mini map)


#28

yes read
all the comments


#29

Does this possibly interfere with any damage scripts? I have not had it fly out the car


#30

Thank you for sharing it’s great!
Only downside is that we are not ejected from the car, I tried to rectify it does not work an idea?


#31

where would i stick this,


#32

if you wanna move the indicator just go to : html/style and change …top… and …left…

#container {
position: absolute;
top: 80vh;
bottom: -100%;
left: 22%; /25/
width: 80px;
height: 80px;
display: none;
flex-direction: column;

this code look like this pic


#33

is there anyway to have this detectable by other players? thinking it would be nice if police could see if you had a seatbelt on.


#34

Yes. You can use the decorator bool natives


#35

Was thinking maybe could use the 3dme resource and have it bind them together so the cop can ask to check your seat belt and it would pop up if you click it on or off.


#36

There is many ways that it could be done.


#37

Im messing around now and trying to test it.


#38

Welp it works lol
And the seat belt warning light on the cluster (right side in the of RPMs) still works with it as well.


#39

maybe even as simple as having the icon appear above a player if they dont wear the seat belt? restricted to say 5 meters before you cant see in anymore


#40

3dme? you have a link?