Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help isnipe perks Help!
#1
i have isnipe mod how to make these codes work on it i tryed _rank _class did not work
C++ Code
  1. togglePerk()
  2. {
  3. self endon("death");
  4. self endon("disconnect");
  5. self notifyOnPlayerCommand( "togglePerk", "+actionslot 2" );
  6.  
  7. for(;;)
  8. {
  9. self waittill("togglePerk");
  10. {
  11.  
  12. self _clearPerks();
  13. self iPrintLnBold( "^0|^3Marathon^1[^2ON^1]^0|" );
  14. self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
  15. self maps\mp\perks\_perks::givePerk("specialty_marathon");
  16. self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
  17. self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
  18. self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
  19. self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
  20. self maps\mp\perks\_perks::givePerk("specialty_automantle");
  21. self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
  22. self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
  23. self maps\mp\perks\_perks::givePerk("specialty_rof");
  24. self maps\mp\perks\_perks::givePerk("specialty_fasthands");
  25. self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
  26.  
  27. }
  28. self waittill("togglePerk");
  29. {
  30.  
  31. self _clearPerks();
  32. self iPrintLnBold( "^0|^3SOH^1[^2ON^1]^0|" );
  33. self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
  34. self maps\mp\perks\_perks::givePerk("specialty_holdbreath");
  35. self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
  36. self maps\mp\perks\_perks::givePerk("specialty_fastreload");
  37. self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
  38. self maps\mp\perks\_perks::givePerk("specialty_automantle");
  39. self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
  40. self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
  41. self maps\mp\perks\_perks::givePerk("specialty_rof");
  42. self maps\mp\perks\_perks::givePerk("specialty_fasthands");
  43. self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
  44. self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
  45.  
  46. }
  47. }
  48. }
Reply

#2
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");    

}
}

Try this.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.