ccsweapon_base_vdata

This type represents a weapon's static data.

__index๏ปฟ

Attemps to search for a field in this class.

Arguments

Name

Type

Description

name

string

Field name.

Returns

Type

Description

Accessor instance.

Example

local price = wpn_data.m_nPrice;
local price = wpn_data['m_nPrice']; -- this also works

Last updated