Garry's Mod Wiki

Garry's Mod Wiki

Description

Called when the freeze cam is started.
Example cause:

Player:Spectate(OBS_MODE_FREEZECAM)

Members

number killer
The Index of the Entity that is being spectated or 0

Examples

Example

This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.

gameevent.Listen( "show_freezepanel" ) hook.Add( "show_freezepanel", "show_freezepanel_example", function( data ) local killer = data.killer // The Map name. // Called when the freeze cam is started. end )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...