HUD Help

Hello Facepunch!

Today I’m back with another HUD question. I was wondering how to display the players team in the HUD?

Would it be something like this, if not this:



local team  = LocalPlayer():GetTeam()


Thanks in advance,

Myles


local team = team.GetName(LocalPlayer():Team())

You should use the utility team.GetName with Player:Team to get the name of the local player’s team.
Please try to search up what you need before making a thread for such a simple question. The wikis give you plenty of information like this.

Thanks guys, and I will from now on Internet1001.