GetPlayerMovementMode: Difference between revisions

From Onset Developer Wiki
No edit summary
JanHolger (talk | contribs)
No edit summary
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Returns the players movement mode}}


{{FuncSyntax|GetPlayerMovementMode(player)}}
{{FuncSyntax|GetPlayerMovementMode(player)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player|__EDIT_ME__}}
{{FuncParam|player|The player}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|2 - Walking, 4 - Crouching}}


== Example ==
== Example ==
__EDIT_ME__
 


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__

Revision as of 23:12, 10 January 2020

GetPlayerMovementMode

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

Description

Returns the players movement mode

Syntax

GetPlayerMovementMode(player)

Parameters

  • player
    The player

Return Value

  • 2 - Walking, 4 - Crouching

Example

See also