Overview
About NPC Pro
Talking, remembering, gossiping street NPCs for FiveM, built on the pedestrians GTA already spawns.
- Every ambient pedestrian gets a category, a personality, a mood and a memory
- Ten named characters with shops, errands and a player bounty board
- Trust from -10 to +10, kept by the server, changes shop prices
- Runs on Qbox, QBCore, ESX Legacy or standalone; only ox_lib is required
- Three dialog layouts, panel text in English and Hungarian
Walk up to a ped at an ATM, press G, and you're in a conversation. He reacts to the weather, your weapon, your wanted level.
NPC Pro works on the pedestrians GTA already spawns. Every one of them gets a personality and a memory of you, and your players can walk up and talk to most of them (not animals, and not peds that are fleeing or in a vehicle). The script also places some people of its own: the ten named characters, up to 12 extras at a time at ATMs, benches and on the beach, up to two officers at traffic-light junctions and a security guard on patrol. Each group has its own switch in the config, and you can lower the number of extras.
Talking#
G talks to the NPC you're looking at. E works through ox_target or qb-target, or through a built-in prompt if you have neither. Walls, props and vehicles block the conversation. Glass and see-through fences don't.
The dialog branches, and the lines change with the time of day and what's around you. Ask too many questions and the NPC gets tired of you and ends the chat. Some won't talk at all. Gang members and cops refuse most often, and a ped that is panicked or hostile always does.
The panel shows how much the NPC trusts you and how close they are to losing patience. Players pick one of three layouts with /npcpro_layout, and the colors and fonts live in one theme file.
Memory, trust and work#
Ten named characters have schedules and their own voices. One of them runs a shop, and a few hand out errands or take bounties. They remember you per character, across restarts. Street NPCs forget you 10 minutes after you last spoke to them.
Come back to the same person within those ten minutes and the greeting starts with something like "Right, you. Hey." A named NPC you haven't seen for over an hour might open with "Look who finally surfaced.", and after five conversations you're a regular.
The server keeps trust on a scale from -10 to +10. Being decent to people raises it, and robbing or threatening them brings it down. Prices follow it. If you rob someone, NPCs close by can hear about it and pass it on, so the next ped may greet you differently. A mask or a helmet helps, and with a good enough disguise they treat you like a stranger.
Ask an NPC for work and the server rolls you an errand. Four ship with the script. There is also a bounty board where players put a stake on someone. The broker takes 10 percent, and an unclaimed bounty expires after 72 hours with a refund. Kills are checked by the server, which needs OneSync. A player at a quarter of their health or less counts as down, so it also pays out on frameworks that keep downed players alive.
Crime and police#
Point a gun at someone and their personality decides what happens, from 16 on-foot reactions. You can rob, mug or pickpocket people too, though robbing street peds needs OneSync. Witnesses report to the server, and a cop's word counts for more than a homeless guy's.
I made police non-lethal by default at one star or less, so a small mistake doesn't end in a shootout. Cops can be bribed when you're wanted, and street cops only with the police module on. There is also an alpha police module, off by default, that raises your wanted level for running a red light near an officer, speeding past one, hit-and-run and assaulting an officer. It sends no units of its own. GTA's dispatch answers the wanted level.
Many server packs switch GTA's own cops and dispatch off, so NPC Pro turns them back on every few seconds. If you run a police job or dispatch script like ps-dispatch, cd_dispatch or qb-policejob, it leaves those settings to that script and says so in the console.
City life#
Beach extras at Vespucci, tourists downtown, and people at ATMs, benches and bus stops. At night a red-light district opens, and there are 7 street scenes you can walk into and join. Guard patrols use GTA's own patrol system. Downtown is set busier and Blaine County thinner, through GTA's own density setting.
The panel, hails, errands and shops come in English and Hungarian. The dialog itself is English only. Admins get about 60 commands for testing.
Requirements#
- ox_lib
- OneSync for street robberies, street requests, bounty kill checks and server-spawned named NPCs
Frameworks, detected at start or set in the config:
- Qbox
- QBCore
- ESX Legacy
- standalone
Saving uses FiveM's built-in storage, or MySQL through oxmysql if you switch it on in the config. ox_target or qb-target are used when they're there. It also hooks into ncore_inventory, ncore_hud, ncore_chat and ncore_touchgrass if you run them. For developers there are exports to read trust, errands and the bounty board, and server events for witness reports, bribes, bounties and errands, all listed in the README.
Code and updates#
The Lua code is protected by Cfx.re asset escrow, and the config, locale and data files stay open for you to edit.
The download is the ncore_npc_pro folder with a README, an install guide, a changelog and the SQL file for MySQL saving. Updates don't install themselves. You download the new version from your Cfx.re account, keep your config and data files and copy the rest over.
I reply to support requests within 72 hours. Refunds are handled by Tebex under their terms.
Not approved, sponsored or endorsed by Rockstar Games.
Features
What it does
Talk to Street Peds
Press G or E to start a branching dialog with follow-ups and counter-questions. Lines depend on time of day, weather, nearby props, your health, a mask, a weapon and your wanted level.
Seven Personalities
Each pedestrian is a civilian, gang member, cop, homeless person or prostitute with one of seven personalities. Each one reacts differently to being aimed at, hit, robbed, threatened or provoked.
Memory, Trust, Gossip
Named NPCs remember you per character across restarts and street NPCs for 10 minutes. NPCs within 8 m pass on events, so greetings change.
Ten Named Characters
They have schedules with a different spot per time of day. Add your own in data/personas.lua without code.
Errands and Bounties
Ask for work and the server rolls an errand, four ship with the script. Players can place a bounty with a stake, kills are checked by the server, which needs OneSync, and an unclaimed bounty expires after 72 hours with a refund.
Witnesses and Police
Crimes are reported with witnesses of different reliability, and police is non-lethal by default at one star or less. An alpha police module is off by default.
City Life
Life-point extras at the beach, ATMs, benches and bus stops, 7 street scenes, a night-only red-light district and guard patrols. Crowd density follows GTA's own multiplier.
Dialog Panel
Panel, Cinematic and Split layouts with trust, composure and patience meters. Colors, radii and fonts live in nui/theme.css.
What you get
Config open, core escrowed
Compatibility
Will it run on your server?
Frameworks
- QBoxstable
- QBCorestable
- ESXstableESX Legacy
- Standalonestable
Resources
- ncore_inventorydeep integration
- ox_inventorydeep integrationOn Qbox items go through a resource named ox_inventory, which Qbox needs; ncore_inventory ships a compatibility layer under that name
- qb-inventorydeep integration
- ox_targetdeep integration
- qb-targetdeep integrationA built-in target is used without either
- oxmysqldeep integrationOnly for MySQL saving
- ncore_huddeep integrationTrust toasts, achievements, mood toasts, news caption
- ncore_chatdeep integration3D speech bubbles
- ncore_touchgrassdeep integrationBonus minutes for errands
- ps-dispatchdeep integrationNPC Pro steps aside for police and dispatch resources in Config.engine_police.step_aside_for
- qb-policejobdeep integrationSame step-aside list
Docs
Read it before you buy
The same docs that ship with the script, updated with every release.
Talking, remembering, gossiping street NPCs for FiveM, built on GTA's own ped systems.
nCore Development · intelnpc.com · Resource: ncore_npc_pro · Version: see fxmanifest.lua
What it is#
NPC Pro works on the pedestrians GTA already spawns. Every one of them gets a category, one of seven personalities, a mood and a memory, and you can walk up and talk to them. The script places a few people of its own too: the ten named characters, the life-point extras (up to 12 at a time), up to two officers at traffic-light junctions and a patrol guard. Each group has its own switch in shared/config.lua.
Ten named characters add shops, errands and a player bounty board. The rest is reactions: people see what you do, tell each other, and treat you differently the next time. Only ox_lib is required. It runs on Qbox, QBCore, ESX Legacy or on its own.
-
Install and start
ox_lib3.x. -
Copy the
ncore_npc_profolder intoresources/[ncore](create the[ncore]folder if you do not have one yet). -
Add these lines to
server.cfg, after your framework, inventory, target and any other nCore resources:server.cfgset onesync on ensure ox_lib ensure ncore_npc_pro -
Admin tools: grant the ace in
server.cfg, and every player ingroup.admingets the F12 admin panel and the dev commands, with debug mode off:server.cfgadd_ace group.admin ncore_npc_pro.dev allowDebug mode (debug visuals, and the admin tools for every player) ships off. Turn it on only on a staging server and remove the line again before going live:
server.cfgsetr ncore_npc_pro:debug trueThe convar wins over
Config.debuginshared/config.lua, so you do not need to edit the config.falseforces debug off. -
Optional: to keep NPC memory and reputation in MySQL instead of FiveM's KVP store, ensure
oxmysqlbeforencore_npc_proand setConfig.persistence.backend = 'sql'inshared/config.lua. The tables insql/ncore_npc_pro.sqlare created automatically on start. If you switch from KVP later, existing trust, memory, errands and bounty board data are copied into MySQL once, the first time each one is loaded and has no MySQL row. Switching back from MySQL to KVP copies nothing. -
Restart the server and check the console for the
[ncore_npc_pro bridge]line showing the detected framework, inventory, notify and target.
Important#
- Required:
ox_lib3.0+. On Qbox, a resource namedox_inventoryis also required.ncore_inventoryships one, a Qbox compatibility layer for ncore_inventory. - Optional, detected automatically:
qbx_core/qb-core/es_extended(standalone works without a framework),ncore_inventoryor your framework's inventory resource,ox_target/qb-target(without one, the built-in look-at + E interaction is used),ncore_hud, ox_lib or the framework's notifications,ncore_chat,ncore_touchgrassandoxmysql. - Do not rename the
ncore_npc_profolder. - Keep OneSync on; server-side robbery validation depends on it.
- If you run a police job or dispatch resource, check the console on start. NPC Pro stops forcing GTA's police and dispatch settings while one from
Config.engine_police.step_aside_foris running and prints a line naming it. Add your resource to that list if it is not there, or setConfig.engine_police.force_on = trueto keep NPC Pro in charge. - The ace
ncore_npc_pro.devis the only permission for the F12 admin panel and its actions; the server checks it again on every admin action that reaches it. Players without it get nothing on F12. Every player opens the player menu (dialog layout) with/npcpro. - More console output while you set it up:
setr ncore_npc_pro:verbose_server_log 1. Remove it again on a live server.
Updates don't install themselves. When a new version is out, download it again (escrow from your Cfx.re account, full source from Tebex), keep your own config and data files, and copy every other file over the old ones. Settings added in a new version are listed under that version, so you can copy them into your config. New versions are announced on intelnpc.com.
1.0.44#
First public release. Everything the script does is listed in README.md.
From the same studio
More from nCore
FAQ
About NPC Pro
What does it need to run?
Only ox_lib is required. Qbox, QBCore, ESX Legacy, an inventory, a target system, oxmysql and the ncore resources are detected automatically if present. OneSync is needed for street robberies, street requests, bounty kill checks and server-spawned named NPCs.
Which frameworks does it support?
Qbox, QBCore and ESX Legacy, or none at all. The inventory, notification and target systems are detected too, and you can force any of them in Config.bridge.
What can I edit?
shared/config.lua holds every setting. The locale files, the data files (personas, dialog, errands, bounties, life points, scenes, patrols) and nui/theme.css are editable too.
Can I add my own named NPC?
Yes. Copy an entry in data/personas.lua, change its id, model, coordinates and dialog, and restart the resource. No code is needed.
How do I update?
Download the new version, keep your own config and data files and copy every other file over the old ones. Settings added in a new version are listed in CHANGELOG.md.
It conflicts with my police or dispatch script. What now?
While a police job or dispatch resource from Config.engine_police.step_aside_for is running, NPC Pro stops forcing GTA's police settings and prints a console line naming it. Add your resource to that list, or set Config.engine_police.force_on = true to keep NPC Pro in charge.
Is the code escrowed?
The core is, through Cfx asset escrow. Everything you normally tune stays open: shared/config.lua, locale files, data files (personas, dialog, errands, bounties and more) and NUI panel files (HTML, theme.css, fonts).
Do I need a licence key? Does it phone home?
No key from us and nothing calls back to us - we run no licence server. Escrowed files are checked by Cfx itself: the Cfx account that owns your server key must hold the script, so buy with that account.
Which Cfx.re account should I buy with?
The Cfx.re account that owns your server's licence key. Escrowed scripts only start on servers whose key belongs to the account that bought them.
€29.99
Ready when you are
Instant delivery, checkout right here on the site, and a Discord full of people who will answer before you pay.



