Garry's Mod Wiki

DHTML:OnCallback

DHTML:OnCallback

  boolean DHTML:OnCallback( string library, string name, function callback )

Description

Called by the engine when a callback function is called.

Arguments

1 string library
Library name of the JS function you are defining.
2 string name
Name of the JS function you are defining.
3 function callback
Function called when the JS function is called. Arguments passed to the JS function will be passed here.

Returns

1 boolean
Return true to suppress default engine action.

Special Pages


Wikis

?

Render Time: 46ms

DB GetPage 27
Generate Html 5
SaveChanges (1) 5
Render Body 0
Render Sidebar 7