Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DarkRP.createEntity("Apteczka", {
- ent = "item_healthkit",
- model = "models/weapons/w_medkit.mdl",
- price = 500,
- max = 1,
- cmd = "medkit",
- -- The following fields are OPTIONAL. If you do not need them, or do not need to change them from their defaults, REMOVE them.
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_MEDYK then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Apteczka jest możliwa do kupienia tylko jak nie ma medyków!" end,
- })
- DarkRP.createEntity("Amunicja do rewolwera", {
- ent = "m9k_ammo_357",
- model = "models/items/357ammo.mdl",
- price = 100,
- max = 10,
- cmd = "buyrewol",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do karabinów", {
- ent = "m9k_ammo_ar2",
- model = "models/Items/BoxSRounds.mdl",
- price = 165,
- max = 10,
- cmd = "buykarab",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do shotgunów", {
- ent = "m9k_ammo_buckshot",
- model = "models/Items/BoxBuckshot.mdl",
- price = 140,
- max = 10,
- cmd = "buykarab",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do pistoletów", {
- ent = "m9k_ammo_pistol",
- model = "models/Items/BoxMRounds.mdl",
- price = 80,
- max = 10,
- cmd = "buypist",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do snajperek", {
- ent = "m9k_ammo_sniper_rounds",
- model = "models/Items/BoxSRounds.mdl",
- price = 170,
- max = 10,
- cmd = "buysnaj",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do SMG", {
- ent = "m9k_ammo_smg",
- model = "models/Items/BoxMRounds.mdl",
- price = 125,
- max = 10,
- cmd = "buysmg",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createEntity("Amunicja do Winchestera", {
- ent = "m9k_ammo_winchester",
- model = "models/Items/BoxSRounds.mdl",
- price = 145,
- max = 10,
- cmd = "buywinch",
- customCheck = function(ply) local amt = 0 for i,k in pairs(player.GetAll()) do if k:Team() == TEAM_GUN or k:Team() == TEAM_HEAVY then amt = amt+1 end end if amt > 0 then return false end end,
- CustomCheckFailMsg = function(ply, entTable) return "Jest juz ktos na gun dealerze! By kupic amunicje idz do gundealera" end,
- })
- DarkRP.createShipment("M249 Para", {model = "models/weapons/3_mach_m249para.mdl",entity = "bb_m249_alt",price = 105000,amount = 10,separate = true,pricesep = 12500,noship = false,allowed = {TEAM_HEAVY}})
- DarkRP.createShipment("Granat Fragmentacyjny", {model = "models/weapons/w_m61_fraggynade_thrown.mdl",entity = "bb_cssfrag_alt",price = 105000,amount = 10,separate = true,pricesep = 5000,noship = true,allowed = {TEAM_HEAVY}})
- DarkRP.createShipment("Glock-18", {model = "models/weapons/3_pist_glock18.mdl",entity = "bb_glock_alt",price = 18000,amount = 10,separate = true,pricesep = 2000,noship = false,allowed = {TEAM_HEAVY}})
- DarkRP.createShipment("Steyr AUG", {model = "models/weapons/3_rif_aug.mdl",entity = "bb_aug_alt",price = 35000,amount = 10,separate = true,pricesep = 3800,noship = false,allowed = {TEAM_HEAVY}})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement