Page cover

3・Config

:1arrowpink:Our config file is located to [Pata_Airflight]\Pata_Airflight\config

  • First of all, select your language in [Pata_Airflight]\Pata_Airflight\config By default, it's in EN, but you can change it at the top of our config.

  • FR, EN, DE are available. You can obviously add any others language in [Pata_Airflight]\Pata_Airflight\config\lang. Follow the same patern as the others files.

  • After that, add your Framework QB or ESX or STANDALONE

  • Then, choose your targetting system: ox_target OR qb_target If you want to use your own system, put ox_target by default. Go to Advanced Configuration to know how to add yours.

  • DeleteFarmerPlane = true is for Grapeseed: There is a plane who land on the airport, so we delete it to avoid any issue. Do not touch this one.

Airport = {}

Lang = "EN"
FrameWork = "STANDALONE" -- QB or ESX or STANDALONE
Targetting = "ox_target"   -- put ox_target if you are using ox target or qb_target if you are using qb target
DeleteFarmerPlane = true

  • After that, you can set the time that the plane or helicopter waits before taking off. (30 secondes is pretty fast, i recommend to put 60 or more so every people who want to join will have the time)

-- Time in second before the plane take off after being created by a player, 
-- increase this value if you want the plane to wait longer before take off 
-- (let more time to friend to join you before departure) (in seconds)
WaitingPlaneDeparture = 60

-- Time in second before the Helicopter take off after being created by a player, 
-- increase this value if you want the Helicopter to wait longer before take off 
-- (let more time to friend to join you before departure) (in seconds)
WaitingHelicoDeparture = 60

Restart your server after that and the script is now ready !

Go to Advanced Configuration if you want to config more things !

Last updated