The ped who sells Fraud Scamming's items. What he sells, how players pay, which money counts as dirty on each framework, and how to change him or take him away.
On this page
Fraud Scamming comes with a supplier, so players can get started without you setting up a shop of your own. He stands smoking at shop.coords, with no blip on the map: players have to find him, or be told where he is. The third eye on him has Browse, which opens his menu.
What he sells
As it ships:
Item
Price
tr_laptop (tr_laptop's laptop)
$2,500
burner_phone
$500
card_skimmer
$1,200
blank_card
$60
check_printer
$1,800
blank_check
$25
receipt_paper
$15
He never sells what players are meant to earn: cloned cards, stolen and forged checks, money orders, boxed electronics and receipts only come from playing.
Buying
The menu lists everything he sells, with its picture, a line on what it's for, and its price.
Players add what they need. Up to shop.maxCount of one item go in one purchase.
They pick how they pay. Each way shows what the player has, in red when it isn't enough.
Buy pays and puts everything in their inventory at once.
The server checks it all again: that the player is standing at the supplier, may use him, has the money, and can carry all of it. If they can't carry it, nothing is taken. Whatever the inventory still refuses after paying is refunded.
Paying
shop.payWith lists the ways players can pay, in the order they're shown. The first is picked when the menu opens.
In payWith
Shown as
Paid from
'cash'
Cash
The cash on the character
'bank'
Card
Their bank account
'dirty'
Dirty cash
Their dirty money (see below)
As it ships it's { 'cash', 'dirty' }. Use one, two or all three.
Dirty money on each framework
What counts as dirty money is up to tr_core, which reads it from your framework. It needs tr_core 1.7.1 or newer.
Framework
Dirty money is
ESX
The black_money account
Qbox
ox_inventory's black_money item, $1 each
QBCore
markedbills bags, each worth what its worth says. A bag is paid whole, so if it's worth more than the price, the change comes back as one new bag
Cash is never counted as dirty money. To use another money type of your framework's (a blackmoney money type you added to Qbox, say), set accounts.dirty in tr_core's config.lua.
The same dirty money is what ATMs pay cloned cards out in as it ships (atm.account).
What he sells and for how much, in the order shown
Changing what he sells
Take a line out of items to stop selling that item, or change its price. Any item your inventory has can be added too: { item = 'phone', price = 900 }. It takes its label from your inventory, and its picture from web/dist/shop/<item>.png when there is one.
When a scam is turned off, he stops selling what's only for it by himself: the burner phone without texting, blank checks without check fraud, receipt paper without store returns, and the skimmer, blank cards and printer once nothing uses them.
Who may use him
With permissions on, permissions.need.shop decides whether only those players may use him (true as it ships). Players who may not don't see Browse on him.