Setting up store
2
Create control
How to Configure the Store System
enabled = trueconfig = {
['reception'] = {
description = 'Here you can buy tickets and equipment to have fun on our skating rink.'
},
['skates'] = {
description = 'Here you can buy tickets and equipment to have fun on our skating rink.'
}
}items = {
['reception'] = {
{ item = 'ticket_iceorink', label = 'Ticket', image = '../images/ticket_iceorink.png', price = 500 }
},
['skates'] = {
{ item = 'iceskates_white', label = 'Ice Skates (White)', image = '../images/iceskates_white.png', price = 500 },
-- other skates...
}
}locations = {
{ coords = vector3(-143.45, -246.28, 44.09), distance = 2.0, config = 'reception' },
{ coords = vector3(-159.68, -237.22, 44.09), distance = 2.0, config = 'skates' },
-- more entries...
}Last updated