42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
# Valet App Configuration
|
|
|
|
This page explains all configuration options for the Valet (Vehicle Delivery) app in codem-phone.
|
|
|
|
---
|
|
|
|
## Pricing
|
|
|
|
```lua
|
|
DeliveryFee = 50
|
|
VAT = 0.20
|
|
```
|
|
|
|
| Parameter | Type | Default | Description |
|
|
|-----------|------|---------|-------------|
|
|
| `DeliveryFee` | number | `50` | Base fee for valet service |
|
|
| `VAT` | number | `0.20` | VAT percentage (0.20 = 20%) |
|
|
|
|
**Example Calculation:**
|
|
- Delivery Fee: $50
|
|
- VAT (20%): $10
|
|
- **Total:** $60
|
|
|
|
---
|
|
|
|
## Spawn Settings
|
|
|
|
```lua
|
|
ServerSideSpawn = false
|
|
ValetDrive = true
|
|
```
|
|
|
|
| Parameter | Type | Default | Description |
|
|
|-----------|------|---------|-------------|
|
|
| `ServerSideSpawn` | boolean | `false` | If `true`, vehicles are spawned server-side |
|
|
| `ValetDrive` | boolean | `true` | If `true`, a valet NPC will drive the vehicle to the player |
|
|
|
|
### ValetDrive Behavior
|
|
|
|
- `true` = A valet NPC spawns and drives the vehicle to the player's location
|
|
- `false` = Vehicle spawns directly near the player
|