# Prompt Barber - Interior Configuration This resource provides configurable barber shop interiors for FiveM servers with the ability to enable or disable specific locations. ## Configuration All settings can be found in `config.lua`. You can enable or disable interiors for each barber shop location by changing the `enabled` value to `true` or `false`. ### Available Locations | Location | Coordinates | Default Status | |----------|-------------|----------------| | **Paleto Bay** | -278.32, 6228.18, 30.71 | Enabled | | **Downtown** | -33.02, -152.32, 56.09 | Enabled | | **Vespucci** | -1282.87, -1117.28, 6.01 | Enabled | | **Mirror Park** | 1212.29, -472.81, 65.22 | Enabled | | **Davis (Ghetto)** | 136.94, -1708.16, 28.31 | Enabled | | **Sandy Shores** | 1931.79, 3730.24, 31.86 | Enabled | ### How to Configure 1. Open `config.lua` 2. Find the location you want to modify 3. Change `enabled = true` to `enabled = false` to disable the interior 4. Change `enabled = false` to `enabled = true` to enable the interior 5. Restart the resource **Example:** ```lua -- To disable the Paleto Bay barber shop interior: paleto = { enabled = false, -- Changed from true to false coords = vector3(-278.324158, 6228.18164, 30.7110977), interior_type = 'v_barbers' }, ``` ### Debug Mode You can enable debug mode to see console messages about which interiors are being enabled/disabled: ```lua Config.Debug = true -- Set to true to enable debug messages ``` ### Console Commands (Debug) When debug mode is enabled, you can use the following console command: - `togglebarber ` - Toggle a specific location's interior on/off Available location names: `paleto`, `city`, `vespucci`, `mirror_park`, `ghetto`, `sandy` **Example:** ``` togglebarber paleto -- Toggles Paleto Bay barber interior togglebarber city -- Toggles Downtown barber interior ``` ## Installation 1. Place the resource in your `resources` folder 2. Add `ensure prompt_barber` to your `server.cfg` 3. Configure the locations in `config.lua` as needed 4. Restart your server ## Notes - Interiors are managed automatically when the resource starts - Changes to the config require a resource restart to take effect - Disabling an interior will make it inaccessible to players - All locations are enabled by default ## Troubleshooting If you're having issues: 1. Enable debug mode in `config.lua` (`Config.Debug = true`) 2. Check console for any error messages 3. Ensure coordinates are correct for your map files 4. Restart the resource after making config changes