Custom Weapon Selection HUD

I have recently been working on a custom gamemode for Garry’s Mod and I was wondering how you would make a custom weapon selection HUD instead of the default yellow one at the top. I was wanting one similar to what is in Trouble In Terrorist Town.

Thanks

https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/terrortown/gamemode/cl_wepswitch.lua Look at TTT one and go on from there.

I tried looking through that but it gets confusing when they are using roles like Innocent, Detective and Traitor when I am not using it.

Search for similar addons and look how they do it.

Ok, do you know any addons that do this?

What is the confusing part? ROLE_ only seem to be mentioned twice and that’s for defining their colors.

Yeah, ok. Thanks for your help.