Garry's Mod

Garry's Mod

Instant Ammo (DarkRP - Universal Ammo Support)
ThatCatGuy  [developer] 8 Mar, 2023 @ 12:35pm
[ArcCW] Ammo Config.
If you wish to use Instant Ammo with the [ArcCW] weapons then you need to have these ammo types added to the F4 menu to purchase them.

Working so far:

  • [ArcCW] Black Ops Pack - Except M202AL Flash (arccw_bo1_m202) this is due to the addon having the wrong ammo set already reported it.
  • [ArcCW] Firearms: Source 2
  • [ArcCW] Modern Warfare 2
  • [ArcCW] [GSO] Collections
  • [ArcCW] Apex Legends SWEPs


/*APEX Ammo*/ DarkRP.createAmmoType("apex_arrow", { name = "Apex Crossbow Ammo", model = "models/ammo/ammo_arrows.mdl", price = 300, /* Set Your Own Price */ amountGiven = 16, /* Set Your Own Amount Given */ category = "Instant Ammo" }) DarkRP.createAmmoType("apex_light", { name = "Apex Energy Ammo", model = "models/ammo/energy_ammo.mdl", price = 300, /* Set Your Own Price */ amountGiven = 20, /* Set Your Own Amount Given */ category = "Instant Ammo" }) DarkRP.createAmmoType("apex_heavy", { name = "Apex Heavy Ammo", model = "models/ammo/heavy_ammo.mdl", price = 300, /* Set Your Own Price */ amountGiven = 20, /* Set Your Own Amount Given */ category = "Instant Ammo" }) DarkRP.createAmmoType("apex_light", { name = "Apex Light Ammo", model = "models/ammo/light_ammo.mdl", price = 300, /* Set Your Own Price */ amountGiven = 20, /* Set Your Own Amount Given */ category = "Instant Ammo" }) DarkRP.createAmmoType("apex_shotgun", { name = "Apex Shotgun Ammo", model = "models/ammo/shotgun_ammo.mdl", price = 300, /* Set Your Own Price */ amountGiven = 20, /* Set Your Own Amount Given */ category = "Instant Ammo" }) DarkRP.createAmmoType("apex_sniper", { name = "Apex Sniper Ammo", model = "models/ammo/sniper_ammo.mdl", price = 300, /* Set Your Own Price */ amountGiven = 20, /* Set Your Own Amount Given */ category = "Instant Ammo" }) /* Other Ammos */ DarkRP.createAmmoType("pistol", { name = "Pistol Ammo", model = "models/Items/BoxSRounds.mdl", price = 300, amountGiven = 60, category = "Instant Ammo" }) DarkRP.createAmmoType("smg1", { name = "SMG Ammo", model = "models/Items/BoxMRounds.mdl", price = 600, max = 1, amountGiven = 90, category = "Instant Ammo" }) DarkRP.createAmmoType("357", { name = "357 Ammo", model = "models/items/357ammo.mdl", price = 400, max = 1, amountGiven = 20, category = "Instant Ammo" }) DarkRP.createAmmoType("ar2", { name = "Rifle Ammo", model = "models/Items/BoxMRounds.mdl", price = 1000, amountGiven = 90, category = "Instant Ammo" }) DarkRP.createAmmoType("buckshot", { name = "Shotgun Ammo", model = "models/items/boxbuckshot.mdl", price = 1200, max = 1, amountGiven = 16, category = "Instant Ammo" }) DarkRP.createAmmoType("SniperPenetratedRound", { name = "Sniper Ammo", model = "models/Items/BoxSRounds.mdl", price = 1500, max = 1, amountGiven = 30, category = "Instant Ammo" }) DarkRP.createAmmoType("XBowBolt", { name = "Bolts", model = "models/items/crossbowrounds.mdl", price = 1000, max = 1, amountGiven = 20, category = "Instant Ammo" }) DarkRP.createAmmoType("RPG_Round", { name = "RPG Rocket", model = "models/items/ammocrates/craterockets.mdl", price = 1000, max = 1, amountGiven = 1, category = "Instant Ammo" }) DarkRP.createAmmoType("smg1_grenade", { name = "SMG Genade", model = "models/items/ar2_grenade.mdl", price = 1000, max = 1, amountGiven = 1, category = "Instant Ammo" }) DarkRP.createCategory{ name = "Instant Ammo", categorises = "ammo", startExpanded = true, color = Color(0, 107, 0, 255), canSee = fp{fn.Id, true}, sortOrder = 255, } DarkRP.createCategory{ name = "Other", categorises = "ammo", startExpanded = true, color = Color(0, 107, 0, 255), canSee = fp{fn.Id, true}, sortOrder = 255, }
< >
Showing 1-1 of 1 comments
mastergaming1236 8 Mar, 2023 @ 3:11pm 
TYSM!!!
Last edited by mastergaming1236; 8 Mar, 2023 @ 3:15pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50