GetPlayerEquippedWeaponSlot: Difference between revisions

From Onset Developer Wiki
No edit summary
Justus (talk | contribs)
m info fill for GetPlayerEquippedWeaponSlot
Line 1: Line 1:
{{Info|Function|Client & Server|1.0}}
{{Info|Function|Client & Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Returns the slot the playeer currently has equiped}}


{{FuncSyntax|GetPlayerEquippedWeaponSlot(player)}}
{{FuncSyntax|GetPlayerEquippedWeaponSlot(player)}}


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


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|The weapon slot the player currently has equipped}}


== Example ==
== Example ==

Revision as of 16:46, 22 December 2019

GetPlayerEquippedWeaponSlot

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

Description

Returns the slot the playeer currently has equiped

Syntax

GetPlayerEquippedWeaponSlot(player)

Parameters

  • player
    The player identifier

Return Value

  • The weapon slot the player currently has equipped

Example

__EDIT_ME__

See also

__EDIT_ME__