NoPixel Garage is a garage script for ESX in the NoPixel style. Players walk up to a garage marker, browse their owned vehicles in a side menu while a camera shows the parking spot, take a car out, park it again from the vehicle marker and buy back impounded vehicles.
Features
- 23 garage entries in
config.lua(AtoTplusBoat,AircraftandTruck;JandLshare one spot), each with a menu point, a vehicle spawn point and heading, and an optional camera position - Vehicle list per garage with plate, model, engine health and fuel level; vehicles are stored per garage in the
garagecolumn ofowned_vehicles - Vehicle properties (tuning, damage, fuel) are saved when you park and applied when you take the car out
- Impound menu for vehicles left out: recovery costs 200 cash and is blocked while the player has 2,000 or more in unpaid bills (
billingtable) - Parking checks that the plate is an owned vehicle
Requirements
- ESX (loaded through the
esx:getSharedObjectevent) withowned_vehiclesandbillingtables - mysql-async
- A notification resource that handles the
notificationevent, and optionally a key script listening togarage:addKeys
Installation
- Copy
np_garageinto your resources. - Run
sql.sqlto add thegaragecolumn toowned_vehicles;state.sqlshows the full table layout the script expects (includingstate). - Add
ensure np_garageto your server.cfg. - Set garage positions and cameras in
config.lua.
Notes
- Some menu labels and messages are in Turkish (for example the impound entries and the blip name “Garaj”).
- The server does not check who owns a vehicle when it is parked or its state is changed; review
server/main.luabefore using it on a live server.