GetPlayerBoneLocation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerBoneLocation(player, BoneName [, BoneSpace])}} {{FuncParameters}} {{FuncParam|player|__ED..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|This function returns the bone location of the player.}} | ||
{{FuncSyntax|GetPlayerBoneLocation(player, BoneName [, BoneSpace])}} | {{FuncSyntax|GetPlayerBoneLocation(player, BoneName [, BoneSpace])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player| | {{FuncParam|player|The player identifier}} | ||
{{FuncParam|BoneName | | {{FuncParam|BoneName |The bone name}} | ||
{{FuncParamOptional|BoneSpace|__EDIT_ME__}} | {{FuncParamOptional|BoneSpace|__EDIT_ME__}} | ||
Line 13: | Line 13: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
GetPlayerBoneLocation(playerId, boneName) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
__EDIT_ME__ | __EDIT_ME__ |
Revision as of 08:03, 29 December 2019
Description
This function returns the bone location of the player.
Syntax
GetPlayerBoneLocation(player, BoneName [, BoneSpace])
Parameters
- player
The player identifier - BoneName
The bone name - BoneSpace (optional)
__EDIT_ME__
Return Value
- __EDIT_ME__
Example
GetPlayerBoneLocation(playerId, boneName)
See also
__EDIT_ME__