okokContract
okokContract - professional ESX script with custom features and optimized performance for FiveM servers Compatible with ESX framework.
okokContract - Professional Vehicle Sale Contract System for FiveM
Looking to add realistic vehicle transactions to your FiveM server? The okokContract system brings authentic, legally-binding vehicle purchase agreements to your roleplay economy. Whether you're running a used car lot, facilitating private sales, or building a comprehensive dealership ecosystem, this interactive contract system ensures every vehicle transfer is properly documented and secure.
What It Does
okokContract creates a professional vehicle purchase and sale workflow that mirrors real-world transactions. When a player wants to sell their vehicle, they use a physical contract item to open a sleek, user-friendly interface where they set the price and add a description. The system verifies vehicle ownership, checks if the buyer has sufficient funds, and handles the complete transfer process - from money exchange to database ownership updates. Every transaction is logged to Discord, giving server admins full transparency over your server's vehicle economy.
The system works seamlessly with proximity detection - sellers must be near both their vehicle and the potential buyer to initiate the contract. This encourages realistic face-to-face transactions and prevents remote vehicle sales that break immersion. Players perform authentic signing animations while the contract window is open, adding that extra layer of realism to every deal.
Key Features
- Interactive Contract Interface - Beautiful, modern UI for setting vehicle price and description with instant preview of contract terms
- Smart Verification System - Automatically checks vehicle ownership, buyer funds, and proximity requirements before allowing transactions
- Realistic Signing Animation - Characters display professional paperwork animations while reviewing and signing contracts
- Discord Webhook Logging - Complete transaction logs including seller, buyer, vehicle details, and sale price for admin oversight
- Flexible Payment Options - Configure whether money transfers happen instantly to bank accounts or requires manual cash exchange
- Item-Based System - Uses physical contract items that can be purchased, found, or distributed by dealerships
- Configurable Consumption - Choose whether contracts are consumed after use or remain reusable for multiple transactions
- Proximity Detection - Requires seller to be near both vehicle and buyer, preventing unrealistic remote sales
- Built-in Safety Checks - Prevents selling vehicles you don't own and stops transactions if buyer lacks funds
Perfect For
- Private vehicle sales between players requiring legal documentation
- Used car dealerships needing professional sales workflows
- Roleplay servers emphasizing realistic business transactions
- Economy-focused servers tracking vehicle market activity
- Legal RP scenarios involving vehicle ownership disputes
- Business RP where players run legitimate car dealerships
- Servers wanting to eliminate vehicle scamming between players
How It Works
- Seller Preparation - Player obtains a contract item from inventory and approaches their vehicle with a buyer nearby
- Contract Creation - Use the contract item to open the interface, set the vehicle price, and add description/terms
- Verification - System checks vehicle ownership, buyer proximity, and confirms vehicle exists in database
- Buyer Review - Nearby buyer receives contract with vehicle details, price, and seller terms clearly displayed
- Signing Animation - Both parties perform realistic paperwork signing animations during the transaction
- Payment Processing - Money transfers from buyer to seller (instant bank transfer or cash, depending on config)
- Ownership Transfer - Vehicle ownership updates in database, buyer becomes legal owner
- Discord Logging - Complete transaction details sent to your Discord webhook for admin records
Configuration Options
The config file gives you complete control over transaction behavior. You can toggle whether contract items are consumed after use (single-use contracts like real paperwork) or remain in inventory for multiple transactions (reusable legal forms). The money transfer system offers flexibility too - enable instant bank transfers for convenience, or require manual cash exchange for more immersive roleplay where players physically hand over money.
Every contract requires the seller to be near both their vehicle and the buyer, but you can adjust the proximity distance to match your server's needs. The buyer verification system ensures players can't purchase vehicles they can't afford, preventing failed transactions and financial exploits.
Framework Compatibility
- ✅ ESX - Fully compatible with all ESX versions (Legacy and 1.9.x+), integrates with ESX inventory and banking
- ✅ vRP - Works with vRP framework for vehicle ownership and money systems
- ⚠️ Notifications - Bring your own notification system (ox_lib, mythic_notify, etc.) - not included
What Makes It Stand Out
Unlike basic vehicle transfer commands, okokContract brings the entire legal transaction experience to your server. The combination of proximity requirements, ownership verification, and Discord logging creates a secure, scam-proof environment for vehicle sales. The beautiful UI makes complex transactions simple, while the signing animations add that professional touch that elevates roleplay quality.
With 51+ servers already using this system, it's proven reliable for everything from small private sales to large-scale dealership operations. The flexible configuration means it adapts to your server's economy style - whether you want instant bank transfers for casual servers or manual cash exchanges for hardcore roleplay.
Installation
- Extract the resource to your server's
resourcesfolder - Add
ensure okokContractto yourserver.cfg - Configure settings in
config.lua(item consumption, payment method, proximity distance) - Add the contract item to your ESX/vRP database and shops
- Set up Discord webhook URL for transaction logging (optional but recommended)
- Restart server and test with two players near a vehicle
Requirements
- ESX or vRP framework
- Inventory system that supports custom items
- Banking system for money transfers
- Notification resource (not included - use ox_lib, mythic_notify, etc.)
Complete tutorial included with purchase. Notifications not included - compatible with any notification system.
Related Products You Might Like
- Premium Vehicle HUD - Professional speedometer trusted by 429+ servers
- Luxury Car Dealership MLO - Premium car dealer interior for sales
- Vehicle Control UI - Advanced vehicle management interface
- Super ESX Server - Complete ESX server with economy and jobs





