• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

anti hack for changing bullet type

Newbie Spellweaver
Joined
May 5, 2016
Messages
64
Reaction score
81
this will end their mission and not allowing them to join the server if that changed any of their bullet types


[] spawn
{
while {true} do
{
_hand = primaryWeapon player;
if (getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "LaserBombCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "FuelExplosion" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "R_PG7V_AT" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "R_PG7VL_AT" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "R_PG7VR_AT" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "R_RPG18_AT" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "R_OG7_AT" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "HelicopterExploBig" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "MissileCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "BombCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "RocketCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "PipeBombCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "BulletCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "ShotgunCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "ShellCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "GrenadeCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "TimeBombCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "MineCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "FlareCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "SmokeShellCore" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "FakeAmmo" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "Grenade" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "GrenadeHand" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "BulletBase" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "ShotgunBase" or getText(configFile >> "cfgWeapons" >> _hand >> "chamberedRound") == "FakeAmmoAAAAAA" or unitRecoilCoefficient player != 1) then
{
endMission "END1";
};
};
};
 
Back
Top