Domas Scripts
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Config
Copy Markdown
Open in ChatGPT
Open in Claude
Lua
x
Config = {}Config.Debug = falseConfig.VersionCheck = trueConfig.Framework = 'qb' -- qb/esxConfig.Enable_DropshipPlaces = true -- If false, places will not be created, and you'll be able to open the same menu with event: TriggerEvent("Domas_Dropship:OpenDropshipMenu")Config.DropshipPlaces = { [1] = { location = vector3(-1081.933, -245.8262, 37.69618), size = vec3(1.0, 1.0, 1.0), rotation = 0, label = 'Open Dropshipping Menu', debug = false, blip = { name = 'Dropshipping', sprite = 606, color = 2, size = 1.0 } },}Config.Enable_PostPlaces = true -- If false, places will not be created, and you'll be able to open the same menu with event: TriggerEvent("Domas_Dropship:OpenPostMenu")Config.PostPlaces = { [1] = { location = vector3(-324.8389, -2772.771, 5.283512), size = vec3(1.0, 1.0, 1.0), rotation = 0, label = 'Open Post Menu', debug = false, blip = { name = 'Post Office', sprite = 475, color = 5, size = 1.0 } },}Config.RepToNoSteal = 50 -- if reputation is over 50, player will not be able to deal with robbersConfig.Items = { [1] = { item = 'ds_item1', label = 'Gappe Air Pods', icon = 'https://raw.githubusercontent.com/JusTheDomas/versionchecks/refs/heads/main/dropship/imgs/ds_item1.png', Buy = { buyPrice = math.random(100, 500), -- Price that will player will pay buyMinCount = 35, -- Minimum order amount buyMaxCount = 99, -- Maximum order amount shippingPrice = math.random(200, 400), -- Shipping item (each) baseShippingTime = 15000, -- Base shipping time for whole order }, Sell = { sellMaxPrice = 1000, -- max price this item can be listed at maxSellatOnce = 10, -- max qty. to sell at once basePrice = 500, -- base price, where additional wait time won't be added ChanceToRob = 1, -- 1% to customer steal your item ChanceToDeny = 5, -- 5% to customer not wanting the deal }, Wait = { baseWaiting = math.random(60000, 120000), -- Base waiting time to find the customer AdditionalPrice = { [10] = 10000, -- If player list this item for 10% more than Sell.basePrice, 10 seconds will be added to wait time [20] = 20000, -- If player list this item for 20% more than Sell.basePrice, 20 seconds will be added to wait time [30] = 30000, -- If player list this item for 30% more than Sell.basePrice, 30 seconds will be added to wait time [40] = 40000, -- If player list this item for 40% more than Sell.basePrice, 40 seconds will be added to wait time [50] = 50000, -- If player list this item for 50% more than Sell.basePrice, 50 seconds will be added to wait time [60] = 60000, -- If player list this item for 60% more than Sell.basePrice, 60 seconds will be added to wait time [70] = 70000, -- If player list this item for 70% more than Sell.basePrice, 70 seconds will be added to wait time }, LessPrice = { [10] = 10000, -- If player list this item for 10% less than Sell.basePrice is, time will be cut from baseWaiting [20] = 20000, -- If player list this item for 20% less than Sell.basePrice is, time will be cut from baseWaiting [30] = 30000, -- If player list this item for 30% less than Sell.basePrice is, time will be cut from baseWaiting } }, }, [2] = { item = 'ds_item2', label = 'Gappe Air Pods Pro Ultra Max', icon = 'https://raw.githubusercontent.com/JusTheDomas/versionchecks/refs/heads/main/dropship/imgs/ds_item2.png', Buy = { buyPrice = math.random(100, 500), buyMinCount = 1, buyMaxCount = 20, shippingPrice = math.random(200, 400), baseShippingTime = 120000, }, Sell = { sellMaxPrice = 1000, maxSellatOnce = 10, basePrice = 500, ChanceToRob = 1, ChanceToDeny = 5, }, Wait = { baseWaiting = math.random(60000, 120000), AdditionalPrice = { [10] = 10000, [20] = 20000, [30] = 30000, [40] = 40000, [50] = 50000, [60] = 60000, [70] = 70000, }, LessPrice = { [10] = 10000, [20] = 20000, [30] = 30000, } }, }, [3] = { item = 'ds_item3', label = 'Guggi Bag', icon = 'https://raw.githubusercontent.com/JusTheDomas/versionchecks/refs/heads/main/dropship/imgs/ds_item3.png', Buy = { buyPrice = math.random(100, 500), buyMinCount = 2, buyMaxCount = 5, shippingPrice = math.random(200, 400), baseShippingTime = 120000, }, Sell = { sellMaxPrice = 1000, maxSellatOnce = 10, basePrice = 500, ChanceToRob = 1, ChanceToDeny = 5, }, Wait = { baseWaiting = math.random(60000, 120000), AdditionalPrice = { [10] = 10000, [20] = 20000, [30] = 30000, [40] = 40000, [50] = 50000, [60] = 60000, [70] = 70000, }, LessPrice = { [10] = 10000, [20] = 20000, [30] = 30000, } }, }, [4] = { item = 'ds_item4', label = 'Versage Eras Perfume', icon = 'https://raw.githubusercontent.com/JusTheDomas/versionchecks/refs/heads/main/dropship/imgs/ds_item4.png', Buy = { buyPrice = math.random(100, 500), buyMinCount = 5, buyMaxCount = 30, shippingPrice = math.random(200, 400), baseShippingTime = 120000, }, Sell = { sellMaxPrice = 1000, maxSellatOnce = 10, basePrice = 500, ChanceToRob = 1, ChanceToDeny = 5, }, Wait = { baseWaiting = math.random(60000, 120000), AdditionalPrice = { [10] = 10000, [20] = 20000, [30] = 30000, [40] = 40000, [50] = 50000, [60] = 60000, [70] = 70000, }, LessPrice = { [10] = 10000, [20] = 20000, [30] = 30000, } }, }, [5] = { item = 'ds_item5', label = 'Crood Aventador Perfume', icon = 'https://raw.githubusercontent.com/JusTheDomas/versionchecks/refs/heads/main/dropship/imgs/ds_item5.png', Buy = { buyPrice = math.random(100, 500), buyMinCount = 10, buyMaxCount = 60, shippingPrice = math.random(200, 400), baseShippingTime = 120000, }, Sell = { sellMaxPrice = 1000, maxSellatOnce = 10, basePrice = 500, ChanceToRob = 1, ChanceToDeny = 5, }, Wait = { baseWaiting = math.random(60000, 120000), AdditionalPrice = { [10] = 10000, [20] = 20000, [30] = 30000, [40] = 40000, [50] = 50000, [60] = 60000, [70] = 70000, }, LessPrice = { [10] = 10000, [20] = 20000, [30] = 30000, } }, },}Config.PedRobbingWeapon = GetHashKey('weapon_pistol')Config.PedRobbingAmmo = 5Config.PedRobbingTime = 30000Config.Customers = { -- vector4(-1082.766, -257.282, 36.76326, 24.4802) vector4(19.25786, -1342.264, 28.28522, 91.65504), vector4(227.792, -1510.761, 28.29165, 226.4698), vector4(52.37079, -1737.246, 28.41178, 51.33126), vector4(-279.5486, -1914.238, 28.94602, 339.0947), vector4(-186.2318, -1533.578, 32.73345, 50.59604), vector4(-599.887, -1113.589, 21.32424, 260.546), vector4(-1306.044, -929.6, 11.35528, 19.71694), vector4(-1775.052, -421.0598, 44.12829, 204.5657), vector4(-1461.486, 63.85092, 51.79062, 195.3846), vector4(-1079.201, 461.6947, 76.54092, 147.2774), vector4(-1415.823, 465.7896, 108.4043, 14.30817), vector4(-1380.738, 738.1012, 182.128, 20.72841), vector4(1769.07, 3735.778, 32.99087, 108.5602), vector4(1598.312, 3598.652, 34.4096, 316.8442), vector4(1877.682, 3921.222, 32.13187, 120.5115), vector4(1706.812, 4792.864, 40.98317, 16.97262), vector4(1655.849, 4883.473, 40.9649, 301.6445), vector4(3.444634, 6567.002, 31.78941, 145.5188), vector4(-14.83537, 6557.548, 32.24038, 319.4135), vector4(-393.7754, 6048.27, 30.49897, 140.8324), vector4(138.3765, -169.0769, 53.55779, 168.2965), vector4(458.9958, -739.918, 26.35777, 114.7635), vector4(508.8245, -1494.73, 28.28791, 144.741), vector4(138.4747, -1895.385, 22.45108, 329.4962), vector4(-46.10036, -1800.34, 26.01731, 104.54),}Config.NPCS = { 'a_f_y_clubcust_03', 'a_f_y_femaleagent', 'a_f_y_tennis_01', 'a_m_o_salton_01', 'a_m_o_soucent_03', 'a_f_m_beach_01', 'a_f_m_bevhills_01', 'a_f_m_downtown_01', 'a_f_m_skidrow_01', 'a_f_m_tourist_01', 'a_f_m_business_02', 'a_f_m_soucent_01', 'a_f_o_indian_01', 'a_f_y_beach_01', 'a_f_y_bevhills_01', 'a_f_y_downtown_01', 'a_f_y_genhot_01', 'a_f_y_indian_01', 'a_f_y_soucent_01', 'a_f_y_tourist_02', 'a_m_m_afriamer_01', 'a_m_m_beach_02', 'a_m_m_business_01', 'a_m_m_genfat_01', 'a_m_m_eastsa_01', 'a_m_m_soucent_01', 'a_m_m_bevhills_02', 'a_m_y_business_02', 'a_m_y_cyclist_01', 'a_m_y_genstreet_01', 'a_m_y_hiker_01', 'a_m_y_indian_01', 'a_m_y_soucent_01', 'a_m_y_stwhi_01', 'a_m_y_tennis_01', 'csb_groom', 'csb_anita', 'csb_tonya', 'ig_mrs_thornhill', 'mp_m_boatstaff_01', 'mp_m_claude_01', 'mp_m_exarmy_01', 'mp_m_waremech_01', 'mp_m_execpa_01', 'mp_f_freemode_01', 'mp_m_freemode_01', 'mp_f_boatstaff_01', 's_f_y_ranger_01', 's_m_y_clown_01'}Config.NPCBlips = { -- When oder is at the last stage, npc's blip will be shown sprite = 480, color = 46, size = 1.0, shortRange = false, name = 'Customer'}Config.GoodDealText = { "Much appreciated!", "You're the best!", "Pleasure doing business!", "Stay safe out there!", "See you next time!", "Good luck!", "You're a lifesaver!", "Until next time!", "Enjoy your day!", "Take care!", "Hope to see you again!", "All the best!", "Thanks a lot!", "You're awesome!", "Safe travels!", "Keep it up!", "You're too kind!", "Have a great one!", "Best wishes!", "Great doing business!"}Config.EnableHandshake = true -- handshake after deal is successfulConfig.Enable3dText = true -- 3d text after deal is successfulConfig.Negotiate = { enabled = false, maxPercent = 50, counterAccept = 70, -- 70% that npc will accept your counter negotiatePercent = 100, -- 15% of the npcs will try to negotiate}Config.MoreRobbingAtNight = trueConfig.RobAtNightModifier = 1Config.NightTimeHourStart = 20Config.NightTimeHourEnd = 6-- So the night time begins at 20 (8PM), and ends at 6 (6AM) at the morningConfig.LBPhone = { enabled = true, useMail = true, useMessages = false,}-- Edit the ban function at server/editable.luaConfig.Anticheat = { enabled = true, antiMaxQNT = true, -- Bans player if the events recieve +1 than max quantity (from all items) anti_sellMaxPrice = true, -- Checks maxprice to each item before giving player the money anti_NotNearNPCS = true, -- Checks if player is near npc when selling items anti_NotNearNPCS_radius = 10.0,}Config.Webhooks = { salesWebhook = 'https://discord.com/api/webhooks/...', ordersWebhook = 'https://discord.com/api/webhooks/...', deliveriesWebhook = 'https://discord.com/api/webhooks/...', anticheat = 'https://discord.com/api/webhooks/...',}Config.Text = { ['post_office'] = 'Post Office', ['no_orders_collect'] = 'You have no delivered orders to collect', ['no_items_available'] = 'No Items Available', ['no_items_to_sell'] = 'You do not have any items to sell.', ['invalid_input'] = 'Invalid Input', ['ensure_are_valid'] = 'Ensure the price and quantity are valid', ['action_canceled'] = 'Action Canceled', ['not_complete_form'] = 'You did not complete the form', ['no_listings'] = 'No Listings', ['no_active_listings'] = 'You have no active listings', ['listing_removed'] = 'Listing Removed', ['remove_failed'] = 'Remove Failed', ['purchase_cancelled'] = 'Purchase Cancelled', ['invalid_quantity'] = 'Invalid quantity entered.', ['sale_complete'] = 'Sale Complete', ['sale_failed'] = 'Sale Failed', ['customer_arrived'] = 'Customer Arrived', ['customer_arrived_d'] = 'A customer has arrived. Go to the waypoint to complete the sale', ['order_placed'] = 'Order Placed', ['be_delivered_soon'] = 'You ordered %d x %s. Your items will be delivered soon!', ['insufficient_funds'] = 'Insufficient Funds', ['have_enough_money'] = 'You do not have enough money to place this order.', ['error'] = 'Error', ['order_no_longer_exists'] = 'This order no longer exists', ['order_collected'] = 'Order Collected', ['you_collected'] = 'You collected %d x %s.', ['full_inv'] = 'You don\'t have enough space to collect this order', ['item_listed'] = 'Item Listed', ['listed_for_sale'] = 'Listed for sale.', ['have_not_enough_items'] = 'You don`t have enough items to sell!', ['not_found_configuration'] = 'Item not found in the configuration!', ['customer_no_want_the_deal'] = 'The customer doesn`t want the deal.', ['cant_remove_item_from_inventory'] = 'Failed to remove item from your inventory', ['entered_negotiation'] = 'You entered negotiation!', ['stole_your_items'] = 'The customer stole your items', ['successfully_sold'] = 'You have successfully sold your items!', -- Menus ['goback'] = 'Go Back', ['Buy Items'] = 'Buy Items', ['Purchase items for dropshipping'] = 'Purchase items for dropshipping.', ['Sell Items'] = 'Sell Items', ['Sell your dropshipping items'] = 'Sell your dropshipping items.', ['My Store'] = 'My Store', ['Check your store stats'] = 'Check your store`s stats', ['Dropshipping Menu'] = 'Dropshipping Menu', ['Robberies'] = 'Robberies', ['Number of times your store was robbed'] = 'Number of times your store was robbed.', ['Sales'] = 'Sales', ['Total sales made in your store'] = 'Total sales made in your store.', ['Buys'] = 'Buys', ['Total purchases made by your store'] = 'Total purchases made by your store', ['Shipments'] = 'Shipments', ['Total number of shipments processed'] = 'Total number of shipments processed.', ['Your Dropship Store Stats'] = 'Your Dropship Store Stats', ['Price_min_max'] = 'Price: %d | Min: %d | Max: %d', ['item_details'] = 'Item Details', ['item'] = 'Item', ['price'] = 'Price', ['min_quantity'] = 'Min Quantity', ['max_quantity'] = 'Max Quantity', ['shipping_price'] = 'Shipping Price (each)', ['shipping_time'] = 'Shipping Time', ['purchase_item'] = 'Purchase Item', ['currency'] = '$', ['order_quantity'] = 'Order Quantity', ['enter_quantity'] = 'Enter Quantity', ['purchase_cancelled_'] = 'Purchase Cancelled', ['invalid_quantity_'] = 'Invalid Quantity', ['post_menu'] = 'Post Menu', ['order_description'] = 'Click to collect this order.', ['sell_items'] = 'Sell Items', ['place_for_sale'] = 'Place Item for Sale', ['list_item_for_sale'] = 'List an item for sale.', ['view_listings'] = 'View My Listings', ['view_listings_description'] = 'See your current items for sale.', ['enter_price'] = 'Enter Price', ['enter_price_description'] = 'Enter the price for the whole order.', ['enter_quantity_description'] = 'Enter the quantity to sell.', ['my_listings'] = 'My Listings', ['remove_listing'] = 'Click to remove this listing.', ['seconds'] = 'Seconds',}Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Exports & Other Info!Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message