Scripts
ds-streetwalkers


standalone
Requirements
- Server v7290 or newer
- OneSync Infinity
- QBCore/QBox/ESX/ND_Core

Overview
# ๐๐ DSย streetwalkers AKA Hooker System
- A comprehensive FiveM hooker/prostitute interaction system with vehicle-based encounters
## โจ Features
- ๐ **Vehicle-Based Interactions** - Pick up hookers while driving
- ๐ฐ **Payment System** - Integrated money handling with multiple frameworks
- ๐ญ **Customizable Menu** - Support for qb-menu, ox_lib, or custom menu
- ๐ซ **Vehicle Restrictions** - Configurable blacklisted vehicles and vehicle classes
- ๐ **Secluded Area System** - Requires finding private locations for services
- โฑ๏ธ **Timer System** - Time limits for finding secluded areas
- ๐ฌ **Localization Support** - Fully customizable text strings
- ๐ฎ **Multiple Services** - Different service types with individual pricing
- ๐ **Vehicle Class Filtering** - Prevents inappropriate vehicle usage
## ๐ฏ Framework Support
This resource supports **auto-detection** and manual configuration for the following frameworks:
| Framework | Status | Auto-Detect |
|-----------|--------|-------------|
| ๐ข **QBCore** | โ Supported | Yes |
| ๐ก **QBox** | โ Supported | Yes |
| ๐ต **ESX** | โ Supported | Yes |
| ๐ฃ **ND-Core** | โ Supported | Yes |
| โช **Standalone** | โ Supported | Yes (fallback) |
> **Note:** The resource will automatically detect which framework is running. You can also manually set `Config.Framework` if needed.
## ๐ฆ Requirements
- ๐ฎ **FiveM Server** with game build 2060 or higher
### Optional (for menu types)
- ๐ **qb-menu** (if using `Config.MenuType = "qb-menu"`)
- ๐ **ox_lib** (if using `Config.MenuType = "ox_lib"`)
## ๐ง Installation
1. ๐ฅ **Download** the resource
```
# Place the ds-hookers folder in your server's resources directory
```
2. ๐ **Add to server.cfg**
```
ensure ds-hookers
```
3. โ๏ธ **Configure** `config.lua` (see [Configuration] section)
4. ๐ **Restart** your server or start the resource
```
restart ds-hookers
```
## โ๏ธ Configuration
- ๐จ Menu Type
```
Config.MenuType = "qb-menu" -- Options: "custom" | "qb-menu" | "ox_lib"
```
### ๐ฐ Payment Settings
```
Config.PaymentEnabled = true
Config.Framework = "qbcore" -- "esx", "qbcore", "qbox", "ndcore" or "standalone"
Config.Prices = {
SERVICE_BLOWJOB = 50,
SERVICE_SEX = 100
}
```
### ๐ Interaction Settings
```
Config.MaxDistance = 7.5 -- Max distance to pick up hookers
Config.MaxServices = 3 -- Max services before hooker leaves
Config.MaxVehicleSpeed = 0.1 -- Max speed to interact (m/s)
```
### ๐ซ Vehicle Restrictions
```
-- Vehicle classes that can't be used
Config.BlackListedVehicleClasses = {
[8] = true, -- Motorcycles
[13] = true, -- Cycles
[14] = true, -- Boats
-- ... etc
}
-- Specific vehicles that can't be used
Config.BlackListedVehicles = {
[`infernus`] = true,
[`voltic`] = true,
-- ... etc
}
```
### ๐ฅ Hooker Ped Models
```
Config.HookerPedModels = {
[`s_f_y_hooker_01`] = true,
[`s_f_y_hooker_02`] = true,
[`s_f_y_hooker_03`] = true
}
```
### ๐ Localization
```
Config.Localization = {
InviteHooker = "Press ~INPUT_VEH_HORN~ or honk your horn...",
FindSecludedArea = "Go somewhere more secluded.",
-- ... etc
}
```
## ๐ฎ Usage
- ๐ค For Players
1. ๐ **Get in a vehicle** (driver seat)
2. ๐ **Stop near a hooker** (within configured distance)
3. ๐ฏ **Honk your horn** to invite the hooker into your vehicle
4. ๐บ๏ธ **Find a secluded area** (away from other NPCs)
5. ๐ **Stop the vehicle** and wait for the menu to appear
6. ๐ **Select a service** from the menu
7. ๐ฐ **Pay** for the service (if enabled)
8. โฑ๏ธ **Wait** for the service to complete
### โ ๏ธ Important Notes
- โ The front passenger seat must be empty
- โ Some vehicle types are restricted (motorcycles, boats, etc.)
- โฑ๏ธ You have 2 minutes to find a secluded area
- ๐ The hooker will leave if you take too long or leave the vehicle
## ๐ Troubleshooting
- โ Hookers not spawning?
- Check that hooker ped models exist in your server
- Verify `Config.HookerPedModels` includes valid ped hashes
### ๐ฐ Payment not working?
- Verify your framework is detected (check server console)
- Ensure `Config.Framework` matches your framework
- Check that payment is enabled: `Config.PaymentEnabled = true`
### ๐ Menu not appearing?
- Verify the menu resource (qb-menu/ox_lib) is running
- Check `Config.MenuType` matches your menu system
- Try switching to `"custom"` menu type for testing
### ๐ Can't pick up hookers?
- Ensure front passenger seat is empty
- Check vehicle is not in blacklist
- Verify vehicle class is allowed
- Make sure you're close enough (check `Config.MaxDistance`)


