I have everything in the cpp right i think, but it doesn't shoot any bullets, and when i look in the scope it constantly spins. How would i go about fixing this?
Here is the config
// Sniper by Bioxx
// Basic def.
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
class CCSniperRifle
{
units[]={NODSniper};
weapons[]={CCS};
requiredVersion=1.00000;
};
};
class CfgModels
{
class Default{};
class Weapon: Default{};
class CCS : Weapon{};
};
class CfgAmmo
{
class default {};
class BulletSingle: default {};
class BulletSniper: BulletSingle {};
class CCSAmmo: BulletSniper {};
};
class CfgWeapons
{
class Default {};
class MGun: Default {};
class Riffle: MGun {};
class SniperRiffle : Riffle {};
class M21 : SniperRiffle{};
class CCS: M21
{
model="\CCS\sniper";
displayName="NOD Sniper Rifle";
displayNameMagazine="CCS Mag";
magazines[]={"CCS"};
ammo=BulletSniper;
picture="\CCS\hires037.pac";
};
};
class CfgVehicles
{
class All{};
class AllVehicles:All{};
class Land:AllVehicles{};
class Man:Land{};
class Soldier:Man{}
class SoldierEB:Soldier{};
class NODSniper: SoldierEB
{
access=2
displayName="NOD Sniper";
weapons[]={"Throw","Put","CCS"};
magazines[]={"CCS","CCS","CCS","CCS"};
};
};
class CfgNonAIVehicles
{
class ProxyWeapon {};
class ProxyNODSniper : ProxyWeapon {};
};
Thanks in advance.