GetPlayerEquippedWeaponSlot

From Onset Developer Wiki
GetPlayerEquippedWeaponSlot

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

Description

Returns the slot the player currently has equiped

Syntax

GetPlayerEquippedWeaponSlot(player)

Parameters

  • player
    The player identifier

Return Value

  • The weapon slot the player currently has equipped

Example

print("Equipped Weapon Slot: " .. GetPlayerEquippedWeaponSlot(player))

See also