GetPlayerWeapon: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
Line 4: Line 4:


{{FuncSyntax|GetPlayerWeapon(player [, weaponslot])}}
{{FuncSyntax|GetPlayerWeapon(player [, weaponslot])}}
{{FuncSyntaxClient|GetPlayerWeapon(weaponslot)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|player |__EDIT_ME__}}
{{FuncParam|player|The player identifier.}}
{{FuncParamOptional|weaponslot|__EDIT_ME__}}
{{FuncParamOptional|weaponslot|The weapon slot.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}

Revision as of 13:37, 5 November 2019

GetPlayerWeapon

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

Description

__EDIT_ME__

Syntax

GetPlayerWeapon(player [, weaponslot])
Client Syntax
GetPlayerWeapon(weaponslot)

Parameters

  • player
    The player identifier.
  • weaponslot (optional)
    The weapon slot.

Return Value

  • __EDIT_ME__

Example

__EDIT_ME__

See also

__EDIT_ME__