Advertisement
Guest User

gang

a guest
Jul 12th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define GROVE 0
  4. #define BALLAS 1
  5. #define AZTECAS 2
  6. #define VAGOS 3
  7. #define YAKUZA 4
  8. #define BIKER 5
  9.  
  10.  
  11. #define FILTERSCRIPT
  12.  
  13. public OnGameModeInit( )
  14. {
  15. SetGameModeText("Gangwar");
  16. AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//GROVE
  17. AddPlayerClass(106, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//GROVE
  18. AddPlayerClass(107, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//GROVE
  19. AddPlayerClass(270, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//GROVE
  20. AddPlayerClass(102, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BALLAS
  21. AddPlayerClass(103, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BALLAS
  22. AddPlayerClass(104, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BALLAS
  23. AddPlayerClass(296, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BALLAS
  24. AddPlayerClass(108, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//VAGOS
  25. AddPlayerClass(109, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//VAGOS
  26. AddPlayerClass(110, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//VAGOS
  27. AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//VAGOS
  28. AddPlayerClass(114, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//AZTECAS
  29. AddPlayerClass(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//AZTECAS
  30. AddPlayerClass(116, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//AZTECAS
  31. AddPlayerClass(292, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//AZTECAS
  32. AddPlayerClass(100, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BIKER
  33. AddPlayerClass(247, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BIKER
  34. AddPlayerClass(248, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BIKER
  35. AddPlayerClass(181, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//BIKER
  36. AddPlayerClass(118, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//YAKUZA
  37. AddPlayerClass(120, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//YAKUZA
  38. AddPlayerClass(228, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//YAKUZA
  39. AddPlayerClass(294, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);//YAKUZA
  40. return 1;
  41. }
  42.  
  43. public OnPlayerRequestClass( playerid, classid )
  44. {
  45. switch ( classid )
  46. {
  47. case 0:
  48. {
  49. GameTextForPlayer( playerid, "~g~GROVE STREET", 300, 3 );
  50. SetPlayerTeam( playerid,GROVE );
  51. }
  52. case 1:
  53. {
  54. GameTextForPlayer( playerid, "~p~BALLAS", 300, 3 );
  55. SetPlayerTeam( playerid,BALLAS );
  56. }
  57. case 2:
  58. {
  59. GameTextForPlayer( playerid, "~y~VAGOS", 300, 3 );
  60. SetPlayerTeam( playerid,VAGOS );
  61. }
  62. case 3:
  63. {
  64. GameTextForPlayer( playerid, "~c~AZTECAS", 300, 3 );
  65. SetPlayerTeam( playerid,AZTECAS );
  66. }
  67. case 4:
  68. {
  69. GameTextForPlayer( playerid, "~l~BIKER", 300, 3 );
  70. SetPlayerTeam( playerid,BIKER );
  71. }
  72. case 4:
  73. {
  74. GameTextForPlayer( playerid, "~r~YAKUZA", 300, 3 );
  75. SetPlayerTeam( playerid,YAKUZA );
  76. }
  77. }
  78. return 1;
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement