Garry's Mod Wiki

JS_Utility

void 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.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 7
Generate Html 0
SaveChanges 15
Render Body 0
Render Sidebar 6