Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.50 KB | None | 0 0
  1. ---------------------------------------------------------------------------------
  2. -- Developed by Mikael for Xanath Roleplay from 21-8-2016 to **-**-****        --
  3. -- Mikael ( Mikael ******** ) [ goo.gl/W5SrkB ] ( ID64: 76561198020603627 )    --
  4. --                                                                             --
  5. -- "Shop Npc"                                                                  --
  6. -- Features armor and health selling, features a new plus for your roleplay    --
  7. -- Easy config which everyone can handle.                                      --
  8. -- Brings life to your roleplay experience.                                    --
  9. --                                                                             --
  10. -- If you wish to contact me:                                                  --
  11. -- Mikael: mikaelgame@hotmailcom                                               --
  12. ---------------------------------------------------------------------------------
  13. --------------BEFORE YOU START BE SURE TO READ THE README.TXT--------------------
  14. ---------------------------------------------------------------------------------
  15. addItems["PrinterDealer_1"] = {
  16.     [1] = {
  17.         Name = "Economic Printer",
  18.         Color = Color( 50, 50, 180 ),
  19.         Model = "lithium_economic_printer",
  20.         Description = "This is the cheapest printer!",
  21.         Price = 1250,
  22.         Outline = true,
  23.     },
  24.     [2] = {
  25.         Name = "Bronze Printer",
  26.         Color = Color( 50, 50, 180 ),
  27.         Model = "lithium_bronze_printer",
  28.         Description = "This is a Bronze Printer!",
  29.         Price = 2000,
  30.         Outline = true,
  31.     },
  32.     [3] = {
  33.         Name = "Silver Printer",
  34.         Color = Color( 50, 50, 180 ),
  35.         Model = "lithium_silver_printer",
  36.         Description = "This is a Silver Printer!",
  37.         Price = 3000,
  38.         Outline = true,
  39.     },
  40.     [4] = {
  41.         Name = "Obsidian Printer",
  42.         Color = Color( 50, 50, 180 ),
  43.         Model = "lithium_obsidian_printer",
  44.         Description = "This is the second highest paying Printer!",
  45.         Price = 5000,
  46.         Outline = true,
  47.     },
  48.     [5] = {
  49.         Name = "Hellfire Printer",
  50.         Color = Color( 50, 50, 180 ),
  51.         Model = "lithium_donator_printer",
  52.         Description = "This is the highest possible paying Printer!",
  53.         Price = 10000,
  54.         Outline = true,
  55.     },
  56. }
  57.     addItems["PrinterMiscDealer_1"] = {
  58.     [1] = {
  59.         Name = "Converter",
  60.         Color = Color( 50, 50, 180 ),
  61.         Model = "lithium_converter",
  62.         Description = "Converts XP into Production!",
  63.         Price = 1250,
  64.         Outline = true,
  65.     },
  66.     [2] = {
  67.         Name = "Fuse",
  68.         Color = Color( 50, 50, 180 ),
  69.         Model = "lithium_fuse",
  70.         Description = "Prevents Malfunction!",
  71.         Price = 2000,
  72.         Outline = true,
  73.     },
  74.     [3] = {
  75.         Name = "Large Cooler",
  76.         Color = Color( 50, 50, 180 ),
  77.         Model = "lithium_cooler_large",
  78.         Description = "This is the maximum Printer Cooler!",
  79.         Price = 3000,
  80.         Outline = true,
  81.     },
  82.     [4] = {
  83.         Name = "Max Overclock",
  84.         Color = Color( 50, 50, 180 ),
  85.         Model = "lithium_overclocker_large",
  86.         Description = "This is the maximum you can overclock!!",
  87.         Price = 3000,
  88.         Outline = true,
  89.     },
  90.     [5] = {
  91.         Name = "Large Power Supply Unit",
  92.         Color = Color( 50, 50, 180 ),
  93.         Model = "lithium_power_large",
  94.         Description = "This is the highest possible output PSU!",
  95.         Price = 3000,
  96.         Outline = true,
  97.     },
  98.     [6] = {
  99.         Name = "Large Sound Dampener",
  100.         Color = Color( 50, 50, 180 ),
  101.         Model = "lithium_silencer_large",
  102.         Description = "Dampens sound, what do you think it did?",
  103.         Price = 4000,
  104.         Outline = true,
  105.     },
  106.     [7] = {
  107.         Name = "Large Storage",
  108.         Color = Color( 50, 50, 180 ),
  109.         Model = "lithium_storage_large",
  110.         Description = "Large Storage",
  111.         Price = 2000,
  112.         Outline = true,
  113.     },
  114.     [8] = {
  115.         Name = "Medium Overclocker",
  116.         Color = Color( 50, 50, 180 ),
  117.         Model = "lithium_overclocker_medium",
  118.         Description = "A little bit more power for ya!",
  119.         Price = 2000,
  120.         Outline = true,
  121.     },
  122.     [9] = {
  123.         Name = "Medium Power Supply",
  124.         Color = Color( 50, 50, 180 ),
  125.         Model = "lithium_power_medium",
  126.         Description = "Medium PSU",
  127.         Price = 1000,
  128.         Outline = true,
  129.     },
  130.     [10] = {
  131.         Name = "Medium Sound Silencer",
  132.         Color = Color( 50, 50, 180 ),
  133.         Model = "lithium_silencer_medium",
  134.         Description = "It reduces sound, I don't know what you need me here for.",
  135.         Price = 2000,
  136.         Outline = true,
  137.     },
  138.     [11] = {
  139.         Name = "Medium Storage",
  140.         Color = Color( 50, 50, 180 ),
  141.         Model = "lithium_storage_medium",
  142.         Description = "Medium Storage for big bucks",
  143.         Price = 1000,
  144.         Outline = true,
  145.     },
  146.     [12] = {
  147.         Name = "Printer Rack",
  148.         Color = Color( 50, 50, 180 ),
  149.         Model = "lithium_printer_rack",
  150.         Description = "You put your printers on this",
  151.         Price = 5000,
  152.         Outline = true,
  153.     },
  154.     [13] = {
  155.         Name = "Small Cooler",
  156.         Color = Color( 50, 50, 180 ),
  157.         Model = "lithium_cooler_small",
  158.         Description = "Small Cooler",
  159.         Price = 250,
  160.         Outline = true,
  161.     },
  162.     [14] = {
  163.         Name = "Small Overclocker",
  164.         Color = Color( 50, 50, 180 ),
  165.         Model = "lithium_overclocker_small",
  166.         Description = "Small Overlock",
  167.         Price = 750,
  168.         Outline = true,
  169.     },
  170.     [15] = {
  171.         Name = "Small Power Supply",
  172.         Color = Color( 50, 50, 180 ),
  173.         Model = "lithium_power_small",
  174.         Description = "Small PSU",
  175.         Price = 500,
  176.         Outline = true,
  177.     },
  178.     [16] = {
  179.         Name = "Medium Sound Silencer",
  180.         Color = Color( 50, 50, 180 ),
  181.         Model = "lithium_silencer_small",
  182.         Description = "Reduces Sound",
  183.         Price = 1000,
  184.         Outline = true,
  185.     },
  186.     [17] = {
  187.         Name = "Small Storage",
  188.         Color = Color( 50, 50, 180 ),
  189.         Model = "lithium_storage_small",
  190.         Description = "It's a start but it's not going to do.",
  191.         Price = 500,
  192.         Outline = true,
  193.     },
  194. }
  195. ---------------------------------------------------------------------------------
  196. ------------------------------Add Item Explained --------------------------------
  197. ---------------------------------------------------------------------------------
  198.  
  199. --[[
  200.    
  201.     MAIN GUIDE:
  202.    
  203.     Here is a short guide about how to make items and what dealer can see them etc.
  204.    
  205.     We start of by explaining about this first part, what do you place in here?
  206.     Well this determine which npc will sell these items you added to this row.
  207.    
  208.     Every npc have a Id when you create it, you use the id you set to place in here.
  209.     So fx my npc's Id is set to ArmorDealer_1, therefore i place ArmorDealer_1 in the top.
  210.     You are only allowed to use 1 id per row, if you use more, stuff can break.
  211.    
  212.     Here is a picture of my npc create, so it maybe makes more sense in what you need to use from it.
  213.     https://gyazo.com/16e850e11b262e9977abca168eb375aa
  214.    
  215.     addItems["ArmorDealer_1"] = {
  216.    
  217.     Now we have decided which npc will read our row, in this case the npc we created is set to sell armor.
  218.     You can read more about this in the main/addnpc/addnpc.lua, where it is all explained.
  219.    
  220.     Sinse our npc is set to sell Armor, then there is lot of irrelevant stuff in our row, which we don't need.
  221.     But this doesn't mean you are forced to remove the irrevant stuff from your table, in this case as we sell armor,
  222.     then its "Health", "Item", but mainly you can just leave them in the row, the code will ignore them if they are not used.
  223.    
  224.     But if you want the row to look more organized you can freely remove them from the row, so it will look like this:
  225.    
  226.     addItems["ArmorDealer_1"] = {
  227.     [1] = {
  228.         Name = "Armor Pack",
  229.         Color = Color( 50, 50, 180 ),
  230.         Model = "models/weapons/w_defuser.mdl",
  231.         Description = "This pack include 50 armor.",
  232.         Price = 450,
  233.         Armor = 50,
  234.         Outline = false,
  235.         Job = {["Medic"] = true, ["Mayor"] = true },
  236.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  237.     },
  238.     [2] = {
  239.         Name = "Armor Pack2",
  240.         Color = Color( 50, 50, 180 ),
  241.         Model = "models/weapons/w_defuser.mdl",
  242.         Description = "This pack include 50 armor.",
  243.         Price = 450,
  244.         Armor = 50,
  245.         Outline = false,
  246.         Job = {["Medic"] = true, ["Mayor"] = true },
  247.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  248.     }
  249.     }
  250.    
  251.     Now lets say you set the npc to sell "Health", then you could have removed "Armor = 50," amd kept "Health = 50,".
  252.     If you are confused about all this, then just keep them in the row.
  253.    
  254.     JOB AND ULX RESTRICTIONS:
  255.    
  256.     If you do not want to restrict a item to a Job/ulx group, then be sure to remove them from the row.
  257.     Mainly so it look like this:
  258.    
  259.         addItems["ArmorDealer_1"] = {
  260.     [1] = {
  261.         Name = "Armor Pack",
  262.         Color = Color( 50, 50, 180 ),
  263.         Model = "models/weapons/w_defuser.mdl",
  264.         Description = "This pack include 50 armor.",
  265.         Price = 450,
  266.         Armor = 50,
  267.         Outline = false
  268.     },
  269.     [2] = {
  270.         Name = "Armor Pack2",
  271.         Color = Color( 50, 50, 180 ),
  272.         Model = "models/weapons/w_defuser.mdl",
  273.         Description = "This pack include 50 armor.",
  274.         Price = 450,
  275.         Armor = 50,
  276.         Outline = false
  277.     }
  278.     }
  279.    
  280.     Another note, be sure to end every row with a comma, and leave the last one without a comma.
  281.    
  282. ]]--
  283.  
  284. ---------------------------------------------------------------------------------
  285. --------------------Add more Items to a row.Item Explained ----------------------
  286. ---------------------------------------------------------------------------------
  287.  
  288. --[[
  289.     HOW TO ADD MORE ITEMS TO A ROW:
  290.    
  291.     It is extremely simple to add new items to a row, lets take an example here.
  292.        
  293.     addItems["ArmorDealer_1"] = { -- Set the Id from ahCreateNpc here.
  294.     [1] = {
  295.         Name = "Armor Pack",
  296.         Color = Color( 50, 50, 180 ),
  297.         Model = "models/weapons/w_defuser.mdl",
  298.         Description = "This pack include 50 armor.",
  299.         Price = 450,
  300.         Armor = 50, -- If you do not use this row, then remove it entirely from the table.
  301.         Health = 0, -- If you do not use this row, then remove it entirely from the table.
  302.         Item = "", -- If you do not use this row, then remove it entirely from the table.
  303.         Outline = false, --Draw a outline around a box, if its job/ulx restricted.
  304.         Job = {["Medic"] = true, ["Mayor"] = true }, -- If you do not use this row, then remove it entirely from the table.
  305.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true} -- If you do not use this row, then remove it entirely from the table.
  306.     },
  307.     [2] = {
  308.         Name = "Armor Pack2",
  309.         Color = Color( 50, 50, 180 ),
  310.         Model = "models/weapons/w_defuser.mdl",
  311.         Description = "This pack include 50 armor.",
  312.         Price = 450,
  313.         Armor = 50,
  314.         Health = 0,
  315.         Item = "",
  316.         Outline = false,
  317.         Job = {["Medic"] = true, ["Mayor"] = true },
  318.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  319.     }
  320.     }
  321.    
  322.     To make a new item, you simply just copy paste the row above:
  323.    
  324.         [2] = {
  325.         Name = "Armor Pack2",
  326.         Color = Color( 50, 50, 180 ),
  327.         Model = "models/weapons/w_defuser.mdl",
  328.         Description = "This pack include 50 armor.",
  329.         Price = 450,
  330.         Armor = 50,
  331.         Health = 0,
  332.         Item = "",
  333.         Outline = false,
  334.         Job = {["Medic"] = true, ["Mayor"] = true },
  335.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  336.     }
  337.    
  338.     then we change its number, so it doesnt match the other rows, in this case set it to 3.
  339.     And then we change it bit up, so it contain a different offer.
  340.    
  341.         [3] = {
  342.         Name = "Armor Pack 33",
  343.         Color = Color( 50, 50, 180 ),
  344.         Model = "models/weapons/w_defuser.mdl",
  345.         Description = "This pack include 120 armor.",
  346.         Price = 5000,
  347.         Armor = 120,
  348.         Health = 0,
  349.         Item = "",
  350.         Outline = false,
  351.         Job = {["Medic"] = true, ["Mayor"] = true },
  352.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  353.     }
  354.    
  355.     after editing we add it to the main row.
  356.    
  357.     addItems["ArmorDealer_1"] = { -- Set the Id from ahCreateNpc here.
  358.     [1] = {
  359.         Name = "Armor Pack",
  360.         Color = Color( 50, 50, 180 ),
  361.         Model = "models/weapons/w_defuser.mdl",
  362.         Description = "This pack include 50 armor.",
  363.         Price = 450,
  364.         Armor = 50, -- If you do not use this row, then remove it entirely from the table.
  365.         Health = 0, -- If you do not use this row, then remove it entirely from the table.
  366.         Item = "", -- If you do not use this row, then remove it entirely from the table.
  367.         Outline = false, --Draw a outline around a box, if its job/ulx restricted.
  368.         Job = {["Medic"] = true, ["Mayor"] = true }, -- If you do not use this row, then remove it entirely from the table.
  369.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true} -- If you do not use this row, then remove it entirely from the table.
  370.     },
  371.     [2] = {
  372.         Name = "Armor Pack2",
  373.         Color = Color( 50, 50, 180 ),
  374.         Model = "models/weapons/w_defuser.mdl",
  375.         Description = "This pack include 50 armor.",
  376.         Price = 450,
  377.         Armor = 50,
  378.         Health = 0,
  379.         Item = "",
  380.         Outline = false,
  381.         Job = {["Medic"] = true, ["Mayor"] = true },
  382.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  383.     }
  384.         [3] = {
  385.         Name = "Armor Pack 33",
  386.         Color = Color( 50, 50, 180 ),
  387.         Model = "models/weapons/w_defuser.mdl",
  388.         Description = "This pack include 120 armor.",
  389.         Price = 5000,
  390.         Armor = 120,
  391.         Health = 0,
  392.         Item = "",
  393.         Outline = false,
  394.         Job = {["Medic"] = true, ["Mayor"] = true },
  395.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  396.     }
  397.     }
  398.    
  399.     now something is missing, every "}" between rows, there will need to be a comma exept the last one, so it will look like this.
  400.    
  401.         addItems["ArmorDealer_1"] = { -- Set the Id from ahCreateNpc here.
  402.     [1] = {
  403.         Name = "Armor Pack",
  404.         Color = Color( 50, 50, 180 ),
  405.         Model = "models/weapons/w_defuser.mdl",
  406.         Description = "This pack include 50 armor.",
  407.         Price = 450,
  408.         Armor = 50, -- If you do not use this row, then remove it entirely from the table.
  409.         Health = 0, -- If you do not use this row, then remove it entirely from the table.
  410.         Item = "", -- If you do not use this row, then remove it entirely from the table.
  411.         Outline = false, --Draw a outline around a box, if its job/ulx restricted.
  412.         Job = {["Medic"] = true, ["Mayor"] = true }, -- If you do not use this row, then remove it entirely from the table.
  413.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true} -- If you do not use this row, then remove it entirely from the table.
  414.     },
  415.     [2] = {
  416.         Name = "Armor Pack2",
  417.         Color = Color( 50, 50, 180 ),
  418.         Model = "models/weapons/w_defuser.mdl",
  419.         Description = "This pack include 50 armor.",
  420.         Price = 450,
  421.         Armor = 50,
  422.         Health = 0,
  423.         Item = "",
  424.         Outline = false,
  425.         Job = {["Medic"] = true, ["Mayor"] = true },
  426.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  427.     }, --COMMA IS ADDED HERE
  428.         [3] = {
  429.         Name = "Armor Pack 33",
  430.         Color = Color( 50, 50, 180 ),
  431.         Model = "models/weapons/w_defuser.mdl",
  432.         Description = "This pack include 120 armor.",
  433.         Price = 5000,
  434.         Armor = 120,
  435.         Health = 0,
  436.         Item = "",
  437.         Outline = false,
  438.         Job = {["Medic"] = true, ["Mayor"] = true },
  439.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  440.     } -- NO COMMA NEEDED HERE AS IT IS THE LAST ONE.
  441.     }
  442.    
  443.     And boom here we got a new item, if you are still confused, there is a youtube guide, which describe it better.
  444.     If you are still confused after, you are welcome to add me on steam.
  445.  
  446. ]]--
  447.  
  448. ---------------------------------------------------------------------------------
  449. ---------------------------------Add Item tabs ----------------------------------
  450. ---------------------------------------------------------------------------------
  451.  
  452. addItems["ArmorDealer_1"] = { -- Set the Id from ahCreateNpc here.
  453.     [1] = {
  454.         Name = "Armor Pack", -- not allowed to delete from row.
  455.         Color = Color( 50, 50, 180 ), -- not allowed to delete from row.
  456.         Model = "models/weapons/w_defuser.mdl", -- not allowed to delete from row.
  457.         Description = "This pack include 50 armor.", -- not allowed to delete from row.
  458.         Price = 450, -- not allowed to delete from row.
  459.         Armor = 50, -- If you do not use this row, then you can remove it entirely from the table.
  460.         Health = 0, -- If you do not use this row, then you can remove it entirely from the table.
  461.         Item = "", -- If you do not use this row, then you can remove it entirely from the table.
  462.         Outline = false, --Draw a outline around a box, if its job/ulx restricted, do not delete this.
  463.         Job = {["Medic"] = true, ["Mayor"] = true }, -- If you do not use this row, then remove it entirely from the table.
  464.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true} -- If you do not use this row, then remove it entirely from the table.
  465.     },
  466.     [2] = {
  467.         Name = "Armor Pack2",
  468.         Color = Color( 50, 50, 180 ),
  469.         Model = "models/weapons/w_defuser.mdl",
  470.         Description = "This pack include 50 armor.",
  471.         Price = 450,
  472.         Armor = 50,
  473.         Health = 0,
  474.         Item = "",
  475.         Outline = false,
  476.         Job = {["Medic"] = true, ["Mayor"] = true },
  477.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  478.     }
  479. }
  480.  
  481. addItems["HealthDealer_1"] = { -- Set the Id from ahCreateNpc here.
  482.     [1] = {
  483.         Name = "Health Pack",
  484.         Color = Color( 255, 50, 50 ),
  485.         Model = "models/weapons/w_defuser.mdl",
  486.         Description = "This pack include 50 armor.",
  487.         Price = 450,
  488.         Armor = 50,
  489.         Health = 80,
  490.         Item = "",
  491.         Outline = false,
  492.         Job = {["Medic"] = true, ["Mayor"] = true },
  493.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  494.     },
  495.     [2] = {
  496.         Name = "health Pack2",
  497.         Color = Color( 255, 50, 50 ),
  498.         Model = "models/weapons/w_defuser.mdl",
  499.         Description = "This pack include 50 armor.",
  500.         Price = 450,
  501.         Armor = 50,
  502.         Health = 80,
  503.         Item = "",
  504.         Outline = false,
  505.         Job = {["Medic"] = true, ["Mayor"] = true },
  506.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  507.     }
  508. }
  509.  
  510. addItems["WeaponDealer_1"] = { -- Set the Id from ahCreateNpc here.
  511.     [1] = {
  512.         Name = "G3sg1 Riffle",
  513.         Color = Color( 50, 180, 50 ),
  514.         Model = "models/weapons/w_snip_g3sg1.mdl",
  515.         Description = "This pack include a heavy riffle.",
  516.         Price = 450,
  517.         Armor = 50,
  518.         Health = 80,
  519.         Item = "bb_g3sg1_alt",
  520.         Outline = false,
  521.         Job = {["Medic"] = true, ["Mayor"] = true },
  522.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  523.     },
  524.     [2] = {
  525.         Name = "G3sg1 Riffle",
  526.         Color = Color( 50, 180, 50 ),
  527.         Model = "models/weapons/w_snip_g3sg1.mdl",
  528.         Description = "This pack include a heavy riffle.",
  529.         Price = 450,
  530.         Armor = 50,
  531.         Health = 80,
  532.         Item = "bb_g3sg1_alt",
  533.         Outline = false,
  534.         Job = {["Medic"] = true, ["Mayor"] = true },
  535.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  536.     }
  537. }
  538.  
  539. addItems["EntitiesDealer_1"] = { -- Set the Id from ahCreateNpc here.
  540.     [1] = {
  541.         Name = "Soil Pack",
  542.         Color = Color( 180, 180, 50 ),
  543.         Model = "models/soil/soil.mdl",
  544.         Description = "This pack include a soilpack.",
  545.         Price = 450,
  546.         Armor = 50,
  547.         Health = 80,
  548.         Item = "the_weed_dirt",
  549.         Outline = false,
  550.         Job = {["Medic"] = true, ["Mayor"] = true },
  551.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  552.     },
  553.     [2] = {
  554.         Name = "Soil Pack",
  555.         Color = Color( 180, 180, 50 ),
  556.         Model = "models/soil/soil.mdl",
  557.         Description = "This pack include a soilpack.",
  558.         Price = 450,
  559.         Armor = 50,
  560.         Health = 80,
  561.         Item = "the_weed_dirt",
  562.         Outline = false,
  563.         Job = {["Medic"] = true, ["Mayor"] = true },
  564.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  565.     }
  566. }
  567.  
  568. addItems["PropDealer_1"] = { -- Set the Id from ahCreateNpc prop dealer here.
  569.     [1] = {
  570.         Name = "Couch",
  571.         Color = Color( 255, 255, 255 ),
  572.         Model = "models/props_c17/FurnitureCouch002a.mdl",
  573.         Description = "This pack include a couch.",
  574.         Price = 450,
  575.         Armor = 50,
  576.         Health = 80,
  577.         Item = "the_weed_dirt",
  578.         Outline = false,
  579.         Job = {["Medic"] = true, ["Mayor"] = true },
  580.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  581.     },
  582.     [2] = {
  583.         Name = "Soil Pack",
  584.         Color = Color( 255, 255, 255 ),
  585.         Model = "models/props_c17/FurnitureCouch002a.mdl",
  586.         Description = "This pack include a couch.",
  587.         Price = 450,
  588.         Armor = 50,
  589.         Health = 80,
  590.         Item = "the_weed_dirt",
  591.         Outline = false,
  592.         Job = {["Medic"] = true, ["Mayor"] = true },
  593.         Ulx = {["donator"] = true, ["ultradonator"] = true, ["ambassador"] = true, ["superadmin"] = true}
  594.     }
  595. }
  596.  
  597. ---------------------------------------------------------------------------------
  598. ----------------------------------------------- ---------------------------------
  599. ---------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement