X3D Environment

Description

A clean map and a steady frame rate, free, with nothing else to install.

Crowds on every sidewalk, AI cars at every light, blood pools that stay all night, tire marks everywhere, a character still covered in blood from a shootout two hours ago: x3d_environment cleans all of it. Every module toggles on its own. Works on ESX, QBCore and standalone, and fits any city style (school / community / RP).


Features

  • [+] Easy setup: tune everything in config, or set it from the web builder
  • [+] Five modules, each one switches on or off on its own
  • [+] Turns off pedestrians, moving cars, parked cars and AI traffic
  • [+] Turns off AI cops, random boats, garbage trucks and random events
  • [+] Keep part of the crowd or traffic by setting the density instead of zero
  • [+] Wipes blood, tire marks and bullet decals on the ground, radius is yours
  • [+] Clears blood, wounds, dirt and wetness on players
  • [+] Turns off the idle camera that swings around when you stand still
  • [+] Shop, job and mission NPCs from other scripts are never deleted
  • [+] Other scripts can pause a module through an export, e.g. during a mission
  • [+] No database and no framework needed, drop it in and ensure it

Five independent modules

  • NPCs and AI traffic — stop the game from creating pedestrians, moving cars, parked cars, AI cops, boats, garbage trucks and random events, and delete the ones already spawned
  • World scenarios — disable vehicle scenarios map-wide (idling AI cars, patrol cops, military planes)
  • Idle camera — kill the camera that swings around on its own when you stand still, on foot and in a vehicle
  • Player stains — clear blood, visible damage, dirt and wetness on you and on the players you see
  • Ground decals — wipe blood pools, tire marks, bullet holes and oil stains in a radius around you

A disabled module never creates its thread.

Your own NPCs are safe

The sweep only deletes what the engine spawned (GetEntityPopulationType 1–5). Shop, job and mission NPCs are type 6/7 and are never touched. Player vehicles and occupied vehicles get a second check.

Everything is tunable

Every line in config.lua is documented in Thai and English. Want some pedestrians but no traffic? Keep blood for roleplay but clear wounds off the body? Sweep the ground faster and wider? One number each.

Exports let another resource pause a module during a cutscene or a mission that needs NPCs, then switch it back on without a restart.

Requirements

None. No database, no framework, no UI, no license. Drop it in and ensure it.

Free · modify it as you like · just don't resell it or re-upload it under another name.

Version history

  • 1.0.2 — Released 13/10/2026 00:23
  • 1.0.0 — Released 16/09/2026 16:48
Same category

Related scripts

View all products
Read more

Posts that cover this script