EquipPlayerWeaponSlot

From Onset Developer Wiki
Revision as of 11:03, 2 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
EquipPlayerWeaponSlot

Type: Function
Context: Server
Introduced: v1.0

Description

Equip the specified weapon slot for the specified player.

Syntax

EquipPlayerWeaponSlot(player, weaponslot)

Parameters

  • player
    The player identifier.
  • weaponslot
    The weapon slot (range 1 - 3)

Return Value

  • This function returns true' on success.

Example

EquipPlayerWeaponSlot(playerId, 1)

See also