Markets System

Please note that the Market app is not made to be edited and deleted randomly. If you add a store, don't delete it randomly.

The Markets system in Quasar Smartphone PRO works in an improved way compared to the simple Smartphone version. Here workers will have a duty system, chat, calls and more.

This app was made with the intention that players contact their favorite stores, place orders or call them. They can also place a coordinate to show where the branch of said store is.

After deleting a store, errors occur or the app breaks

As mentioned above, this app is fragile and is not made for you to delete previously created stores. If you are going to do said thing, run the command that you will see in this documentation.

How do I enter service within the app?

This step is very simple, in the footer application you will have access to your personal profile, there you can choose whether or not to be in service.


Reset Markets or general debug

In the event that you edit a store, its ID will still remain on people's phones. This is why we recommend not deleting Markets randomly. In case you do such a thing, you will need to run the /deletemarket id command on the id you have deleted.


Basic Markets Configuration

Remember that once this is modified, if you edit any Market ID you must delete it using the command that you will see in the previous step.

In config.lua we will find the Markets configuration, in which we will add a store, description, image and even a coordinate of its branch.

Config.Markets = {
    {
        id = 1, -- Market id (unique)
        name = 'Los Santos Police Department',
        image = 'https://static.wikia.nocookie.net/gtawiki/images/d/dc/MissionRowPoliceStation-GTAV.png',
        description = 'The city police, always willing to help you, let us know if you have any problems in Los Santos.',
        job = {
            'police',
            'sheriff',
        },
        coords = vec3(452.12, -980.55, 30.69)
    },
    {
        id = 2, -- Market id (unique)
        name = 'Pillbox Medical Center',
        image = 'https://ultimate-mods.com/uploads/monthly_2021_03/FPe7Cra.png.3cc6fa9b2a3ac79ecffbcc4605c31935.png',
        description = 'If you need a doctor, contact the Los Santos Emergency Center!',
        job = {
            'ambulance',
        },
        coords = vec3(335.12, -584.55, 43.69)
    },
    {
        id = 3, -- Market id (unique)
        name = 'Bean Machine',
        image = 'https://cdnb.artstation.com/p/assets/images/images/062/724/785/large/synced3d-unbenannt.jpg',
        description = 'The best coffee shop in the city now with home delivery, order your coffee, cappuccino, with milk, or whatever you want, call us now!',
        job = {
            'beanmachine',
            'deliver',
        },
        coords = vec3(280.799988, -963.982422, 29.414673)
    },
    {
        id = 4, -- Market id (unique)
        name = 'Jamaican Roast',
        image = 'https://pbs.twimg.com/media/D3KNTUcW4AAQwRQ.jpg',
        description = 'Home delivery, in-store sales, try the best cappuccino in all of Los Santos, Toasts, Meals, Grill, come or order your order!',
        job = {
            'jamaican',
            'deliver',
        },
        coords = vec3(273.468140, -832.971436, 29.397827)
    },
    {
        id = 5, -- Market id (unique)
        name = 'Pizza This',
        image = 'https://img.gta5-mods.com/q95/images/foodworks-food-delivery-pack/20d2bc-7.jpg',
        description = 'The best pizzeria in Los Santos, since 1988 we have brought the best Italian pizza to your palate, choose your flavor and contact us!',
        job = {
            'pizzajob',
            'deliver',
        },
        coords = vec3(287.736267, -963.969238, 29.414673)
    },
    {
        id = 6, -- Market id (unique)
        name = 'Bennys Original Motor Works',
        image = 'https://static.wikia.nocookie.net/esgta/images/6/64/GTAOnlineLowrider5.jpg',
        description = 'The best mechanic company in the city allows you to request home orders or direct contact through Marketplace, get in touch if you need a repair, we are here!',
        job = {
            'mechanic',
        },
        coords = vec3(-206.004395, -1310.281372, 31.285034)
    },
    {
        id = 7, -- Market id (unique)
        name = 'Premium Deluxe Motorsport',
        image = 'https://i.ytimg.com/vi/M6ZNvc7dpR4/maxresdefault.jpg',
        description = 'Order your new car, ask for prices and even vehicle delivery, what are you waiting for to receive your new sports car?',
        job = {
            'dealership',
        },
        coords = vec3(-45.362637, -1107.309937, 26.432251)
    },
    {
        id = 7, -- Market id (unique)
        name = 'Vanilla Unicorn',
        image = 'https://static.wikia.nocookie.net/esgta/images/a/ae/VanillaUnicornfrente.png',
        description = 'Come have a beer, a drink or even enjoy the best women/men in the entire city, place your alcohol order or reserve your favorite woman/man!',
        job = {
            'unicornjob',
        },
        coords = vec3(128.795609, -1297.265869, 29.145020)
    },
    -- You can add or edit the jobs you want
}

Last updated