GetPlayerMovementMode: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server & Client|1.0}} | {{Info|Function|Server & Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Returns the players movement mode}} | ||
{{FuncSyntax|GetPlayerMovementMode(player)}} | {{FuncSyntax|GetPlayerMovementMode(player)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player| | {{FuncParam|player|The player}} | ||
{{FuncReturnValue| | {{FuncReturnValue|2 - Walking, 4 - Crouching}} | ||
== Example == | == Example == | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
Revision as of 23:12, 10 January 2020
Description
Returns the players movement mode
Syntax
GetPlayerMovementMode(player)
Parameters
- player
The player
Return Value
- 2 - Walking, 4 - Crouching