Garry's Mod Wiki
Description
Called when a player freezes an entity with the physgun.
Arguments
Returns
1 boolean
Return
false to block the unfreeze.
The unfreezing is handled by the base gamemode hook. This hook has no return value, returning any value will prevent the gamemode hook from running, which is true for every hook.
Example
Only allows admins to freeze things, by preventing the default base gamemode code from running due to how the hook library functions.
See hook.Add for explanation. The return value does not matter, as long as it is not nil, the base code will not run.
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 four times a day. Edits and history are not available.
Last Parsed: Loading...