Gamemode.PlayerNoClip
From GMod Wiki
| Event Hook | |
| Hook Name | PlayerNoClip |
| Syntax | GM:PlayerNoClip( Player ply ) |
| Description | Called when a player tries to switch noclip mode |
| Returns | Boolean |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerNoClip]Gamemode.PlayerNoClip [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- This function is now shared and used for prediction. Not hooking this on both client and server will cause prediction errors!