Difference between revisions of "CAK47 (CS)"
(→Class Hierarchy) |
|||
Line 15: | Line 15: | ||
***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]] | ***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]] | ||
****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']] | ****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']] | ||
+ | |||
== Entity Data == | == Entity Data == |
Revision as of 15:58, 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