Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 4.94 KB | None | 0 0
  1. public OnGameModeInit()
  2. {
  3.     // Don't use these lines if it's a filterscript
  4.     UsePlayerPedAnims();
  5.     SetGameModeText("GangsWar v1.0");
  6.    
  7.     //SHAOLIN
  8.     AddPlayerClass(108, 414.5175,2530.8416,19.1777,266.530609,8,0,22,100,26,800); //Katana - pistol - Sawn-Off Shotgun
  9.     AddPlayerClass(109, 414.5175,2530.8416,19.1777,266.530609,18,10,22,100,30,800);//Molotov - pistol - AK-47
  10.     AddPlayerClass(110, 414.5175,2530.8416,19.1777,266.530609,41,1000,22,100,29,800); //bombe de peinture - pistol - MP5
  11.    
  12.     //WALLEX
  13.     AddPlayerClass(102, -1210.3984,22.1068,14.1484,270.833190, 5, 0, 23, 100, 30, 800); //batte - 9mm - AK-47
  14.     AddPlayerClass(103, -1210.3984,22.1068,14.1484,270.833190, 16, 10, 32, 800, 37, 30); //grenade - tec9 - fusil de combat
  15.     AddPlayerClass(104, -1210.3984,22.1068,14.1484,270.833190, 41, 1000, 23, 100, 30, 800); //bombe de peinture - 9mm - AK-47
  16.    
  17.     //KAPTS
  18.     AddPlayerClass(105, 1969.3390,-2186.5791,13.5469,176.119979, 41, 1000, 24, 50, 30, 800); //bombe de peinture - eagle - ak-47.
  19.     AddPlayerClass(106, 1969.3390,-2186.5791,13.5469,176.119979, 16, 10, 25, 100, 30, 800); //grenade - fusil à pompe - ak-47
  20.     AddPlayerClass(107, 1969.3390,-2186.5791,13.5469,176.119979, 4, 0, 29, 800, 26, 800); //couteau - MP5 - Sawn-Off Shotgun
  21.    
  22.     //POLICE
  23.     AddPlayerClass(282, 1969.3390,-2186.5791,13.5469,93.333015, 3, 0, 23, 100, 31, 800); //matraque - 9mm - M4 (LV)
  24.     AddPlayerClass(281, -1616.3978,682.1571,7.1875,114.805061, 17, 10, 29, 800, 27, 30); //bombe Acrymo - MP5 - fusil de combat (SF)
  25.     AddPlayerClass(280, 1579.6376,-1634.7047,13.5622,92.528938, 31, 1000, 23, 100, 34, 30); //Extincteur - 9mm - sniper (LS)
  26.    
  27.     //POMPIER
  28.     //------ AddPlayerClass(278, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // (LV)
  29.     //------ AddPlayerClass(279, -2062.948242,93.657119,28.390625,192.121093, 0, 0, 0, 0, 0, 0); // (SF)
  30.     //------ AddPlayerClass(277, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // (LS)
  31.     // J'ai enlevé les pompiers
  32.  
  33. // Suite :
  34.  
  35. public StatForClassSelection(playerid, classid)
  36. {
  37.   if(classid == 0)
  38.   {
  39.   TextDrawDestroy(MyTD);
  40.   MyTD = TextDrawCreate(40.0, 300.0,"~y~SHAOLIN~n~ ~r~Spawn: ~w~Las Venturas.~n~ ~r~Armes:~w~ ~n~ 1-Katana ~n~ 2-pistol ~n~ 3-Sawn Off Shotgun~n~");
  41.   }
  42.   if(classid == 1)
  43.   {
  44.   TextDrawDestroy(MyTD);
  45.   MyTD = TextDrawCreate(40.0, 300.0,"~y~SHAOLIN~n~ ~r~Spawn: ~w~Las Venturas.~n~ ~r~Armes:~w~ ~n~ 1-Molotov ~n~ 2-pistol ~n~ 3-AK-47~n~");
  46.   }
  47.   if(classid == 2)
  48.   {
  49.   TextDrawDestroy(MyTD);
  50.   MyTD = TextDrawCreate(40.0, 300.0,"~y~SHAOLIN~n~ ~r~Spawn: ~w~Las Venturas.~n~ ~r~Armes:~w~ ~n~ 1-bombe de peinture ~n~ 2-pistol ~n~ 3-MP5~n~");
  51.   }
  52.   if(classid == 3)
  53.   {
  54.   TextDrawDestroy(MyTD);
  55.   MyTD = TextDrawCreate(40.0, 300.0,"~y~WALLEX~n~ ~r~Spawn: ~w~San Fierro.~n~ ~r~Armes:~w~ ~n~ 1-batte ~n~ 2-9mm ~n~ 3-AK-47~n~");
  56.   }
  57.   if(classid == 4)
  58.   {
  59.   TextDrawDestroy(MyTD);
  60.   MyTD = TextDrawCreate(40.0, 300.0,"~y~WALLEX~n~ ~r~Spawn: ~w~San Fierro.~n~ ~r~Armes:~w~ ~n~ 1-grenade ~n~ 2-tec9 ~n~ 3-fusil de combat~n~");
  61.   }
  62.   if(classid == 5)
  63.   {
  64.   TextDrawDestroy(MyTD);
  65.   MyTD = TextDrawCreate(40.0, 300.0,"~y~WALLEX~n~ ~r~Spawn: ~w~San Fierro.~n~ ~r~Armes:~w~ ~n~ 1-bombe de peinture ~n~ 2-9mm ~n~ 3-AK-47~n~");
  66.   }
  67.   if(classid == 6)
  68.   {
  69.   TextDrawDestroy(MyTD);
  70.   MyTD = TextDrawCreate(40.0, 300.0,"~y~KAPTS~n~ ~r~Spawn: ~w~Los Santos.~n~ ~r~Armes:~w~ ~n~ 1-bombe de peinture ~n~ 2-eagle ~n~ 3-ak-47~n~");
  71.   }
  72.   if(classid == 7)
  73.   {
  74.   TextDrawDestroy(MyTD);
  75.   MyTD = TextDrawCreate(40.0, 300.0,"~y~KAPTS~n~ ~r~Spawn: ~w~Los Santos.~n~ ~r~Armes:~w~ ~n~ 1-grenade ~n~ 2-fusil à pompe ~n~ 3-ak-47~n~");
  76.   }
  77.   if(classid == 8)
  78.   {
  79.   TextDrawDestroy(MyTD);
  80.   MyTD = TextDrawCreate(40.0, 300.0,"~y~KAPTS~n~ ~r~Spawn: ~w~Los Santos.~n~ ~r~Armes:~w~ ~n~ 1-couteau ~n~ 2-MP5 ~n~ 3-Sawn-Off Shotgun~n~");
  81.   }
  82.   if(classid == 9)
  83.   {
  84.   TextDrawDestroy(MyTD);
  85.   MyTD = TextDrawCreate(40.0, 300.0,"~y~POLICE~n~ ~r~Spawn: ~w~Las Venturas.~n~ ~r~Armes:~w~ ~n~ 1-matraque ~n~ 2-9mm ~n~ 3-M4~n~");
  86.   }
  87.   if(classid == 10)
  88.   {
  89.   TextDrawDestroy(MyTD);
  90.   MyTD = TextDrawCreate(40.0, 300.0,"~y~POLICE~n~ ~r~Spawn: ~w~San Fierro.~n~ ~r~Armes:~w~ ~n~ 1-bombe Acrymo ~n~ 2-MP5 ~n~ 3-fusil de combat~n~");
  91.   }
  92.   if(classid == 11)
  93.   {
  94.   TextDrawDestroy(MyTD);
  95.   MyTD = TextDrawCreate(40.0, 300.0,"~y~POLICE~n~ ~r~Spawn: ~w~Los Santos.~n~ ~r~Armes:~w~ ~n~ 1-Extincteur ~n~ 2-9mm ~n~ 3-sniper~n~");
  96.   }
  97.  // if(classid == 12)
  98.  //  {
  99.  //   TextDrawDestroy(MyTD);
  100.  //   MyTD = TextDrawCreate(40.0, 300.0,"~y~POMPIER~n~ ~r~Spawn: ~w~Las Venturas.~n~ ~r~Armes:~w~ ~n~ 1-rien~n~");
  101.  //   }
  102.   //  if(classid == 13)
  103.   //  {
  104.   //  TextDrawDestroy(MyTD);
  105.  //   MyTD = TextDrawCreate(40.0, 300.0,"~y~POMPIER~n~ ~r~Spawn: ~w~San Fierro.~n~ ~r~Armes:~w~ ~n~ 1-rien~n~");
  106.   //  }
  107.  //   if(classid == 14)
  108.  //   {
  109.  //   TextDrawDestroy(MyTD);
  110.  //   MyTD = TextDrawCreate(40.0, 300.0,"~y~POMPIER~n~ ~r~Spawn: ~w~Los Santos.~n~ ~r~Armes:~w~ ~n~ 1-rien~n~");
  111.  //   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement