getPlayerHudComponentProperty | Multi Theft Auto: Wiki Skip to content

getPlayerHudComponentProperty

Client-side
Server-side
Shared

Pair: setPlayerHudComponentProperty

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function gets the value of the specified HUD property.

Syntax

getPlayerHudComponentProperty ( )

Code Examples

client
local r, g, b, a = getPlayerHudComponentProperty('clock', 'fillColor')
local w, h = getPlayerHudComponentProperty('health', 'size')
local outline = getPlayerHudComponentProperty('money', 'fontOutline')

See Also