05-22-2014, 13:39
(This post was last modified: 05-25-2014, 08:29 by SuperNovaAO.)
i have isnipe mod how to make these codes work on it i tryed _rank _class did not work
C++ Code
- togglePerk()
- {
- self endon("death");
- self endon("disconnect");
- self notifyOnPlayerCommand( "togglePerk", "+actionslot 2" );
-
- for(;;)
- {
- self waittill("togglePerk");
- {
-
- self _clearPerks();
- self iPrintLnBold( "^0|^3Marathon^1[^2ON^1]^0|" );
- self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
- self maps\mp\perks\_perks::givePerk("specialty_marathon");
- self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
- self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
- self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
- self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
- self maps\mp\perks\_perks::givePerk("specialty_automantle");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
- self maps\mp\perks\_perks::givePerk("specialty_rof");
- self maps\mp\perks\_perks::givePerk("specialty_fasthands");
- self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
-
- }
- self waittill("togglePerk");
- {
-
- self _clearPerks();
- self iPrintLnBold( "^0|^3SOH^1[^2ON^1]^0|" );
- self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
- self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
- self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
- self maps\mp\perks\_perks::givePerk("specialty_fastreload");
- self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
- self maps\mp\perks\_perks::givePerk("specialty_automantle");
- self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
- self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
- self maps\mp\perks\_perks::givePerk("specialty_rof");
- self maps\mp\perks\_perks::givePerk("specialty_fasthands");
- self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
- self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
-
- }
- }
- }