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...") |
|||
(One intermediate revision by one other user not shown) | |||
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.}} | ||
Line 12: | Line 13: | ||
[[Category:WD2 ScriptHook Lua]] | [[Category:WD2 ScriptHook Lua]] | ||
+ | [[Category:MDE ScriptHook Lua]] |
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.
This function enables/disables physics of the Local Player, which can cause issues.
Syntax
ScriptHook.SetLocalPlayerNoclip(enabled)
- enabled (boolean)