Features & Routes
License Types
BIT-BoatSchool offers two types of maritime licenses:
OUPV (Boat License)
- Price: $2,500 (configurable)
- Vehicle: Dinghy (configurable)
- Tests: Theoretical + Practical
- Database name:
boat
YM (Yacht Master License)
- Price: $5,500 (configurable)
- Vehicle: Marquis (configurable)
- Tests: Theoretical + Practical
- Database name:
yacht
Water Routes
The practical test includes 9 water waypoints around the Los Santos coastline:
Routes = {
[1] = { x = -855.75, y = -1550.42, z = -0.07 },
[2] = { x = -1269.23, y = -1955.04, z = 0.52 },
[3] = { x = -1682.78, y = -2303.46, z = 0.16 },
[4] = { x = -1931.5, y = -2713.39, z = -0.62 },
[5] = { x = -2166.34, y = -2916.78, z = 0.47 },
[6] = { x = -2007.04, y = -2403.79, z = 0.32 },
[7] = { x = -1538.4, y = -2134.44, z = 0.84 },
[8] = { x = -1088.71, y = -1791.22, z = 0.22 },
[9] = { x = -737.99, y = -1375.75, z = -0.12 }
}
Adding Custom Routes
You can modify and add routes (waypoints) in the config.lua. To add new points:
[9] = {
x = -737.99,
y = -1375.75,
z = -0.12
},
[10] = {
x = -784.23,
y = -1473.23,
z = -0.02
}
Adding Audio Files
For each new waypoint, add audio files in the htm/sounds folder:
- English:
10en.mp3 - French:
10fr.mp3 - Spanish:
10es.mp3
The number corresponds to the waypoint index.
Triggers
Open Menu
TriggerClientEvent("bit-boatschool:openMenu")
Opens the boat school menu for the specified player.
Delete Licenses
TriggerServerEvent("bit-boatschool:deleteLicense", playerID)
Deletes all boat school licenses for the specified player.
Test Features
Theoretical Test
- 9 randomized questions
- 5 correct answers needed to pass
- Configurable questions in config.lua
- Pass once per license or repeat for each license
Practical Test
- 9 water waypoints
- Maximum 5 errors allowed
- Speed monitoring
- NPC instructor guidance
- Audio instructions in multiple languages
- Automatic teleport on failure
- Vehicle spawn point validation
Error Detection
The practical test monitors:
- Excessive speed
- Straying too far from route
- Leaving the vehicle
- Collision with objects
- Following waypoint sequence