PedsEnEx (Peds Enter and Exit Buildings)
🟢 Updated this monthPreview

📋 About This Mod
A GTA:SA mod that adds peds walking in and out of buildings to almost 100 locations across the map!
PedsEnEx
This is a GTA:SA mod that adds ambient peds walking in and out of buildings.
-----------------------------------------------------------------
General Info
-
[] This is an extended, much better, ASI version of my previous CLEO version of this mod.[/]
[]Still requires manual mapping.[/]
[]NO LONGER REQUIRES MANUAL MAPPING! - The mod now comes with almost 100 locations configured by default!.[/]
Why?
I loved the idea of LKBoss' mod but the customizability/configuration was minimal in their version.
Plus, I have added many features that were missing in both their mod and my previous CLEO version of this mod.
-
[] Filtering by in-game time[/]
[]Filtering by model[/]
[]Ability to add/remove locations[/]
[]Cops entering interiors (if enabled) when wanted[/]
Note on AI
This was one of my first, if not the very first C++ project. I had to use Gemini to learn some concepts (such as vectors) and learn to do some things (such as reading files), and also to map out certain functions from plugin-sdk.
-
[] AI was also used to spot bugs i didn't spot.[/]
[]The core logic was developed by me, with the knowledge I'd attained from my previous CLEO attempt of this mod.[/]
CONFIGURATION - IMPORTANT!
Error catching is not yet implemented so if a crash occurs, please check if all your configs are proper before reporting!
All configuration files skip lines starting with "//", "#" or ";"
locations.txt
This is the very first and most important file.
It defines all the locations where peds are to spawn.
It has 17 fields as follows:
x(0) y(1) z(2) r(3) m(4) int(5) prob(6) walk(7) wt(8) iw(9) pid(10) trid(11) c(12) cp(13) co(14) lp(15) lfb(16)
x, y, and z are floats -> They define the coordinates of the location.
r is also a float -> This defines the radius.
The code only spawns peds if the player is within this radius and only peds within this radius will enter the door.
m is an integer -> This is the model of the door.
int is an integer (milliseconds) -> This is the interval at which the ped spawning logic will be fired.
prob is a float -> This defines the probability that a ped will spawn when a spawn request is fired.
walk is a float -> This defines the distance the ped will walk to exit the door. The ped will be given the wandering AI after it moves a distance of this value towards the door.
wt is an integer (milliseconds) -> This is the maximum time a ped can spend walking. If it takes longer than that to walk (out or in) it will be teleported to the destination.
NOTE: this is the maximum time. not a forced time. Therefore, if the ped takes only 10000 milliseconds out of the allowed 60000 milliseconds, it would not wait for 50000 milliseconds. Therefore, it is recommended to give this a high value.iw is a boolean (1/0) -> This inverts the walk destination. Set this to 1 if the ped walks towards the wall instead of walking towards the door. Otherwise, leave this at 0 (Useful when adding interior locations)
pid is an integer -> This stands for the identifier field in pedModels.txt. i.e. if this is set to 3, only peds defined as
3 = ...in pedModels.txt
-
[] AI was also used to spot bugs i didn't spot.[/]
📊 Mod Details
- Game
- GTAsanandreas Mods
- Author
- vecondite
- Version
- 1
- Downloads
- 0
- Endorsements
- 0
- Category
- Gameplay
- Created
- 9/23/2026
- Updated
- 9/23/2026
🔧 How to Install GTA San Andreas Mods
Download from gtaall.com.
📖 Full step-by-step install guide for GTA San Andreas →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for GTA San Andreas commands, item IDs, and more.
Keep browsing — more GTA San Andreas mods await