Garry's Mod Wiki

Revision Difference

Global.JS_Utility#514875

<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>⤶ <args>⤶ <arg name="htmlPanel" type="Panel">Panel to add javascript function &#x27;util.MotionSensorAvailable&#x27; to.</arg>⤶ </args>⤶ </function>⤶ ⤶