๐ฅ TGX_NPCPoly โ Advanced NPC Removal System ๐ฅ
by TobiGamerX / TGX
๐ DESCRIPTION
TGX_NPCPoly is a powerful and lightweight FiveM script that allows you to create custom PolyZones directly ingame to automatically remove NPCs and NPC vehicles.
Perfect for:
โ Safezones
โ Performance optimization
โ RP areas (no traffic / no pedestrians)
โ Events & custom locations
๐ฏ FEATURES
โ Ingame Zone Creator (no config editing needed)
โ Works with PolyZone
โ Unlimited zones
โ Removes NPCs automatically
โ Removes NPC vehicles automatically
โ Player vehicles are NEVER deleted
โ Fully standalone (no database required)
โ Zones saved in JSON
โ Debug mode for testing
โ Optimized performance (interval-based checks)
๐ฎ INGAME CONTROLS (Zone Creator)
SPACE โ Add point
BACKSPACE โ Remove last point
SCROLL โ Adjust height
ENTER โ Save zone
ESC โ Cancel
โ COMMANDS
/tgx_poly
โ Show help
/tgx_poly_create
โ Create new zone ingame
/tgx_poly_delete NAME
โ Delete a zone
/tgx_poly_reload
โ Reload all zones
/tgx_poly_debug
โ Toggle debug mode
๐ฆ INSTALLATION
- Install PolyZone
- Place TGX_NPCPoly into your resources folder
- Add to server.cfg:
ensure PolyZone
ensure TGX_NPCPoly
๐ PERMISSIONS (Optional)
add_ace group.admin tgx.npcpoly allow
๐ก IMPORTANT
- Player vehicles are always protected
- Only NPC vehicles are removed
- Zones require at least 3 points
- No database required
๐ง USE CASES
โ City Safezones
โ Car meet areas (no traffic)
โ RP hubs
โ Event zones
โ Performance boost areas
โก PERFORMANCE
Designed to be lightweight and optimized
Runs only when player is inside zones
๐ FILE TYPE
Standalone Script
๐งโ๐ป AUTHOR
TobiGamerX / TGX
โญ Ready to upgrade your server performance and control NPC behavior?
Get TGX_NPCPoly now!
Discord:ย https://discord.gg/2mE9cvM2bS