Garry's Mod Wiki

JS_Utility

JS_Utility

  JS_Utility( Panel htmlPanel )

Description

Adds javascript function 'util.MotionSensorAvailable' to an HTML panel as a method to call Lua's motionsensor.IsAvailable function.

Arguments

1 Panel htmlPanel
Panel to add javascript function 'util.MotionSensorAvailable' to.

Special Pages


Wikis

?

Render Time: 68ms

DB GetPage 39
Generate Html 2
SaveChanges (1) 17
Render Body 0
Render Sidebar 7