Difference between revisions of "CAK47 (CS)"

From AlliedModders Wiki
Jump to: navigation, search
 
Line 59: Line 59:
 
| Event index as of precache_event (event: "events/ak47.sc").
 
| Event index as of precache_event (event: "events/ak47.sc").
 
|}
 
|}
 +
  
 
== Entity Information ==
 
== Entity Information ==

Latest revision as of 17:03, 11 April 2010


Basic Information

  • Classname: CAK47.
  • Description: Avtomat Kalashnikova 47 (AK47) weapon for CS.


Class Hierarchy


Entity Data

W = Windows | L = Linux

Name W. Offset L. Offset L. Diff Type Description
m_bDelayFire 59 63 +4 BOOL None.
m_flAccuracy 62 66 +4 float Default value: 0.2.
m_iShotsFired 64 68 +4 int Amount of shots fired at once.
n_iShell 78 82 +4 int Model index for shells (model: "models/rshell.mdl").
m_usEvent 80 84 +4 int Event index as of precache_event (event: "events/ak47.sc").


Entity Information

#define WEAPON_AK47        28
 
#define AK47_MAXSPEED      221.0
#define AK47_WEIGHT        25
#define AK47_DEFAULT_GIVE  30
#define AK47_MAX_CARRY     90
#define AK47_MAX_CLIP      30