mirror of
https://github.com/rei-2/Amalgam.git
synced 2026-10-11 17:58:15 +08:00
21 lines
452 B
C++
21 lines
452 B
C++
#pragma once
|
|
#include "../../../SDK/SDK.h"
|
|
|
|
class CAutoRocketJump
|
|
{
|
|
private:
|
|
bool SetAngles(CTFPlayer* pLocal, CTFWeaponBase* pWeapon, CUserCmd* pCmd);
|
|
|
|
Vec3 m_vAngles = {};
|
|
bool m_bFull = false;
|
|
int m_iFrame = -1;
|
|
int m_iDelay = 0;
|
|
int m_iChoke = 0;
|
|
bool m_bRunning = false;
|
|
|
|
public:
|
|
void Run(CTFPlayer* pLocal, CTFWeaponBase* pWeapon, CUserCmd* pCmd);
|
|
bool IsRunning() { return m_bRunning; }
|
|
};
|
|
|
|
ADD_FEATURE(CAutoRocketJump, AutoRocketJump); |