local weapons = { 12, 14, 15, 20, 30, 31 }
addCommandHandler ( "arma",
function ( player, commandName )
local municionRandom = math.random ( 15, 50 ) -- Municion random desde 15 hasta 50
local weapon = weapons[ math.random( #weapons ) ]
giveWeapon ( player, weapon, municionRandom )
outputChatBox ( "Ha obtenido una "..getWeaponNameFromID ( weapon ).." con "..municionRandom.." de munición.", player )
end
)