@@ -31,9 +31,9 @@ The individual zones can be created and edited here. We will now take a closer l
31
31
},
32
32
thickness = 27 ,
33
33
drugs = {
34
- { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash' },
35
- { item = ' joint' , price = math.random (50 , 100 ) = moneyType = ' bank' },
36
- { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), = ' black_money' }
34
+ [ ' cocaine' ] = { price = math.random (100 , 200 ), moneyType = ' cash' },
35
+ [ ' joint' ] = { price = math.random (50 , 100 ), moneyType = ' bank' },
36
+ [ ' weed_lemonhaze' ] = { price = math.random (50 , 100 ), moneyType = ' black_money' }
37
37
}
38
38
},
39
39
```
@@ -77,9 +77,9 @@ As soon as a player enters this zone he has the possibility to sell items to the
77
77
78
78
``` lua
79
79
drugs = {
80
- { item = ' cocaine' , price = math.random (100 , 200 ), moneyType = ' cash' },
81
- { item = ' joint' , price = math.random (50 , 100 ) = moneyType = ' bank' },
82
- { item = ' weed_lemonhaze' , price = math.random (50 , 100 ), = ' black_money' }
80
+ [ ' cocaine' ] = { price = math.random (100 , 200 ), moneyType = ' cash' },
81
+ [ ' joint' ] = { price = math.random (50 , 100 ), moneyType = ' bank' },
82
+ [ ' weed_lemonhaze' ] = { price = math.random (50 , 100 ), moneyType = ' black_money' }
83
83
}
84
84
```
85
85
@@ -88,7 +88,7 @@ Theoretically, an infinite number of items can be added. For many items it is re
88
88
89
89
** Schemata for new items:**
90
90
``` lua copy
91
- { item = ' item_name' , price = math.random (min_price , max_price ), moneyType = ' cash/bank/black_money' },
91
+ [ ' item_name' ] = { price = math.random (min_price , max_price ), moneyType = ' cash/bank/black_money' },
92
92
```
93
93
94
94
<AccordionGroup >
@@ -99,22 +99,27 @@ Theoretically, an infinite number of items can be added. For many items it is re
99
99
100
100
** Please keep in mind ` black_money ` is no default account on qb-core!**
101
101
102
- ``` lua
103
- [' cash' ] = {
104
- [' qbcore' ] = ' cash' ,
105
- [' esx' ] = ' money' ,
106
- [' ND_Core' ] = ' cash'
107
- },
108
- [' bank' ] = {
109
- [' qbcore' ] = ' bank' ,
110
- [' esx' ] = ' bank' ,
111
- [' ND_Core' ] = ' bank'
112
- },
113
- [' black_money' ] = {
114
- [' qbcore' ] = ' black_money' ,
115
- [' esx' ] = ' black_money' ,
116
- [' ND_Core' ] = nil -- Will be added soon
102
+ ``` lua
103
+ MoneyTypes = {
104
+ [' cash' ] = {
105
+ [Framework .ESX ] = ' money' ,
106
+ [Framework .QBCore ] = ' cash' ,
107
+ [Framework .QBOX ] = ' cash' ,
108
+ [Framework .NDCore ] = ' cash'
109
+ },
110
+ [' bank' ] = {
111
+ [Framework .ESX ] = ' bank' ,
112
+ [Framework .QBCore ] = ' bank' ,
113
+ [Framework .QBOX ] = ' bank' ,
114
+ [Framework .NDCore ] = ' bank'
115
+ },
116
+ [' black_money' ] = {
117
+ [Framework .ESX ] = ' black_money' ,
118
+ [Framework .QBCore ] = ' crypto' ,
119
+ [Framework .QBOX ] = ' crypto' ,
120
+ [Framework .NDCore ] = nil
121
+ }
117
122
}
118
- ```
123
+ ```
119
124
</Accordion >
120
125
</AccordionGroup >
0 commit comments