Difference between revisions of "CAK47 (CS)"
(→Entity Data) |
|||
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"). |
|} | |} | ||
− | |||
== Entity Information == | == Entity Information == |
Revision as of 15:05, 8 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 6 #define AK47_MAXSPEED 221.0 #define AK47_WEIGHT 25 #define AK47_DEFAULT_GIVE 30 #define AK47_MAX_CARRY 90 #define AK47_MAX_CLIP 30