km-empresas, credited to Kamuidll in its manifest, sells configured job assignments for in-game bank money. A buyer pays the purchase price and receives the configured job and grade. Those prices are not salaries, and this is not a full business-management, payroll or MLO package.
Install the inner resource and database table
Use the inner km-empresas folder containing fxmanifest.lua. Start qb-core, qb-menu, qb-input and oxmysql before ensure km-empresas. qb-input is declared as a dependency even though the supplied code does not call it. Back up the database before applying empresas.sql, which creates owned_properties with a unique property_name key.
Configure NPC coordinates and model, purchase prices, job names and grades in config.lua. Default bank prices are 500000 for Los Santos Customs, 150000 for Burger Shot and Badulaque, and 250000 for Taxi. Default grades are 4; each job and grade must actually exist in QBCore.
Keep the menu and purchase behavior consistent
The Spanish menu text and displayed prices are hardcoded in client.lua. Changing Config.PropertyPrice values does not update those labels. Update both together and test insufficient funds, an already-owned business and successful assignment.
The resale menu is marked as forthcoming and its opening event has no supplied handler. Other sell/owned-property client events have no corresponding server implementation. ps-multijob is only mentioned in a configuration comment; this resource does not contain a multijob integration.
Protect charging and ownership
The server reads ownership asynchronously, removes bank money and sets the job before attempting the ownership insert. It does not check SetJob or insert success and does not refund failed persistence. A unique database key alone does not make that purchase atomic. Test simultaneous buyers and database failures before release.
Purchase events use server-configured prices and jobs, but have no NPC-distance or purchase-session validation. Add authoritative eligibility, proximity and transaction handling. Back up existing job/ownership data before replacing another system; reconnects and restarts need testing.
Reviewed on 10 September 2026 at revision 5d4c0c6982b908f29bbe3e7eec7e78f77bd9fb35. All supplied Lua, manifest and SQL were inspected. No FiveM job assignment, bank charge or concurrent purchase was executed.