forked from MrEvilGamer/qb-casinowheel
/
config.lua
70 lines (67 loc) · 2.83 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Config = {}
Config.CarHash = 'adder' -- Spawn Code of the car // rng number for this is 19
Config.RotationSpeed = 0.5 -- How fast the car spins
Config.RotationInterval = 60 -- In miliseconds, how often rotation speed will be added
Config.Garage = 'pillboxgarage' -- garage to store won vehicle
Config.Wheel = vector3(949.70, 45.09, 70.92)-- This you have to changevector3(978.32, 50.83, 74.68)
Config.CarCoords = vector3(935.05, 42.56, 72.53)--vector3(963.49, 48.22, 75.14) -- Car Coords
Config.WalkPos = vector3(948.15, 44.94, 71.64) -- Where your character walks from
Config.WheelPos = vector3(949.71, 45.08, 70.92) -- Wheel pos
Config.BaseWheelPos = vector3(0.17, 0.35, 0.68) -- Base wheel Pos
Config.Cost = 25000 -- Amount
Config.CostType = 'casinochips'
Config.Rewards = {
items = {
{name = 'weapon_snspistol', numbers = {17}, amount = {1}, label = 'SNS Pistol'},
{name = 'markedbills', numbers = {4,8,11,16}, amount = {10000, 15000, 20000, 25000}, label = 'Marked Money'},
{name = 'armor', numbers = {2}, amount = {5}, label = 'Armor'},
{name = 'water_bottle', numbers = {5}, amount = {30}, label = 'Waters'},
{name = 'repairkit', numbers = {18}, amount = {5}, label = 'Repair Kits'},
{name = 'lockpick', numbers = {10}, amount = {15}, label = 'Lock Picks'},
{name = 'thermite', numbers = {14}, amount = {1}, label = 'Thermite'},
},
money = {
{name = 'cash', numbers = {6}, amount = {300000}, label = 'Cash'},
{name = 'cash', numbers = {3,7,15,18}, amount = {10000,20000,30000,40000}, label = 'Cash'},
{name = 'casinochips', numbers = {1,9,13}, amount = {10000,20000, 40000}, label = 'Casino Chips'},
{name = 'casinochips', numbers = {12}, amount = {200000}, label = 'Casino Chips'}
}
}
Config.Chances = {-- be sure to remove 20 from the numbers in this list if you arent using cryptos <--ignore him hes crazy
[1] = {
max = 600,
min = 1,
numbers = {1,17,4,8,6,18,14,20}
},
[2] = {
max = 950,
min = 601,
numbers = {2,3,10,17,4,8,20}
},
[3] = {
max = 975,
min = 951,
numbers = {7,9,15,17,20}
},
[4] = {
max = 995,
min = 976,
numbers = {11,17,13,16,1,20}
},
[5] = {
max = 999,
min = 996,
numbers = {12,5}
},
[6] = {
max = 1000,
min = 1000,
numbers = {19}
},
}
Config.Cryptos = { -- only if using k-crypto or if you have a way to add in your own crypto system // rng number is 20
{name = 'btc', min = 1, max = 1, label = 'Bitcoin'},
{name = 'eth', min = 1, max = 25, label = 'Ethereum'},
{name = 'bch', min = 1, max = 100, label = 'Bitcoin Cash'},
{name = 'ltc', min = 1, max = 100, label = 'Litecoin'}
}