Difference between revisions of "ScriptHook.SetLocalPlayerNoclip"

From Nomad DB
 
Line 1: Line 1:
 +
{{Page_WD2}} {{Page_MDE}}
 
Enables or disables Noclip-mode for the local player.
 
Enables or disables Noclip-mode for the local player.
 
{{Warning|We currently only support W/S for forward/backwards, E/Q for upwards/backwards.</br>This function '''enables/disables physics''' of the Local Player, which can cause issues.}}
 
{{Warning|We currently only support W/S for forward/backwards, E/Q for upwards/backwards.</br>This function '''enables/disables physics''' of the Local Player, which can cause issues.}}

Latest revision as of 20:33, 27 October 2020

Enables or disables Noclip-mode for the local player.

We currently only support W/S for forward/backwards, E/Q for upwards/backwards.
This function enables/disables physics of the Local Player, which can cause issues.

Syntax

ScriptHook.SetLocalPlayerNoclip(enabled)
  • enabled (boolean)

Related Pages