InZidiuZ / LegacyFuel

A simple, lightweight fuel script for FiveM
GNU General Public License v3.0
78 stars 217 forks source link

Driver Seat Check #87

Open markos2000 opened 2 years ago

markos2000 commented 2 years ago

is there a way to make the hud only show up when the player is in the driver's seat?

Thanks!

adamdev-id commented 2 years ago

try adding this, but make sure to define vehicle first. local pedSeat = GetPedInVehicleSeat(vehicle, -1)

markos2000 commented 2 years ago

in fuel_client.lua or functions_client.lua