Garry's Mod Wiki

Revision Difference

Global.JS_Utility#547453

<function name="JS_Utility" parent="Global" type="libraryfunc"> <description>Adds javascript function 'util.MotionSensorAvailable' to an HTML panel as a method to call Lua's <page>motionsensor.IsAvailable</page> function.</description> <realm>Client and Menu</realm> <file line="11-L17">lua/includes/util/javascript_util.lua</file>⤶ <args> <arg name="htmlPanel" type="Panel">Panel to add javascript function 'util.MotionSensorAvailable' to.</arg> </args> </function>