Noclip

does anyone know the function to noclip
ply:Noclip()
or
maybe
ply:SetNoclip()
or some shit

[editline]25th January 2016[/editline]

This is my stuck command but I need one for Noclip
hook.Add( “PlayerSay”, “Killurself”, function( ply, text, public )
text = string.lower( text )
if ( text == “!stuck” ) then
ply:Kill()
return “”
end
end )

Entity:SetMoveType
MOVETYPE_NOCLIP

:snip: wrong thing

No mean the default noclip function that starts when you press V
I’ts called No-Clip Mode

You have to set the players movetype that’s how noclip works.

To unstuck people you give them noclip? Not sure that is a good way.

Skitzz Is right instead of giving them noclip I think it would be far better to set the players position to a few units in front of them. Or you could do it where they just go to the location they are looking at. However even something like this could be abused so I suggest that you put some kind of abuse prevention measures in place like a cool down.