FECALITY.SHOP [API]
  • Overview
  • GETTING STARTED
    • Metadata
    • Creating scripts
    • Callbacks
    • Examples
    • Useful resources
  • DOCUMENTATION
    • Datatypes
      • entity
      • player_info
      • weapon_info
      • user_cmd
      • trace_t
      • vec3
      • cvar
      • timer
      • cfg_value
      • shot_info
      • game_event
      • material
      • material_var
      • zip
      • animator
    • Namespaces
      • Gui
      • Render
      • Engine
      • Math
      • Utilities
      • Entities
      • Database
      • Input
      • Panorama
      • Materials
      • Filesystem
      • Zip
    • Instances
      • Global Vars
      • Fecality
      • Gamerules
      • Server
Powered by GitBook
On this page
  1. DOCUMENTATION
  2. Datatypes

weapon_info

utils.get_weapon_info

console_name

string

weapon's console name

world_model

string

path to weapon's world model

view_model

string

path to weapon's view model

is_full_auto

boolean

is the weapon fully automatic

has_silencer

boolean

does the weapon have a silencer

max_clip1

number

the max amount of ammo that can be in the clip

max_clip2

number

the max amount of reserve ammo

weapon_type

number

the type of weapon

weapon_price

number

how much the weapon cost to buy

kill_reward

number

how much a kill with the weapon will gain you

damage

number

the weapon's base damage

range

number

the weapon's max range

range_modifier

number

the weapon's range modifier

throw_velocity

number

the velocity of grenades

max_player_speed

number

the max speed while running with the weapon

max_player_speed_alt

number

the max speed while walking with the weapon

zoom_levels

number

the number of zoom levels

zoom_fov1

number

the fov of the first zoom

zoom_fov2

number

the fov of the second zoom

cycle_time

number

the weapon's cycle time

Previousplayer_infoNextuser_cmd

Last updated 2 years ago

​

​​

​​

Variable name
Datatype
Description