Setting up store
1
2
Create store
If you don't have the Ten Cent, Cinema Doppler or Drive-In maps, you will need to configure the entire script manually. However, if you do have these maps, there's no need to worry, as both are already pre-configured. You can still edit them if needed. Follow the examples below to create a new cinema.
config.shops = {
enabled = true,
cinema = {
['newcinema_food'] = {
title = 'New Cinema',
items = {
{
item = 'popcorn',
label = 'Popcorn',
image = '../images/popcorn.png',
price = 5
},
{
item = 'cola',
label = 'Cola',
image = '../images/cola.png',
price = 10
}
}
}
},
locations = {
{ coords = vector3(0.0, 0.0, 0.0), distance = 2.0, config = 'newcinema_food' }
}
}Last updated