GetPlayerMovementSpeed: 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|Get the player's movement speed.}} | ||
{{FuncSyntax|GetPlayerMovementSpeed(player)}} | {{FuncSyntax|GetPlayerMovementSpeed(player)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player| | {{FuncParam|player|The player identifier.}} | ||
{{FuncReturnValue|__EDIT_ME__}} | {{FuncReturnValue|__EDIT_ME__}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local speed = GetPlayerMovementSpeed(player) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{PlayerFunctions}} |
Revision as of 17:11, 16 January 2020
Description
Get the player's movement speed.
Syntax
GetPlayerMovementSpeed(player)
Parameters
- player
The player identifier.
Return Value
- __EDIT_ME__
Example
local speed = GetPlayerMovementSpeed(player)