Difference between revisions of "CUSP (CS)"
(One intermediate revision by the same user not shown) | |||
Line 65: | Line 65: | ||
| style="text-align:center" | +4 | | style="text-align:center" | +4 | ||
| style="text-align:center" | int | | style="text-align:center" | int | ||
− | | Bit flag status of weapon silencer/shield | + | | Bit flag status of weapon silencer/shield |
− | (1<<0) : USP_SILENCED | + | <pawn> |
− | (1<<2) : M4A1_SILENCED | + | ( 1 << 0 ) : USP_SILENCED |
− | (1<<5) : SHIELD_ARMED</pawn> | + | ( 1 << 2 ) : M4A1_SILENCED |
+ | ( 1 << 5 ) : SHIELD_ARMED</pawn> | ||
|- class="t2td" | |- class="t2td" | ||
| n_iShell | | n_iShell |
Latest revision as of 16:11, 11 April 2010
Basic Information
- Classname: CUSP.
- Description: Universale Selbstladepistole (USP) weapong for CS.
Class Hierarchy
- CBaseEntity
- CBaseDelay
- CBaseAnimating
- CBasePlayerItem
- CBasePlayerWeapon
- CUSP (weapon_usp)
- CBasePlayerWeapon
- CBasePlayerItem
- CBaseAnimating
- CBaseDelay
Entity Data
W = Windows | L = Linux
Name | W. Offset | L. Offset | L. Diff | Type | Description |
---|---|---|---|---|---|
m_flWeaponSpeed | 58 | 62 | +4 | float | Weapon max speed. |
m_flAccuracy | 62 | 66 | +4 | BOOL | Default value: 0.90. |
m_flLastFire | 63 | 67 | +4 | float | The time of the last shoot. |
m_iShotsFired | 64 | 68 | +4 | int | Amount of shots fired at once. |
m_iViewModel | 68 | 72 | +4 | int | Model index for viewmodel. |
m_fWeaponState | 74 | 78 | +4 | int | Bit flag status of weapon silencer/shield
( 1 << 0 ) : USP_SILENCED ( 1 << 2 ) : M4A1_SILENCED ( 1 << 5 ) : SHIELD_ARMED |
n_iShell | 78 | 82 | +4 | int | Model index for shells (model: "models/pshell.mdl"). |
m_usEvent | 79 | 83 | +4 | int | Event index as of precache_event (event: "events/deagle.sc"). |
Entity Information
#define WEAPON_USP 16 #define USP_WEIGHT 5 #define USP_DEFAULT_GIVE 30 #define USP_MAX_CARRY 100 #define USP_MAX_CLIP 12 #define USP_SILENCED ( 1 << 0 )