FiveM Blackmarket script
Video preview
The supplied code uses EVCore:GetObject, EVCore.GetPlayer and player money/item methods. The original core-renaming note does not cover the API changes needed for a current QBCore installation.
Purchase-handler limitation
The supplied server handler checks that the requested price is positive and that the player has enough bank money, but it accepts the item, quantity and price from the client. It does not compare them with a server-side price list or validate a positive integer quantity. Correct these checks before connecting the resource to a live economy.