Features & Routes
License Types
BIT-Flightschool offers two types of flight licenses:
HPL (Helicopter Pilot License)
- Price: $2,500 (configurable)
- Vehicle: Supervolito (configurable)
- Tests: Theoretical + Practical
- Database name:
helicopter
PPL (Private Pilot License)
- Price: $5,500 (configurable)
- Vehicle: Velum2 (configurable)
- Tests: Theoretical + Practical
- Database name:
plane
Aerial Routes
The practical test includes 9 aerial waypoints around Los Santos:
Routes = {
[1] = { x = -1863.05, y = -3156.43, z = 168.62 },
[2] = { x = -1644.53, y = -4063.29, z = 118.68 },
[3] = { x = -314.78, y = -3890.55, z = 48.82 },
[4] = { x = 231.86, y = -3131.62, z = 103.97 },
[5] = { x = 158.99, y = -2370.2, z = 77.14 },
[6] = { x = -218.29, y = -1030.53, z = 163.41 },
[7] = { x = -910.43, y = -689.12, z = 180.54 },
[8] = { x = -1136.4, y = -1860.88, z = 79.1 },
[9] = { x = -1421.39, y = -2357.71, z = 15.56 }
}
Adding Custom Routes
You can modify and add routes (waypoints) in the config.lua. To add new points:
[9] = {
x = -1421.39,
y = -2357.71,
z = 15.56
},
[10] = {
x = -1456.49,
y = -2565.52,
z = 35.26
}
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-flightschool:openMenu")
Opens the flight school menu for the specified player.
Delete Licenses
TriggerServerEvent("bit-flightschool:deleteLicense", playerID)
Deletes all flight 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 aerial waypoints
- Maximum 5 errors allowed
- Altitude monitoring
- NPC instructor guidance
- Audio instructions in multiple languages
- Automatic teleport on failure
- Vehicle spawn point validation
Error Detection
The practical test monitors:
- Excessive altitude deviation
- Straying too far from route
- Leaving the vehicle
- Collision with objects/ground
- Following waypoint sequence