aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-12 14:51:43 +0100
commitba41749cc6a6693f11a7f1c7535ff758a461a424 (patch)
tree945786de1feff62180ea7c451c09482a3af823ac /Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut
parent07b7eafd5c1845c70510b695446c23973fed1d4d (diff)
downloadNorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.tar.gz
NorthstarMods-ba41749cc6a6693f11a7f1c7535ff758a461a424.zip
add hardpoint, infection changes, fra changes
Diffstat (limited to 'Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut')
-rw-r--r--Northstar.Custom/scripts/vscripts/_northstar_devcommands.gnut8
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 )