NPC Pro
Store · ferencfegyencPrices and availability may change. Confirm the terms in the original store.
About this resource
Talking, remembering street NPCs with trust, gossip and errands. NPC PRO — CFX cover 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. Editions # In the Escrow edition the Lua code is protected by Cfx.re asset escrow, and the config, locale and data files stay open for you to edit. Full source gives you every file readable and editable. Both get the same features and the same updates. The full feature list is on intelnpc.com. 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 (Escrow from your Cfx.re account, Full source from Tebex), keep your config and data files and copy the rest over. New versions are announced on intelnpc.com. Support is on intelnpc.com and I reply within 72 hours. Refunds are handled by Tebex under their terms. Not approved, sponsored or endorsed by Rockstar Games.