Class Weapon
Namespace: GTA
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class Weapon
Properties
|
Improve this Doc
View Source
Ammo
Declaration
public int Ammo { get; set; }
Property Value
|
Improve this Doc
View Source
AmmoInClip
Declaration
public int AmmoInClip { get; set; }
Property Value
|
Improve this Doc
View Source
CanUseOnParachute
Declaration
public bool CanUseOnParachute { get; }
Property Value
|
Improve this Doc
View Source
Components
Declaration
public WeaponComponentCollection Components { get; }
Property Value
|
Improve this Doc
View Source
DefaultClipSize
Declaration
public int DefaultClipSize { get; }
Property Value
|
Improve this Doc
View Source
DisplayName
Declaration
public string DisplayName { get; }
Property Value
|
Improve this Doc
View Source
Group
Declaration
public WeaponGroup Group { get; }
Property Value
|
Improve this Doc
View Source
Hash
Declaration
public WeaponHash Hash { get; }
Property Value
|
Improve this Doc
View Source
InfiniteAmmo
Declaration
public bool InfiniteAmmo { set; }
Property Value
|
Improve this Doc
View Source
InfiniteAmmoClip
Declaration
public bool InfiniteAmmoClip { set; }
Property Value
|
Improve this Doc
View Source
IsPresent
Declaration
public bool IsPresent { get; }
Property Value
|
Improve this Doc
View Source
LocalizedName
Declaration
public string LocalizedName { get; }
Property Value
|
Improve this Doc
View Source
MaxAmmo
Declaration
public int MaxAmmo { get; }
Property Value
|
Improve this Doc
View Source
MaxAmmoInClip
Declaration
public int MaxAmmoInClip { get; }
Property Value
|
Improve this Doc
View Source
Model
Declaration
public Model Model { get; }
Property Value
|
Improve this Doc
View Source
Tint
Declaration
public WeaponTint Tint { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetAllModels()
Declaration
public static Model[] GetAllModels()
Returns
|
Improve this Doc
View Source
GetAllWeaponHashesForHumanPeds()
Declaration
public static WeaponHash[] GetAllWeaponHashesForHumanPeds()
Returns
|
Improve this Doc
View Source
GetDisplayNameFromHash(WeaponHash)
Declaration
public static string GetDisplayNameFromHash(WeaponHash hash)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(Weapon to WeaponHash)
Declaration
public static implicit operator WeaponHash(Weapon weapon)
Parameters
Type |
Name |
Description |
Weapon |
weapon |
|
Returns