Huds on SWEPs

Hello haven’t been on the forums for ages, so i have seen developers draw a sort of hud on a SWEP like showing player name or information. Just wondering how they do this, btw other players can see this. Any infermation will be good?

Wrong section, but the function you’re looking for is

SWEP:DrawHUD

Thanks