Advertisement
macquid123560

box system jailbreak

Nov 13th, 2015
1,007
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.01 KB | None | 0 0
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include < amxmodx >
  4. #include < fakemeta >
  5. #include < ColorChat >
  6. #include < hamsandwich >
  7. #include < cstrike >
  8. #include < fun >
  9.  
  10. #define PLUGIN "Menu "
  11. #define VERSION "1.0"
  12. #define AUTHOR "@.TheBomb`"
  13. #define PREFIX "Titaniums"
  14.  
  15. public plugin_init() {
  16.     register_plugin(PLUGIN, VERSION, AUTHOR)
  17.    
  18.     set_task(12.0, "amirshai", _,_,_, "b");
  19.    
  20.     register_clcmd("say /box","Menu");
  21.    
  22.     register_logevent("evRound", 2, "1=Round_Start");
  23.     RegisterHam(Ham_TakeDamage, "player", "FwDTakeDamage");
  24. }
  25.  
  26. public FwDTakeDamage(victim, inflictor, killer, Flot:AmirShaiGever, AmirShaiBatata)
  27. {
  28.     if( killer != victim && cs_get_user_team( killer ) == CS_TEAM_CT && cs_get_user_team( victim ) == CS_TEAM_CT) return HAM_SUPERCEDE
  29.     return HAM_IGNORED
  30. }
  31.  
  32. public evRound()        server_cmd("mp_friendlyfire 0")
  33.  
  34. public Menu(id) {
  35.    
  36.     if(get_user_team(id) ==2)
  37.     {
  38.         new szItem[255]
  39.        
  40.         formatex(szItem, charsmax(szItem), "\yTitaniums\d -\r Box Menu ");
  41.         new mMenu = menu_create("Main Help","MenuHandler");
  42.        
  43.         formatex(szItem, charsmax(szItem), "Box Start");
  44.         menu_additem(mMenu, szItem);
  45.  
  46.         formatex(szItem, charsmax(szItem), "Box Stop");
  47.         menu_additem(mMenu, szItem);
  48.        
  49.         formatex(szItem, charsmax(szItem), "Reset Health \r(\y Terrorist\r )");
  50.         menu_additem(mMenu, szItem);
  51.    
  52.         menu_display(id, mMenu, 0);
  53.     }
  54.     else
  55.         ColorChat(id, NORMAL, "^4(^1 %s^4 )^1 You Have^3 No Acces^1 To This Command", PREFIX)
  56. }
  57.  
  58. public MenuHandler(id,menu,item, AmirBenZona, AmirKelevYam, AmirMrKrab)
  59. {
  60.     switch(item)
  61.     {
  62.         case 0:
  63.         {
  64.             Menu(id)
  65.             server_cmd( "mp_friendlyfire 1" );
  66.             ColorChat(0, NORMAL, "Counter Terrorist:^3 %s^1 Started The^4 Box",szName(id));
  67.             ColorChat(0, NORMAL, "!!! ׳™׳‘׳×׳›׳ž ׳™׳© ׳¨׳™׳ž׳ ׳×׳ ׳’׳•׳¨׳”׳œ")
  68.             set_hudmessage( random_num(0, 255), random_num(0, 255), random_num(0, 255), -1.0, 0.01)
  69.             show_hudmessage(0,  "Counter Terrorist: %s Started The Box", szName(id))
  70.  
  71.         }
  72.         case 1:
  73.         {
  74.             Menu(id)
  75.             server_cmd( "mp_friendlyfire 0" );
  76.             ColorChat(0, NORMAL, "Counter Terrorist:^3 %s^1 Stoped The^4 Box",szName(id));
  77.            
  78.             set_hudmessage( random_num(0, 255), random_num(0, 255), random_num(0, 255), -1.0, 0.01)
  79.             show_hudmessage(0,  "Counter Terrorist: %s Stoped The Box", szName(id))
  80.        
  81.         }
  82.         case 2:
  83.         {
  84.             Menu(id)           
  85.             new players[ 32 ], pnum;
  86.             get_players( players, pnum, "ae", "TERRORIST" );
  87.            
  88.             for( new i; i < pnum; i++ )
  89.                 set_user_health( players[ i ], 100 );
  90.            
  91.             ColorChat( 0, RED, "^x03[%s]^x04 %s^x01 has reset ^4terrorist's health^1.", PREFIX, szName(id) );
  92.         }
  93.                  
  94.     }
  95. }
  96.  
  97. public amirshai()
  98. {
  99.     ColorChat(0, NORMAL, "^4http://i.imgur.com/FGP5DUD.png^1 ׳×׳™׳“׳¢׳œ׳‘ ׳”׳ ׳•׳ž׳× ׳׳œ׳ž ׳׳•׳¨׳™׳¢׳‘ ׳™׳‘׳×׳›׳ž ׳™׳© ׳¨׳™׳ž׳");
  100. }
  101.  
  102. stock szName( client )
  103. {
  104.         static Name[ 55 ];
  105.        
  106.         get_user_name( client, Name, charsmax( Name ) );
  107.        
  108.         return Name;
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement