Description
A QBCore private-security job: an on-shift guard walks a route of patrol points and answers intrusion alarms the server fires at secured premises, earning per task the server confirms was actually completed at the right place. It pairs naturally with player-owned businesses and door-lock setups, giving servers a lawful security role beside the police and criminal jobs.
Prompt Template
You are writing a FiveM resource for QBCore (latest qb-core, GetCoreObject export).
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/jobs/28-security-guard-patrol-alarm.lua implements on-shift tracking, server-verified patrol-point payouts with no double-claim, a server-fired alarm…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-claimed points — paying when the client says it reached a point lets a modder claim them all; verify shift + no prior claim server-side.
- Unverified alarm clear — clearing alarms without checking shift and an active alarm lets anyone collect; gate
sec:respondon server alarm state. - Per-frame markers — drawing all patrol markers each frame tanks FPS; distance-gate the draw and sleep when far.
Corrective re-prompt: "Track on-shift guards and cleared points server-side, reject sec:reachPoint unless the guard is on shift and has not claimed that pointId, and reject sec:respond unless that premises has a server-set active alarm — pay and clear state only inside those server handlers."
Framework Integration
- ESX:
ESX.GetPlayerFromId(source), gate onxPlayer.job.name == "security",xPlayer.addMoney('cash', PAY). - QBCore:
QBCore.Functions.GetPlayer(source), checkPlayer.PlayerData.job.name == "security",Player.Functions.AddMoney('cash', PAY). - QBox:
exports.qbx_core:GetPlayer(source)with the same job gate; pairs withox_doorlockfor the secured premises.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled for a rising security-role niche tied to business ownership.
Trend Signal
↗ rising — corpus: Maps to ox_doorlock premises-security activity; private-security patrol/alarm roles rise alongside player business ownership.
Sales Angle
Sell the lawful counterpart to player-owned businesses — patrol contracts plus alarm response that pairs with door-lock scripts. Recommended Tebex price $159.
Difficulty & Ship Time
intermediate · ships in 1-2 days.