Base Resource
crime
The supplied manifest describes this resource as “VCore - Crime”.
Introduction
The supplied manifest describes this resource as “VCore - Crime”.
6Client Lua
8Server Lua
4Exports
11Events
1SQL tables
No manifest UI page detected.
Dependencies & References
| Resource | Detected as | Package status |
|---|---|---|
core | Manifest dependency | Included in Base |
dispatch | Manifest dependency | Included in Base |
inventory | Manifest dependency | Included in Base |
oxmysql | Manifest dependency | External / prerequisite |
vcore_minigames | Manifest dependency | Included in Base |
logs | Referenced by source | Included in Base |
medical | Referenced by source | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
dispatch | GetGenderedName |
inventory | AddItem, DrainStash, GetItemAmount, GetPlayerItems, OpenStash, PeekStash, RemoveItem, RemoveItemAtSlot |
logs | Log |
medical | RevivePlayer |
Installation / Start Order
The supplied server.cfg enables this resource in the Core systems stage at enabled-resource position 43. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.
server.cfg
ensure crimeConfiguration
Config files
config.luaconfigBurglary.luaconfigCornerSelling.luaconfigEscapes.luaconfigMoneyWash.luaconfigStores.lua
Top-level config keys detected
BurglaryChanceToGainDealerRepCooldownBetweenSalesCornerSellingBlacklistedZonesCornerSellingGlobalDrugsCornerSellingRangeCornerSellingZoneOverridesCornerSellPedModelsCornerSellVehicleModelsCornserSellingDefaultRepScaleSettingsCornserSellingRepScaleCurrencyDebugEscapesInitalSellingDelayLowballSaleMultiplierMaxTesterRepMinPoliceCornerSellingMoneyWashChanceToGainRepMoneyWashRunsEnabledMoneyWashRunsLowBallMultiplierMoneyWashRunsLowRiskCooldownMultiplierMoneyWashRunsLowRiskReportMultiplierMoneyWashRunsLowRiskValueMultiplierMoneyWashRunsMissionGiverMoneyWashRunsRepScaleMoneyWashRunsVehicleOptionsMoneyWashRunsZonesMoneyWashValuesPedApproachSpeedsPublicMoneyWashRobCashRegisterItemRobSafeItemSmashAndGrabStoreCashRegisterLootTimeStoreClerkScareAddersStoreClerkShotgunChanceStoreCooldownStoreDoorKeyChanceStoreItemsLootTimeStoreReqPoliceStoreRewardsStoreRobMeleeWeaponsStoreRobWeaponBlacklistStoresStoreSafeLootTimeTesterMultiplierTesterPriceMultiplierTimeoutDrugOfferZoneLabelsEvents, Exports & Callbacks
Exports
Client exports1
GetPlayerDrugs
Server exports2
CanSmashAndGrabGetPlayerDrugs
Shared exports1
GetMoneyWashValues
Callbacks
Server callbacks5
burglaries:server:GetHouseRobDatacrime:server:createCornerOffermoneywash:server:createRunOffermoneywash:server:getStatusstores:server:canRob
Registered network events
Client registered events8
VCORE:Client:OnPlayerLoadedVCORE:Client:OnPlayerUnloadburglaries:client:Enterburglaries:client:ExitHousecrime:escapes:client:cuffCutcrime:escapes:client:medicalTreatmentstoreRob:client:handleClientClerkstoreRob:client:scareClerk
Server registered events3
crime:server:holdStolenItemcrime:server:recoverStolenIteminventory:server:inventoryClosed
Commands
Client commands1
breach
Database / SQL
| File | Type |
|---|---|
publicmoneywash.sql | Resource SQL file |
publicmoneywashThe root Base package also ships the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Detected files |
|---|---|
| Client Lua | 6 |
| Server Lua | 8 |
| Other/shared Lua | 8 |
| JavaScript | 0 |
| HTML | 0 |
| CSS | 0 |
| SQL | 1 |
Troubleshooting
- Confirm all manifest dependencies are started before
crime. - Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
- If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
- If the UI fails, verify the resource's NUI files and
ui_pagewhen one is declared.

