
FiveM'de AI Uçakları ve Helikopterleri Nasıl Devre Dışı Bırakılır
FiveM sunucunuzda daha temiz bir gökyüzü ve daha hızlı oyun deneyimi mi istiyorsunuz? Havaalanlarını dolduran sinir bozucu AI uçaklarını ve helikopterleri nasıl hızlıca devre dışı bırakacağınızı ve performansı artıracağınızı adım adım, kullanıma hazır bir script ile öğrenin!
FiveM'de Uçaklar ve Helikopterler Nasıl Devre Dışı Bırakılır
FiveM sunucuları, havalimanlarında ve havaalanlarında rastgele ortaya çıkan yapay zeka (AI) uçakları tarafından yavaşlatılabilir. İster gerçekçi bir ütopya ister kıyamet sonrası bir sanal kum havuzu işletiyor olun, bu AI uçakları ve helikopterleri performansı düşürebilir, oynanışa müdahale edebilir ve sunucunuzun temasıyla çelişebilir. Bu kılavuz, sunucunuza ekleyebileceğiniz, istenmeyen tüm AI uçaklarını ve helikopterlerini devre dışı bırakan hızlı ve kolay bir script konusunda size yol gösterir ve oyuncularınıza daha akıcı bir deneyim sunar.
AI Uçaklarını ve Helikopterlerini Devre Dışı Bırakmanın Önemi
– Gelişmiş Sunucu Performansı – Daha az varlık, daha az CPU ve bellek kullanımı anlamına gelir, diğer scriptler ve varlıklar için kaynakları serbest bırakır.
– Temiz Oynanış – Görevleri ve rol yapma senaryolarını plansız hava trafiğinden koruyun.
– Tematik Tutarlılık – Yıkılmış bir şehirde geçen bir sanal kum havuzu, üzerinde hiçbir uçak süzülmediğinde daha otantik hissedilebilir.
– Azaltılmış Gecikme – AI uçakları kaynak yoğundur. Onları denklemden çıkarmak, oyuncularınız için pingi düşürebilir ve kare hızlarını artırabilir.
gd_airport_ai_begone Scripti ile AI Uçaklarını ve Helikopterlerini Devre Dışı Bırakma
The gd_havaalanı_ai_gitti kaynağı, tüm büyük San Andreas havalimanlarındaki geniş bir senaryo, model ve doğma noktası kümesini kaldıran hafif bir çözümdür. Sunucunuza eklendiğinde, script jetlerin, turbopropların ve çeşitli kara araçlarının pistlerde görünmesini otomatik olarak durdurur. Ayrıca uzak gökyüzü konumlarından gelen uzaktan doğma isteklerine karşı da koruma sağlar.
Adım Adım Uygulama
1. Bir Kaynak Klasörü Oluşturun
Sunucunuzun `resources` dizinine gidin ve `gd_airport_ai_begone` adında yeni bir klasör oluşturun.
2. Bir Manifest Dosyası Ekleyin
Bu dizinin içinde, eski sunucular için `__resource.lua` veya daha iyisi, en son sunucu sürümünü kullanıyorsanız `fxmanifest.lua` oluşturun:
“`lua
fx_version 'cerulean'‘
game ‘gta5’
client_script ‘client.lua’
“`
3. İstemci Tarafı Scriptini Yazın
`client.lua` oluşturun ve aşağıdakini yapıştırın:
“`lua
Vatandaş.CreateThread(fonksiyon()
local SCENARIO_TYPES = {
WORLD_VEHICLE_MILITARY_PLANES_SMALL,
WORLD_VEHICLE_MILITARY_PLANES_BIG
}
local SCENARIO_GROUPS = {
2017590552, — LSIA uçakları
2141866469, — Sandy Shores uçakları
1409640232, — Grapeseed uçakları
ng_planes — gökyüzünde “yüksekte” uçan jetler
}
local SUPPRESSED_MODELS = {
SHAMAL, LUXOR, LUXOR2, JET,
LAZER, TITAN, BARRACKS, BARRACKS2,
CRUSADER, RHINO, AIRTUG, RIPLEY
}
doğru yaparken
for _, type in pairs(SCENARIO_TYPES) do
SetScenarioTypeEnabled(type, false)
son
for _, group in pairs(SCENARIO_GROUPS) do
SetScenarioGroupEnabled(group, false)
son
for _, model in pairs(SUPPRESSED_MODELS) do
SetVehicleModelIsSuppressed(GetHashKey(model), true)
son
Citizen.Wait(10000) — Her 10 saniyede bir yeniden değerlendir
son
son)
“`
Betik üç dizi etrafında döner: SCENARIO_TYPES (küçük ve büyük askeri uçaklar), SCENARIO_GROUPS (havaalanı tabanlı spawn havuzları) ve BASTIRILMIŞ_MODELLER (belirli uçaklar ve destek araçları). Belirli modelleri yeniden etkinleştirmek isterseniz bu listeleri ayarlayın.
4. Kaynağı Yükle
`server.cfg` dosyasını açın ve ekleyin:
“`
gd_airport_ai_begone'u başlat
“`
Kaydedip kapatın.
5. Tekrar başlat
Sunucuyu yeniden başlatın veya yeni betiği etkinleştirmek için `restart gd_airport_ai_begone` konsol komutunu çalıştırın.
Komut Dosyasını Özelleştirme
Karma trafikli bir sunucuda çalışıyorsanız ve gökyüzünde birkaç uçak bırakmak istiyorsanız, `SUPPRESSED_MODELS` dizisini düzenleyin. Geri döndürmek istediğiniz herhangi bir modeli yorum satırına alın veya kaldırın. Örneğin, jetleri canlı tutmak için `JET` satırını silin. Ayarladıktan sonra değişikliklerin etkili olması için kaynağı yeniden başlatın.
En İyi Uygulamalar
– Back Up – Before touching any server files, make a copy of your current configuration and scripts.
– İyice test edin – Once the server is running, hop into each airport area to confirm no unwanted aircraft appear.
– Kaynak Kullanımını İzle – Use tools like the FiveM console’s `stats` command or external monitoring software to verify that CPU usage has decreased after disabling AI planes.
– Keep Scripts Updated – If FiveM changes the underlying spawning mechanics, you may need to tweak scenario names or model hashes.
Çözüm
By adding the gd_havaalanı_ai_gitti script to your FiveM server, you effortlessly disable AI airplanes and helicopters that can otherwise clutter the sky, drain performance, and disrupt your desired gameplay atmosphere. This small change frees up computing power, delivers a cleaner experience, and keeps your server’s world cohesive. If you run into any hiccups or want to share additional tweaks, drop a comment below or participate in the FiveM community forums for support.
Practical checklist
Use this guide as a staging checklist before changing a live FiveM server. Confirm the current server artifact version, framework version, resource dependencies, database changes, and any client-side files before you apply the change.
- Back up the affected configuration files and database tables.
- Apply the change on a test server first.
- Watch the server console and client F8 console for errors.
- Check whether the change affects jobs, inventory, vehicles, maps, voice, permissions, or player data.
- Document the exact file, command, or setting you changed so it can be reverted quickly.
Testing before production
After the first test, join with a normal player account and repeat the flow from the player perspective. If the topic involves performance, measure before and after with the same player count, route, and resource set. If it involves admin tools or permissions, verify both allowed and denied users.
Yaygın hatalar
Most FiveM issues come from missing dependencies, stale cache, wrong folder names, framework mismatch, or configuration copied from another server. Avoid changing multiple systems at once; make one change, test it, and then continue.
Related resources
For production-ready assets, compare paid resources in the FiveMX shop. For free resources, browse free FiveM scripts and test each resource before using it publicly.
Production rollout notes
Before using this guidance on a live FiveM server, define the exact outcome you expect from the change. For How to Disable AI Planes and Helicopters in FiveM, that means checking which resource, setting, command, or workflow is affected and confirming that the change fits your current framework, artifact version, and server rules. Keep the rollout small enough that you can reverse it quickly if players report errors.
Use a staging server with the same framework, database schema, resource order, and key dependencies as production. If the topic changes gameplay, permissions, visuals, voice, vehicles, maps, inventory, or economy behavior, test with at least one admin account and one normal player account. Watch server console output, client F8 logs, and resource timing while repeating the exact player flow that will happen on the live server.
Rollback checklist
- Save the previous configuration file, resource folder, and database state before changing anything.
- Record the resource version, commit, download page, or setting value you tested.
- Restart only the affected resource first when possible, then restart the full server if dependencies require it.
- If errors appear, revert the single changed resource or setting before testing another fix.
Maintenance guidance
Review this setup again after FiveM artifact updates, framework updates, or major resource changes. A configuration that works today can break after dependency updates, renamed exports, changed events, or database migrations. Keep notes with your server documentation so future admins understand what was changed, why it was changed, and how to verify it again.
Ongoing review
Recheck How to Disable AI Planes and Helicopters in FiveM after major FiveM artifact updates, framework changes, or resource migrations. Confirm that the advice still matches current server behavior, that any linked source remains available, and that installation steps still match the files a server owner will actually download or configure.
For public servers, keep a short changelog beside your server documentation. Note what was tested, what changed, which accounts were used for verification, and how to roll back. This makes future maintenance faster and prevents old setup notes from becoming unclear or unsafe for players.






