π€ LRRP AI NPC β FiveM | FREE & PREMIUM
Bring the streets of Los Santos to life with LRRP AI NPC β an advanced AI-powered NPC interaction system for FiveM & QBCore.
Instead of NPCs being lifeless background characters, players can actually talk to them, ask questions, give companion commands and receive AI-generated responses based on your server's own custom knowledge. ποΈπ§
Built from the ground up for FiveM with GTA V-native NPC, vehicle and combat behaviour.
β¨ FEATURES
π§ AI-Powered NPC Conversations
- Powered by Google Gemini
- NPCs can dynamically respond to player questions
- Conversations aren't restricted to a handful of preset dialogue options
- Custom server knowledge system
- Add your own rules, guides, lore and information
ποΈ Voice Interaction
- Talk directly to NPCs using microphone/PTT
- NPCs can provide spoken positional responses
-
/ainpctext fallback included - NUI-based interaction system
π₯ AI Companion System
- Recruit NPC companions
- Tell companions to follow you
- Order them to stay
- Release companions
- Crouch commands
- Crew recruitment and removal
- Companion combat behaviour
π FiveM Vehicle Integration
- Companions can enter vehicles
- Companions can leave vehicles
- GTA/FiveM-native vehicle behaviour
- Replaces the horse/wagon mechanics from the RedM edition
π QBCore Integration
- QBCore is the default framework
- Job-aware functionality
- Inventory/item support
- Optional police interactions
- Cuff / uncuff support
- Escort support
- Framework-sensitive NPC behaviour
π FiveM World Awareness
- GTA V area/zone awareness
- Los Santos & Blaine County compatible
- Editable custom service NPCs
- Add your own stores, services and locations
- No forced RedM locations or frontier data
π CUSTOM SERVER KNOWLEDGE
Server owners can teach the AI about their own server.
Add information such as:
- Server rules
- Jobs
- Businesses
- Commands
- Activities
- New-player guides
- Economy information
- Locations
- Custom server lore
- Roleplay information
- FAQs
This allows NPCs to become an interactive way for players to discover and learn your server naturally through RP.
π FREE EDITION
Perfect for testing LRRP AI NPC before upgrading.
β
Full FiveM AI NPC system
β
Gemini AI conversations
β
Microphone/PTT interaction
β
/ainpc text interaction
β
Positional NPC speech
β
AI companions
β
Follow / stay / release
β
Crouch commands
β
Crew system
β
Vehicle passenger behaviour
β
QBCore integration
β
Custom server knowledge
β
Configurable NPC/service locations
β οΈ Free Limit
5 successful AI NPC replies server-wide every rolling 24 hours.
The allowance is global across the whole server, not per player.
Once the Free allowance has been reached, further AI replies are unavailable until the rolling allowance resets.
β¬οΈ Upgrade to Premium for unlimited AI conversations.
π PREMIUM EDITION
Unlock the complete unrestricted system.
β
Unlimited AI NPC replies
β
No server-wide conversation allowance
β
Full AI conversation system
β
Full voice interaction
β
Full companion functionality
β
Full crew functionality
β
Vehicle interactions
β
QBCore integration
β
Police interaction support
β
Custom server knowledge
β
Editable NPC/service locations
β
Custom configuration
β
Designed for full production RP servers
Premium is ideal for servers wanting AI NPC interaction available continuously to their entire community.
βοΈ CONFIGURATION
Important configuration and server-specific information can be edited.
Configure:
π§ Gemini API key
π§ AI behaviour
π§ Server knowledge
π§ NPC/service locations
π§ QBCore integration
π§ Police functionality
π§ Interaction settings
π§ Companion behaviour
π§ Server-specific information
Your Gemini API key is configured server-side and should never be placed inside public client-side code.
π¦ REQUIREMENTS
- FiveM
- QBCore
- Valid FiveM server
- Google Gemini API key
- Internet access from the FiveM server for AI API requests
β No SQL required
β No RedM dependencies
β No VORP required
β No horse/wagon resources required
Google Gemini is an external service. Availability, API limits and any provider usage costs are controlled by Google and are separate from LRRP AI NPC.
π₯ INSTALLATION
- Download your chosen Free or Premium edition.
- Keep the resource folder named exactly:
LRRP_AINPC
- Place it inside your FiveM resources folder.
- Configure your Gemini API key.
- Edit the configuration/server knowledge if required.
- Add the resource after QBCore in
server.cfg.
Example:
set ainpc_gemini_key "YOUR_GEMINI_API_KEY"
ensure qb-core
ensure LRRP_AINPC
- Restart the server.
Full installation instructions are included with the resource. π
π‘οΈ CFX ASSET ESCROW
π Premium: Core protected using the official Cfx.re Asset Escrow system.
Editable configuration and required customisation files remain accessible where applicable.
No third-party obfuscation or custom external licensing system is required.
π PERFORMANCE
LRRP AI NPC is designed around event-driven interaction rather than constantly processing AI conversations for every NPC.
AI/API requests occur when an interaction requires them rather than continuously sending AI requests in the background.
Idle Resmon: [ADD TESTED RESMON] ms
During local NPC interaction: [ADD TESTED RESMON] ms
Performance can vary depending on server configuration, player count and configured functionality.
π¦ RESOURCE INFORMATION
Code is accessible
No β protected core when distributed through Asset Escrow; editable configuration/customisation files remain accessible
Subscription-based
No
Lines (approximately)
~1,866
Requirements & dependencies
FiveM, QBCore, Google Gemini API key
Support
Yes
π FREE vs PREMIUM
Feature
π Free
π Premium
AI NPC Conversations
β
β
Gemini AI
β
β
Voice/Microphone Interaction
β
β
Text Interaction
β
β
Positional NPC Speech
β
β
Custom Server Knowledge
β
β
AI Companions
β
β
Crew System
β
β
Vehicle Interaction
β
β
QBCore Support
β
β
Custom NPC Locations
β
β
AI Reply Limit
5 globally / rolling 24h
UNLIMITED
Production Server Use
Limited/Test
β Recommended
π₯ DOWNLOAD
π FREE EDITION:
[ADD FREE DOWNLOAD / FREE TEBEX LINK]
π PREMIUM EDITION:
[ADD PREMIUM TEBEX LINK]
Paid versions are distributed through Tebex using the official Cfx.re asset delivery/Asset Escrow system.
π·οΈ Suggested CFX Tags
script qbcore paid escrow ai npc
π€ The Lost Riders MMORPG
Turn ordinary FiveM pedestrians into interactive AI-powered characters and give your players a new way to discover, interact with and experience your world.