0x32789
Expert
Hi, learning C++, My last program I made was:-
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
and this is header file
Why is this happening?
VS 2012 Update 2(no time to waste time downloading update 5 fucking 2.8 GB)
Hello world :trollface: (jk, I made a console half scientific calculator nig)
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)