Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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