Skip to content

Class "PlayerHUD"⚓︎

Info

You can get this class by using the following functions:

Example Code
1
local playerHud = HUD.GetPlayerHUD(0)

Functions⚓︎

GetHeartByIndex ()⚓︎

PlayerHUDHeart GetHeartByIndex ( int Index )⚓︎


GetHearts ()⚓︎

PlayerHUDHeart[] GetHearts ( )⚓︎

Returns table of PlayerHUDHeart objects.


GetHUD ()⚓︎

HUD GetHUD ( )⚓︎


GetIndex ()⚓︎

int GetIndex ( )⚓︎


GetLayout ()⚓︎

PlayerHUDLayout GetLayout ( )⚓︎


GetPlayer ()⚓︎

EntityPlayer GetPlayer ( )⚓︎


RenderActiveItem ()⚓︎

void RenderActiveItem ( ActiveSlot Slot, Vector Position, float Alpha = 1.0, float Scale = 1.0 )⚓︎