Used the M4A1 as "Assault Carbine" in my indie game Bash The Party. It'll be released in July 2022. It's one of the first weapons I added to the game :) Gave the credit accordingly.
https://store.steampowered.com/app/1939770/Bash_The_Party/
Cool. Thanks for letting me know. Good luck with your project,