Fraud ScammingThe supplier

The supplier

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:

ItemPrice
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

  1. The menu lists everything he sells, with its picture, a line on what it's for, and its price.
  2. Players add what they need. Up to shop.maxCount of one item go in one purchase.
  3. They pick how they pay. Each way shows what the player has, in red when it isn't enough.
  4. 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 payWithShown asPaid from
'cash'CashThe cash on the character
'bank'CardTheir bank account
'dirty'Dirty cashTheir 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.

FrameworkDirty money is
ESXThe black_money account
Qboxox_inventory's black_money item, $1 each
QBCoremarkedbills 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).

Settings

config.lua
shop = {
    enabled = true,
    ped = 'a_m_y_hipster_02',
    coords = vector3(991.65, -1550.55, 30.75),
    heading = 274.96,
    scenario = 'WORLD_HUMAN_SMOKING',
    payWith = { 'cash', 'dirty' }, -- any of 'cash', 'bank', 'dirty'; the first is picked when it opens
    maxCount = 10, -- of one item per purchase
    items = {
        { item = 'tr_laptop', price = 2500 },
        { item = 'burner_phone', price = 500 },
        { item = 'card_skimmer', price = 1200 },
        { item = 'blank_card', price = 60 },
        { item = 'check_printer', price = 1800 },
        { item = 'blank_check', price = 25 },
        { item = 'receipt_paper', price = 15 },
    },
},
SettingDefaultWhat it does
shop.enabledtruefalse takes the supplier away, for servers that sell the items their own way
shop.ped'a_m_y_hipster_02'The ped's model
shop.coords, shop.headingA spot in Los SantosWhere he stands, and which way he faces. Stand where he should be and copy your own position and heading
shop.scenario'WORLD_HUMAN_SMOKING'What he does while he waits. false to have him just stand
shop.payWith{ 'cash', 'dirty' }How players can pay, see Paying
shop.maxCount10How many of one item go in one purchase
shop.itemsSeven itemsWhat 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.

Was this page helpful?

Still stuck? Open a ticket on Discord.Privacy