GetPlayerMovementMode: Difference between revisions

From Onset Developer Wiki
JanHolger (talk | contribs)
No edit summary
No edit summary
 
Line 11: Line 11:


== Example ==
== Example ==
 
<syntaxhighlight lang="Lua>
print("Player Movement Mode: " .. GetPlayerMovementMode(player))
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ServerPlayerFunctions}}

Latest revision as of 14:47, 26 June 2021

GetPlayerMovementMode

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Returns the players movement mode

Syntax

GetPlayerMovementMode(player)

Parameters

  • player
    The player

Return Value

Example

print("Player Movement Mode: " .. GetPlayerMovementMode(player))

See also