The ESX Advanced Window Control Script enhances FiveM roleplay with realistic vehicle window mechanics. Players can roll windows up or down, adjust visibility, and interact dynamically with their environment. This script adds immersion and realism, making vehicle interactions more engaging. Fully customizable, it’s an essential addition for any RP server.
Features:
- Driver can roll down their own window, and roll down all passenger windows once their own window is down.
- Driver can roll up all currently down passenger windows before rolling up their own window.
- Passengers can roll up and down their own windows, they cannot control other passenger windows unless they switch seats WITHOUT getting out. Variables currently reset on vehicle exit, hoping someone will be able to change that so they update based on the vehicle window state upon entering a new vehicle.
- Passengers can also roll their windows back up or down if the driver rolled all windows up or down.
- Handcuffed passengers cannot use windows? I simply just put a check for the handcuff in GetPedConfigFlag, might be done incorrectly and need modifying.
- Server script to sync the windows? This is untested with players, but it appeared the scripts were communicating properly and working)
- NO COMMANDS! This is designed for true ease, no more menus or commands to get those windows down, it is all done through simple keybinds!
- Optimized based on what I see others showing for their times. 0.00ms while out of a vehicle and 0.04-0.05ms while inside a vehicle. 0.00ms when in any vehicle that is NOT a regular vehicle with rollable windows (Bikes, Motorcycles, Quads, Boats, Subs, Planes or Helis).
- Can change if notification should have a sound, as well as notification duration in cl_windows.lua.
- Emergency vehicles by default act like 2 door vehicles and the rear windows are not able to be rolled up or down.
- Does NOT work on Bikes, Motorcycles, Quads, Boats, Subs, Planes or Helis.
- Addon vehicles should work correctly, as long as they are made and classed correctly.
Need help?
If you have any other questions or issues related to this product, you can contact us. This script works well with our Esx Custom Car Locking Script for enhanced roleplay communication
Visit if you’re looking for anything regarding this RedM script
Reviews
There are no reviews yet.