GetAllWeaponComponents

From GTA Network Wiki
Jump to: navigation, search

GetAllWeaponComponents
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Function Description

Syntax

WeaponComponent[] NAPI.Util.GetAllWeaponComponents(WeaponHash weapon);

Required Arguments

  • weapon: parameter input should be in WeaponHash type.

NOTE: This function returns data in WeaponComponent[] type.

Usage example(s)

Example Description

NAPI.Util.GetAllWeaponComponents(WeaponHash weapon);

Changelog

Version Description
1.0 Release.

References