XADRENALINEIX

MaDD x SNiiP3Zz 10 SCO Keyboard Loader

May 20th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.53 KB | None | 0 0
  1. #include <natives.h>
  2. #include <common.h>
  3. #include <consts.h>
  4. #include <types.h>
  5. #include <strings.h>
  6.  
  7. #define KEY_0 11
  8. #define KEY_1 2
  9. #define KEY_2 3
  10. #define KEY_3 4
  11. #define KEY_4 5
  12. #define KEY_5 6
  13. #define KEY_6 7
  14. #define KEY_7 8
  15. #define KEY_8 9
  16. #define KEY_9 10
  17.  
  18. void Print(char *string){
  19. PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", string, 5000, 1);
  20. }
  21.  
  22. void ModLoader(void){
  23.   if(IS_GAME_KEYBOARD_KEY_PRESSED(2)){
  24.   REQUEST_SCRIPT("plugin1");
  25.   while(!HAS_SCRIPT_LOADED("plugin1"));
  26.  
  27.   if(!HAS_SCRIPT_LOADED("plugin1")){
  28.   Print("Mod Slot 1 Activated.");
  29.   return;
  30. }
  31. }
  32.  
  33.   if(IS_GAME_KEYBOARD_KEY_PRESSED(3)){
  34.   REQUEST_SCRIPT("plugin2");
  35.   while(!HAS_SCRIPT_LOADED("plugin2"));
  36.  
  37.   if(!HAS_SCRIPT_LOADED("plugin2")){
  38.   Print("Mod Slot 2 Activated.");
  39.   return;
  40.   }
  41.   }
  42.  
  43.   if(IS_GAME_KEYBOARD_KEY_PRESSED(4)){
  44.   REQUEST_SCRIPT("plugin3");
  45.   while(!HAS_SCRIPT_LOADED("plugin3"));
  46.  
  47.   if(!HAS_SCRIPT_LOADED("plugin3")){
  48.   Print("Mod Slot 3 Activated.");
  49.   return;
  50.   }
  51.   }
  52.  
  53.   if(IS_GAME_KEYBOARD_KEY_PRESSED(5)){
  54.   REQUEST_SCRIPT("plugin4");
  55.   while(!HAS_SCRIPT_LOADED("plugin4"));
  56.  
  57.   if(!HAS_SCRIPT_LOADED("plugin4")){
  58.   Print("Mod Slot 4 Activated.");
  59.   return;
  60.   }
  61.   }
  62.  
  63.   if(IS_GAME_KEYBOARD_KEY_PRESSED(6)){
  64.   REQUEST_SCRIPT("plugin5");
  65.   while(!HAS_SCRIPT_LOADED("plugin5"));
  66.  
  67.   if(!HAS_SCRIPT_LOADED("plugin5")){
  68.   Print("Mod Slot 5 Activated.");
  69.   return;
  70.   }
  71.   }
  72.  
  73.   if(IS_GAME_KEYBOARD_KEY_PRESSED(7)){
  74.   REQUEST_SCRIPT("plugin6");
  75.   while(!HAS_SCRIPT_LOADED("plugin6"));
  76.  
  77.   if(!HAS_SCRIPT_LOADED("plugin6")){
  78.   Print("Mod Slot 6 Activated.");
  79.   return;
  80.   }
  81.   }
  82.  
  83.   if(IS_GAME_KEYBOARD_KEY_PRESSED(8)){
  84.   REQUEST_SCRIPT("plugin7");
  85.   while(!HAS_SCRIPT_LOADED("plugin7"));
  86.  
  87.   if(!HAS_SCRIPT_LOADED("plugin7")){
  88.   Print("Mod Slot 7 Activated.");
  89.   return;
  90.   }
  91.   }
  92.  
  93.   if(IS_GAME_KEYBOARD_KEY_PRESSED(9)){
  94.   REQUEST_SCRIPT("plugin8");
  95.   while(!HAS_SCRIPT_LOADED("plugin8"));
  96.  
  97.   if(!HAS_SCRIPT_LOADED("plugin8")){
  98.   Print("Mod Slot 8 Activated.");
  99.   return;
  100.   }
  101.   }
  102.  
  103.   if(IS_GAME_KEYBOARD_KEY_PRESSED(10)){
  104.   REQUEST_SCRIPT("plugin9");
  105.   while(!HAS_SCRIPT_LOADED("plugin9"));
  106.  
  107.   if(!HAS_SCRIPT_LOADED("plugin9")){
  108.   Print("Mod Slot 9 Activated.");
  109.   return;
  110.   }
  111.   }
  112.  
  113.   if(IS_GAME_KEYBOARD_KEY_PRESSED(11)){
  114.   REQUEST_SCRIPT("plugin10");
  115.   while(!HAS_SCRIPT_LOADED("plugin10"));
  116.  
  117.   if(!HAS_SCRIPT_LOADED("plugin10")){
  118.   Print("Mod Slot 10 Activated.");
  119.   return;
  120.   }
  121.   }
  122.   }
  123.  
  124.   void main(void){
  125.   THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
  126.   ModLoader();
  127.   while(1);
  128.   }
Advertisement
Add Comment
Please, Sign In to add comment