[Free] SeatbeltRW

There here is, a rewrite of my unrelease script : SeatbeltR (Video Preview)
The quality of SeatbeltR is suppose to be paid but I put it on hold because of it’s ugly code.
In these day, I rewrote it and decided to release it for free.
The weight part and the damage part in video is removed.
Github: SeatbeltRW

Free

It is free,You can still buy some Coffee/Bread for my job on the Tebex

seatbeltr

Installation

server.cfg

setr game_enableFlyThroughWindscreen 1
start SeatbeltRW

Get Player Seatbelt State

You can use GetPlayerSeatBelted or GetPlayerSeatBeltedByPed to get if the player is seat-belt equipped.
by

Method 1

Import :

load(LoadResourceFile("SeatbeltRW", 'import'))()

Example :

load(LoadResourceFile("SeatbeltRW", 'import'))()
CreateThread(function()
        
        while true do Wait(0)
            print(GetPlayerSeatBelted(PlayerId())) -- false or true
            print(GetPlayerSeatBeltedByPed(PlayerPedId()))  -- false or true
        end 
 end )

Method 2

exports['SeatbeltRW']:GetPlayerSeatBelted(playerid)
exports['SeatbeltRW']:GetPlayerSeatBeltedByPed(ped) 

Make sure load SeatbeltRW before you Get State or Import.

5 Likes

Clean coded very good, what which you use 3D car hud ?

1 Like

Thanks,
The 3d car hud from video is a custom made hud not for sale nbk_3dspeedo_custom

:pray: Thank you!

1 Like

What do mean not for sale?
It’s literly right here

1 Like

I really love this seatbelt script its amazing

It is fully scaleform remake , no any parts from others. Include the 3d box model.
20220306033719

Also. You can see my Seatbelt html files.No any parts from others. They (the icon) just “Look Like” the same as GitHub - TehRamsus/Seatbelt

wooow bro nice work bro

and is there any intention to share car hud with us ?

I was looking around for it and couldn’t find anything that stuck out on how to change the position of the indicator. Any help would be greatly appreciated.

1 Like

local nuix,nuiy = 419,622 -- client/client.lua line:216
2 Likes

Thank you

1 Like

the sound of the vehicle does not work

Hello very good script, is it possible to change the audio volume?

I can’t get the driver to shoot out

Did you find a fix?