{"id":134731,"date":"2024-05-03T08:15:46","date_gmt":"2024-05-03T06:15:46","guid":{"rendered":"https:\/\/hifivem.com\/?post_type=product&#038;p=134731"},"modified":"2026-06-22T17:49:03","modified_gmt":"2026-06-22T15:49:03","slug":"yespixel-4-0-magasin-de-vehicules","status":"publish","type":"product","link":"https:\/\/fivemx.com\/fr\/yespixel-4-0-vehicle-shop\/","title":{"rendered":"Boutique de v\u00e9hicules YesPixel 4.0"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.youtube.com\/watch?v=1YqdkoNoDPo\n<\/div><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Config file<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Config = {\n    ServerCallbacks = {}, -- Don't edit or change\n    AutoDatabaseCreator = false, -- If you are starting the script for the first time, make this true and restart the script, after restarting, make this false otherwise you will get an error.\n    CommandPermission = 'god', -- Permission level for add stock (god for QB, admin for ESX)\n    TestDriveTime = 30000, -- Seconds 600000\n    TeleportBackWhenTestFinishes = true, -- If false destroys the test vehicle's engine and sets it unusable again\n    SalesShare = 10, -- The player making the sale receives a share of the entered amount from the sale.\n    VehicleShops = {\n        {\n            Management = {\n                Enable = false,\n                Job = \"cardealer\"\n            },\n            EnableStocks = false,\n            AllowedCategories = {\"sedans\", \"sportsclassics\", \"offroad\", \"cycles\", \"motorcycles\", \"vans\", \"super\", \"sports\", \"coupes\", \"compacts\", \"suvs\", \"muscle\"},\n            Coords = {\n                ShowroomVehicles = vector4(-47.68, -1094.61, 26.42, 133.71),\n                BoughtVehicles = vector4(-32.21, -1091.13, 26.18, 336.48),\n                TestVehicles = vector4(-32.21, -1091.13, 26.18, 336.48),\n                SellingPoint = vector3(-30.82, -1106.09, 26.42)\n            },\n            Ped = {\n                Enable = true,\n                Coords = vector4(-57.13, -1099.05, 26.42, 22.75),\n                Model = \"a_m_y_hasjew_01\",\n                animDict = \"amb@world_human_hang_out_street@female_arms_crossed@idle_a\",\n                animName = \"idle_a\"\n            },\n            ShowroomVehicles = {\n                {coords = vector4(-50.67, -1116.44, 25.97, 2.26)},\n                {coords = vector4(-53.56, -1116.84, 25.79, 3.36)},\n                {coords = vector4(-56.3, -1116.97, 25.66, 1.13)},\n                {coords = vector4(-59.18, -1116.89, 26.17, 1.44)},\n                {coords = vector4(-61.83, -1117.06, 25.84, 2.23)}\n            },\n            Blip = { -- https:\/\/docs.fivem.net\/docs\/game-references\/blips\/\n                Enable = true,\n                coords = vector3(-57.13, -1099.05, 26.42),\n                sprite = 820,\n                color = 0,\n                scale = 0.5,\n                text = \"Dealership\"\n            },\n            Interaction = {\n                Target = {\n                    Enable = true,\n                    Distance = 2.0,\n                    Label = \"Open Showroom\",\n                    Icon = \"fa-solid fa-car\",\n                    Label2 = \"Open Management\",\n                    Icon2 = \"fa-solid fa-car\"\n                },\n                Text = {\n                    Enable = false,\n                    Distance = 3.0,\n                    Label = \"[E] Open Showroom | [G] Open Management\"\n                },\n                DrawText = {\n                    Enable = false,\n                    Distance = 3.0,\n                    Show = function()\n                        exports[\"qb-core\"]:DrawText(\"Contact\", \"left\")\n                    end,\n                    Hide = function()\n                        exports[\"qb-core\"]:HideText()\n                    end\n                }\n            }\n        }\n    }\n}\n\n-- Fuel Function\nfunction Config.SetFuel(vehicle, fuel)\n    exports[\"LegacyFuel\"]:SetFuel(vehicle, fuel)\nend\n\n-- Key Function\nfunction Config.GiveKey(plate)\n    TriggerEvent('vehiclekeys:client:SetOwner', plate)\nend\n\n-- HUD Function\nfunction Config.HUD(state)\n    TriggerEvent('esx:toggleHUD', state)\nend\n\n-- Management Function\nfunction Config.AddManagementMoney(job, amount)\n    exports['qb-management']:AddMoney(job, amount)\nend<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Cores<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Cores = {\n    {\n        Name = \"ESX\",\n        ResourceName = \"es_extended\",\n        GetFramework = function() return exports[\"es_extended\"]:getSharedObject() end\n    },\n    {\n        Name = \"QBCore\",\n        ResourceName = \"qb-core\",\n        GetFramework = function() return exports[\"qb-core\"]:GetCoreObject() end\n    },\n    {\n        Name = \"QBXCore\",\n        ResourceName = \"qbx_core\",\n        GetFramework = function() return exports[\"qbx_core\"]:GetCoreObject() end\n    }\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.youtube.com\/watch?v=1YqdkoNoDPo Config file Config = { ServerCallbacks = {}, &#8212; Don&#8217;t edit or change AutoDatabaseCreator = false, &#8212; If you are starting the script for the first time, make this true and restart the script, after<\/p>","protected":false},"featured_media":206733,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2899],"product_cat":[2955],"product_tag":[2642],"class_list":["post-134731","product","type-product","status-publish","has-post-thumbnail","product_brand-yespixel","product_cat-scripts","product_tag-yespixel","first","instock","downloadable","virtual","taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product\/134731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/comments?post=134731"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media\/206733"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/media?parent=134731"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_brand?post=134731"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_cat?post=134731"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/fivemx.com\/fr\/wp-json\/wp\/v2\/product_tag?post=134731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}