Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Remove Weapon SiothieGaming german Youtubechannel: http://www.youtube.com/user/SiothieGaming
- //Lines underneath are just a small tutorial
- // the Number in the Bracket is Important, -1 means Pilot seat
- //Try getting up with these numbers when you want to remove from another seat (e.g. gunner, front gunner, rear gunner etc. pp)
- // For every seat you have to do something like i did
- //_object magazinesTurret [-1];
- //_object removeMagazinesTurret ["14Rnd_FFAR",[-1]]; If you want to remove something from another seat at the same time you need to do something like this:
- // _object magazinesTurret [1];
- //_object removeMagazinesTurret ["14Rnd_FFAR",[1]]; I'm not completly sure now which number is which seat. I only know that -1 is pilot seat.
- {
- if (_object isKindof "BRDM2_HQ_TK_GUE_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["100Rnd_762x54_PK",[-1]];
- };
- if (_object isKindof "BTR40_MG_TK_INS_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["50Rnd_127x107_DSHKM",[-1]];
- };
- if (_object isKindof "BTR40_MG_TK_GUE_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["50Rnd_127x107_DSHKM",[-1]];
- };
- if (_object isKindof "LandRover_SPG9_TK_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["PG9_AT",[-1]];
- _object removeMagazinesTurret ["OG9_HE",[-1]];
- };
- if (_object isKindof "Offroad_SPG9_TK_GUE_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["PG9_AT",[-1]];
- _object removeMagazinesTurret ["OG9_HE",[-1]];
- };
- if (_object isKindof "UAZ_SPG9_INS") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["PG9_AT",[-1]];
- _object removeMagazinesTurret ["OG9_HE",[-1]];
- };
- if (_object isKindof "Offroad_SPG9_Gue") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["PG9_AT",[-1]];
- _object removeMagazinesTurret ["OG9_HE",[-1]];
- };
- if (_object isKindof "M113_TK_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
- };
- if (_object isKindof "M113_UN_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
- };
- if (_object isKindof "BTR60_TK_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["500Rnd_145x115_KPVT",[-1]];
- _object removeMagazinesTurret ["1500Rnd_762x54_PKT",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "KPVT";
- };
- if (_object isKindof "BRDM2_TK_EP1") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["500Rnd_145x115_KPVT",[-1]];
- _object removeMagazinesTurret ["1500Rnd_762x54_PKT",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "KPVT";
- };
- if (_object isKindof "AAV") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["48Rnd_40mm_MK19",[-1]];
- _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "MK19";
- };
- if (_object isKindof "BTR90_DZE") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["250Rnd_30mmAP_2A42",[-1]];
- _object removeMagazinesTurret ["250Rnd_30mmHE_2A42",[-1]];
- _object removeMagazinesTurret ["2000Rnd_762x54_PKT",[-1]];
- _object removeMagazinesTurret ["8Rnd_AT5_BMP2",[-1]];
- _object removeMagazinesTurret ["400Rnd_30mm_AGS17",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "AT5LauncherSingle";
- _object removeWeapon "AGS17";
- _object removeWeapon "2A42";
- };
- if (_object isKindof "LAV25_DZE") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["210Rnd_25mm_M242_APDS",[-1]];
- _object removeMagazinesTurret ["210Rnd_25mm_M242_HEI",[-1]];
- _object removeMagazinesTurret ["1200Rnd_762x51_M240",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "M242";
- };
- if (_object isKindof "F35B") then {
- _object magazinesTurret [-1];
- _object removeMagazinesTurret ["300Rnd_25mm_GAU12",[-1]];
- _object removeMagazinesTurret ["2Rnd_GBU12",[-1]];
- _object removeMagazinesTurret ["2Rnd_Sidewinder_F35",[-1]];
- _object WeaponsTurret [-1];
- _object removeWeapon "GAU12";
- _object removeWeapon "BombLauncherF35";
- _object removeWeapon "SidewinderLaucher_F35";
- };
- //THIS IS STILL IN TESTING PHASE, IT COULD SCREW UP YOUR WHOLE SERVER
- //Just put the Classname of the Vehicle there and it should disable thear vision.
- // For example my server runs fine with it (Epoch Panthera) but a friend of mine screwed up his whole database
- if (_object isKindof "F35B") then {
- _object disableTIEquipment true;
- };
- if (_object isKindof "LAV25_DZE") then {
- _object disableTIEquipment true;
- };
- if (_object isKindof "BTR90_DZE") then {
- _object disableTIEquipment true;
- };
- if (_object isKindof "AAV") then {
- _object disableTIEquipment true;
- };
- if (_object isKindof "BRDM2_TK_EP1") then {
- _object disableTIEquipment true;
- };
- if (_object isKindof "BTR60_TK_EP1") then {
- _object disableTIEquipment true;
- };
- //TESTING STUFF END
- } forEach vehicles; //Not completly necessary, it just makes sure no vehicle is left out during the process (e.g. high server load)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement