get_ammo

Returns the ammo part if it's found

modules.get_ammo(name: string)

Paramters

  • name: The gun name e.g LMG


Example

local gun = modules.get_gun(false)
if not gun then return end 

local ammo_part = modules.get_ammo(gun.Name) 
print(ammo_part)

Last updated