Developed by BigglesDevelopment 💖
A FiveM script that provides an in-game tint meter for checking car window tints.
- Checks the tint level of car windows and converts it to a percentage.
- Displays a user-friendly UI with the tint information.
- Notifies the player if they are not near a vehicle when trying to use the command.
- Includes an error notification with a sound alert for better user experience.
-
Clone the repository to your local machine:
git clone https://github.com/BigglesDevs/OptiTint-TintMeter
-
Navigate to the
TintMeter
directory:cd OptiTint-TintMeter
-
Place the
OptiTint-TintMeter
folder into your FiveM resources directory:cp -r OptiTint-TintMeter /path/to/your/fivem/server/resources/
-
Add the resource to your
server.cfg
:ensure OptiTint-TintMeter
- Start your FiveM server.
- In-game, use the
/checktint
command to check the tint level of the nearest vehicle's windows.
- FiveM server setup.
- Basic knowledge of Lua and HTML/CSS/JavaScript.
- Clone your fork to your local development environment.
- Make your changes and test them thoroughly.
- Push your changes to your fork and create a pull request.
client.lua
- Main client-side script for checking vehicle tint levels and sending data to NUI.html/
- Contains all files related to the NUI (HTML, CSS, JavaScript, and fonts).index.html
- Main HTML file for the NUI.style.css
- Styling for the NUI.index.js
- JavaScript handling UI logic and messages from Lua.fonts/
- Contains the custom digital font used in the UI.
fxmanifest.lua
- Resource manifest file.
This project is licensed under the MIT License. See the LICENSE file for more details.
- FiveM community for the excellent platform.
- Inspiration from various FiveM scripts and resources.