CES Help Document > FiveM > Prostitution

Prostitution

📖 ProstitutionLicensed Help Documentation

📦 Installation Instructions

Extract the Script: Unzip and place the Prostitution folder into your server's resources/ directory.

Start the Resource:

ensure Prostitution

Install Dependencies:

license_checker resource (included or required externally)

Game Build 2060 or above

Restart Your Server: The script will begin license validation on startup.


⚙️ Configuration (config.lua)

Config.Framework = "esx" -- Options: "esx", "qbcore", "ndcore", "standalone"
Config.PaymentEnabled = true

Config.Prices = {

    SERVICE_BLOWJOB = 50,

    SERVICE_SEX = 100

}

🚗 Restrictions

Ineligible Vehicle Classes: Motorcycles, Boats, Aircraft, Emergency Vehicles, etc.

Ineligible Pedestrians: Injured, running, or already in a vehicle.


🎮 Player Interaction

Honk their horn near eligible NPCs to invite them.

Choose services from an on-screen menu.

Must find a secluded location for service.

Be charged according to configured prices.

The menu includes:

💋 Blow Job ($50)

🍑 Sex ($100)

❌ Decline


💳 Server Payments

Depending on the selected framework:

ESX: Uses xPlayer.removeMoney()

QBCore: Uses Player.Functions.RemoveMoney()

NDCore: Uses NDCore.Functions.DeductMoney()

Standalone: Always allows the action


🔒 Licensing

Authorization Server: Validates your licenseKey

Blocks usage if the license is invalid

Set your license key inside server.lua:

local licenseKey = 'YOUR_LICENSE_KEY'


Suggest an edit

Review this page

crazyeyes29

Prostitution script help

1 recommend this page