mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
This commit is contained in:
parent
0eda4b83a9
commit
9b5bfd8cd2
@ -88,6 +88,18 @@ int CWeaponEinarChaingun::GetItemInfo( ItemInfo *p )
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CWeaponEinarChaingun::AddToPlayer( CBasePlayer *pPlayer )
|
||||||
|
{
|
||||||
|
if( CBasePlayerWeapon::AddToPlayer( pPlayer ) )
|
||||||
|
{
|
||||||
|
MESSAGE_BEGIN( MSG_ONE, gmsgWeapPickup, NULL, pPlayer->pev );
|
||||||
|
WRITE_BYTE( m_iId );
|
||||||
|
MESSAGE_END();
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL CWeaponEinarChaingun::Deploy()
|
BOOL CWeaponEinarChaingun::Deploy()
|
||||||
{
|
{
|
||||||
return DefaultDeploy( "models/v_tfac.mdl", "models/p_tfac.mdl", CHAINGUN_DRAW, "egon" );
|
return DefaultDeploy( "models/v_tfac.mdl", "models/p_tfac.mdl", CHAINGUN_DRAW, "egon" );
|
||||||
|
@ -1206,6 +1206,7 @@ public:
|
|||||||
void Spawn();
|
void Spawn();
|
||||||
void Precache();
|
void Precache();
|
||||||
int iItemSlot() { return 4; }
|
int iItemSlot() { return 4; }
|
||||||
|
int AddToPlayer( CBasePlayer *pPlayer );
|
||||||
int GetItemInfo(ItemInfo *p);
|
int GetItemInfo(ItemInfo *p);
|
||||||
|
|
||||||
void PrimaryAttack();
|
void PrimaryAttack();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user