diff options
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut')
-rw-r--r-- | Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut b/Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut index ebac1e3c0..960e619e6 100644 --- a/Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut +++ b/Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut @@ -13,14 +13,8 @@ bool function ClientCommandCallbackToggleNoclip( entity player, array<string> ar if ( GetConVarInt( "sv_cheats" ) != 1 ) return true - //if ( player.IsNoclipping() ) - // DisableNoclipForEntityIndex( player.GetIndexForEntity() ) - //else - // EnableNoclipForEntityIndex( player.GetIndexForEntity() ) - - // new way that doesn't require native stuff yay if ( player.IsNoclipping() ) - player.SetPhysics( MOVETYPE_WALK ) // just hoping this is the right movetype, not much of a way to check + player.SetPhysics( MOVETYPE_WALK ) else player.SetPhysics( MOVETYPE_NOCLIP ) |