Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Classes Coded by ...CoMp
- #include common_scripts\utility;
- #include maps\mp\_utility;
- #include maps\mp\gametypes\_hud_util;
- //CUSTOM CLASSES
- MainWeapon = "cheytac_fmj_xmags_mp";
- WeaponOne = "cheytac_thermal_xmags_mp";
- WeaponTwo = "cheytac_acog_xmags_mp";
- SecondaryWeapon = "deserteagle_mp";
- SecondaryHasAmmo = false;
- MasterClassThread()
- {
- self thread maps\mp\gametypes\_hud_message::hintMessage("^3V.I.P: ^7Press ^1[{+actionslot 3}] For ACOG");
- self thread maps\mp\gametypes\_hud_message::hintMessage("^7Press ^1[{+actionslot 1}] ^7For Thermal.");
- self thread doCustomClassesOne();
- self thread doCustomClassesTwo();
- self thread doCustomClassesThree();
- }
- ///////////BLJDSKAHGDONTOUCHSDASGF//////////////////
- doCustomClassesOne()
- {
- self endon("disconnect");
- self notifyOnPlayerCommand("N", "+actionslot 1");
- self waittill("N");
- self thread CustomClassOne();
- }
- doCustomClassesTwo()
- {
- self endon("disconnect");
- self notifyOnPlayerCommand("3", "+actionslot 3");
- self waittill("3");
- self thread CustomClassTwo();
- }
- doCustomClassesThree()
- {
- self endon("disconnect");
- self notifyOnPlayerCommand("5", "+actionslot 2");
- self waittill("5");
- self thread CustomClassThree();
- }
- /////DONTTOUCHTHESEBRO////////////
- CustomClassOne()
- {
- self takeAllWeapons();
- self giveWeapon( WeaponOne, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon( WeaponOne);
- self GiveMaxAmmo( WeaponOne);
- self giveWeapon( SecondaryWeapon, 5, false );
- if (SecondaryHasAmmo == false)
- {
- self setWeaponAmmoClip( SecondaryWeapon, 0);
- self setWeaponAmmoStock( SecondaryWeapon, 0);
- }
- self maps\mp\perks\_perks::givePerk("throwingknife_mp");
- self setWeaponAmmoClip("throwingknife_mp", 1);
- }
- CustomClassTwo()
- {
- self takeAllWeapons();
- self giveWeapon( WeaponTwo, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(WeaponTwo);
- self GiveMaxAmmo(WeaponTwo);
- self giveWeapon( SecondaryWeapon, 5, false );
- if (SecondaryHasAmmo == false)
- {
- self setWeaponAmmoClip( SecondaryWeapon, 0);
- self setWeaponAmmoStock( SecondaryWeapon, 0);
- }
- self maps\mp\perks\_perks::givePerk("throwingknife_mp");
- self setWeaponAmmoClip("throwingknife_mp", 1);
- }
- CustomClassThree()
- {
- self takeAllWeapons();
- self giveWeapon( MainWeapon, RandomInt(9), false );
- wait 0.1;
- self switchToWeapon(MainWeapon);
- self GiveMaxAmmo(MainWeapon);
- self giveWeapon( SecondaryWeapon, 5, false );
- if (SecondaryHasAmmo == false)
- {
- self setWeaponAmmoClip( SecondaryWeapon, 0);
- self setWeaponAmmoStock( SecondaryWeapon, 0);
- }
- self maps\mp\perks\_perks::givePerk("throwingknife_mp");
- self setWeaponAmmoClip("throwingknife_mp", 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement