Difference between revisions of "CAK47 (CS)"
(5 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
*** [[CBaseAnimating (CS)|CBaseAnimating]] | *** [[CBaseAnimating (CS)|CBaseAnimating]] | ||
**** [[CBasePlayerItem (CS)|CBasePlayerItem]] | **** [[CBasePlayerItem (CS)|CBasePlayerItem]] | ||
− | ***** | + | ***** [[CBasePlayerWeapon (CS)|CBasePlayerWeapon]] |
****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']] | ****** [[CAK47 (CS)|CAK47 ''(weapon_ak47)'']] | ||
Line 36: | Line 36: | ||
| style="text-align:center" | +4 | | style="text-align:center" | +4 | ||
| style="text-align:center" | float | | style="text-align:center" | float | ||
− | | | + | | Default value: 0.2. |
|- class="t2td" | |- class="t2td" | ||
| m_iShotsFired | | m_iShotsFired | ||
Line 43: | Line 43: | ||
| style="text-align:center" | +4 | | style="text-align:center" | +4 | ||
| style="text-align:center" | int | | style="text-align:center" | int | ||
− | | | + | | Amount of shots fired at once. |
|- class="t2td" | |- class="t2td" | ||
| n_iShell | | n_iShell | ||
Line 50: | Line 50: | ||
| style="text-align:center" | +4 | | style="text-align:center" | +4 | ||
| style="text-align:center" | int | | style="text-align:center" | int | ||
− | | | + | | Model index for shells (model: "models/rshell.mdl"). |
|- class="t2td" | |- class="t2td" | ||
| m_usEvent | | m_usEvent | ||
Line 57: | Line 57: | ||
| style="text-align:center" | +4 | | style="text-align:center" | +4 | ||
| style="text-align:center" | int | | style="text-align:center" | int | ||
− | | Event index as of precache_event. | + | | Event index as of precache_event (event: "events/ak47.sc"). |
|} | |} | ||
Line 64: | Line 64: | ||
<pawn> | <pawn> | ||
− | #define WEAPON_AK47 | + | #define WEAPON_AK47 28 |
#define AK47_MAXSPEED 221.0 | #define AK47_MAXSPEED 221.0 |
Latest revision as of 16: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