Garry's Mod Wiki

JS_Language

  JS_Language( Panel htmlPanel )

Description

Adds javascript function 'language.Update' to an HTML panel as a method to call Lua's language.GetPhrase function.

Arguments

1 Panel htmlPanel
Panel to add javascript function 'language.Update' to.