DoBulletImpact undeclared identifier?

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
Hi, learning C++, My last program I made was:-
Hello world  :trollface: (jk, I made a console half scientific calculator nig)
I'm trying to add a /.peacemaker command to normal s0b with some things from la pirula source. (fake bullets)

error C2065: 'FUNC_CWeapon_DoBulletImpact' : undeclared identifier \src\game_sa\CWeaponSA.cpp 100 1 mod_sa

Line is this in CWeaponSA.cpp
Code:
void CWeaponSA::DoBulletImpact( CEntity * pFiringEntity, CEntitySAInterface * pEntityInterface, CVector * pvecOrigin, CVector * pvecTarget, CColPoint * pColPoint, int i_1 )

and this is header file
Code:
class CWeaponSA : public CWeapon
{
private:
	CWeaponSAInterface		* internalInterface;
	CPed					* owner;
	eWeaponSlot 			m_weaponSlot;
public:
	CWeaponSA(CWeaponSAInterface * weaponInterface, CPed * ped, eWeaponSlot weaponSlot);
	eWeaponType		GetType(  );
	VOID			SetType( eWeaponType type );
	eWeaponState	GetState(  );
    void            SetState ( eWeaponState state );
	DWORD			GetAmmoInClip(  );
	VOID			SetAmmoInClip( DWORD dwAmmoInClip );
	DWORD			GetAmmoTotal(  );
	VOID			SetAmmoTotal( DWORD dwAmmoTotal );
	
	CPed			* GetPed();
	eWeaponSlot		GetSlot();

	VOID			SetAsCurrentWeapon();
	CWeaponInfo		* GetInfo() { return pGame->GetWeaponInfo(internalInterface->m_eWeaponType); };

    void            Remove ();
	void			DoBulletImpact( CEntity * pFiringEntity, CEntitySAInterface * pEntityInterface, CVector * pvecOrigin, CVector * pvecTarget, CColPoint * pColPoint, int i_1 );
};

Why is this happening?

VS 2012 Update 2(no time to waste time downloading update 5 fucking 2.8 GB)
 
Top