Difference between revisions of "ScriptHook.SetLocalPlayerNoclip"

From Nomad DB
(Created page with "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/di...")
 
Line 12: Line 12:
  
 
[[Category:WD2 ScriptHook Lua]]
 
[[Category:WD2 ScriptHook Lua]]
 +
[[Category:MDE ScriptHook Lua]]

Revision as of 12:49, 6 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