Garry's Mod Wiki

TOOL:FreezeMovement

  boolean TOOL:FreezeMovement()

Description

Called when WEAPON:Think of the toolgun is called, only when the user has this tool selected.

Returns

1 boolean
Return true to freeze the player