I want to set float or string value as text for panel. There is SetAttributeInt() function that sets integer value. I did not find SetAttibuteFloat so tried to do with SetAtributeString. It did not help me too. When I set
teamPanel.SetAttributeString( "recent_score_count", "1,4" )
for some reason it returns 1, not "1.4" and not 1.4 , seems to autoconvert.
When I am trying to set "hello" it returns 0 (not displaying at all).
PS: overthrow_scoreboard_team_overlay.js.
#Set Float value for panel
1 messages · Page 1 of 1 (latest)