Guest User

Untitled

a guest
Jan 4th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.93 KB | None | 0 0
  1. if (strcmp(level, "Grove", true) == 0)
  2. {
  3. PlayerInfo[para1][pMember] = TEAM_GROVE;
  4. gTeam[para1] = TEAM_GROVE;
  5. PlayerInfo[para1][pRank] = 6;
  6. SpawnPlayer(para1);
  7. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Grove Street Families'%s'",GetName(playerid), GetName(para1), TeamInfo[1][TeamName]);
  8. SendAdminMessage(COLOR_YELLOW, string);
  9. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Grove'%s' îò %s.", TeamInfo[1][TeamName],GetName(playerid));
  10. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  11. }
  12. if (strcmp(level, "Ballas", true) == 0)
  13. {
  14. PlayerInfo[para1][pMember] = TEAM_BALLAS;
  15. gTeam[para1] = TEAM_BALLAS;
  16. PlayerInfo[para1][pRank] = 6;
  17. SpawnPlayer(para1);
  18. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Ballas'%s",GetName(playerid), GetName(para1), TeamInfo[2][TeamName]);
  19. SendAdminMessage(COLOR_YELLOW, string);
  20. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Ballas'%s' îò %s.", TeamInfo[2][TeamName],GetName(playerid));
  21. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  22. }
  23. if (strcmp(level, "Vagos", true) == 0)
  24. {
  25. PlayerInfo[para1][pMember] = TEAM_VAGOS;
  26. gTeam[para1] = TEAM_VAGOS;
  27. PlayerInfo[para1][pRank] = 6;
  28. SpawnPlayer(para1);
  29. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Vagos%s",GetName(playerid), GetName(para1), TeamInfo[3][TeamName]);
  30. SendAdminMessage(COLOR_YELLOW, string);
  31. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Vagos'%s' îò %s.", TeamInfo[3][TeamName],GetName(playerid));
  32. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  33. }
  34. if (strcmp(level, "Stunt", true) == 0)
  35. {
  36. PlayerInfo[para1][pMember] = TEAM_STUNT;
  37. gTeam[para1] = TEAM_STUNT;
  38. PlayerInfo[para1][pRank] = 6;
  39. SpawnPlayer(para1);
  40. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà Riches families",GetName(playerid), GetName(para1), TeamInfo[4][TeamName]);
  41. SendAdminMessage(COLOR_YELLOW, string);
  42. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Riches Families'%s' îò %s.", TeamInfo[4][TeamName],GetName(playerid));
  43. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  44. }
  45. if (strcmp(level, "Aztecas", true) == 0)
  46. {
  47. PlayerInfo[para1][pMember] = TEAM_AZTECAS;
  48. gTeam[para1] = TEAM_AZTECAS;
  49. PlayerInfo[para1][pRank] = 6;
  50. SpawnPlayer(para1);
  51. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Aztecas%s",GetName(playerid), GetName(para1), TeamInfo[5][TeamName]);
  52. SendAdminMessage(COLOR_YELLOW, string);
  53. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â '%s' îò %s.", TeamInfo[5][TeamName],GetName(playerid));
  54. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  55. }
  56. if (strcmp(level, "BMafia", true) == 0)
  57. {
  58. PlayerInfo[para1][pMember] = TEAM_BLACKMAFIA;
  59. gTeam[para1] = TEAM_BLACKMAFIA;
  60. PlayerInfo[para1][pRank] = 6;
  61. SpawnPlayer(para1);
  62. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Black Mafia'%s",GetName(playerid), GetName(para1), TeamInfo[6][TeamName]);
  63. SendAdminMessage(COLOR_YELLOW, string);
  64. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Black Mafia'%s' îò %s.", TeamInfo[6][TeamName],GetName(playerid));
  65. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  66. }
  67. if (strcmp(level, "Yakuza", true) == 0)
  68. {
  69. PlayerInfo[para1][pMember] = TEAM_YAKUZA;
  70. gTeam[para1] = TEAM_YAKUZA;
  71. PlayerInfo[para1][pRank] = 6;
  72. SpawnPlayer(para1);
  73. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Japanese Yakuza'%s",GetName(playerid), GetName(para1), TeamInfo[7][TeamName]);
  74. SendAdminMessage(COLOR_YELLOW, string);
  75. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Japanese Yakuza'%s' îò %s.", TeamInfo[7][TeamName],GetName(playerid));
  76. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  77. }
  78. if (strcmp(level, "VCripz", true) == 0)
  79. {
  80. PlayerInfo[para1][pMember] = TEAM_CRIPZ;
  81. gTeam[para1] = TEAM_CRIPZ;
  82. PlayerInfo[para1][pRank] = 6;
  83. SpawnPlayer(para1);
  84. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Vinewood Cripz'%s",GetName(playerid), GetName(para1), TeamInfo[8][TeamName]);
  85. SendAdminMessage(COLOR_YELLOW, string);
  86. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Vinewood CripZ'%s' îò %s.", TeamInfo[8][TeamName],GetName(playerid));
  87. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  88. }
  89. if (strcmp(level, "Police", true) == 0)
  90. {
  91. PlayerInfo[para1][pMember] = TEAM_POLICE;
  92. gTeam[para1] = TEAM_POLICE;
  93. PlayerInfo[para1][pRank] = 6;
  94. SpawnPlayer(para1);
  95. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà Police'%s",GetName(playerid), GetName(para1), TeamInfo[9][TeamName]);
  96. SendAdminMessage(COLOR_YELLOW, string);
  97. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Police'%s' îò %s.", TeamInfo[9][TeamName],GetName(playerid));
  98. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  99. }
  100. if (strcmp(level, "BadBoys", true) == 0)
  101. {
  102. PlayerInfo[para1][pMember] = TEAM_BADBOYS;
  103. gTeam[para1] = TEAM_BADBOYS;
  104. PlayerInfo[para1][pRank] = 6;
  105. SpawnPlayer(para1);
  106. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Bad Boys'%s'",GetName(playerid), GetName(para1), TeamInfo[10][TeamName]);
  107. SendAdminMessage(COLOR_YELLOW, string);
  108. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â BadBoys'%s' îò %s.", TeamInfo[10][TeamName],GetName(playerid));
  109. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  110. }
  111. if (strcmp(level, "Army", true) == 0)
  112. {
  113. PlayerInfo[para1][pMember] = TEAM_ARMY;
  114. gTeam[para1] = TEAM_ARMY;
  115. PlayerInfo[para1][pRank] = 6;
  116. SpawnPlayer(para1);
  117. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà Army'%s",GetName(playerid), GetName(para1), TeamInfo[11][TeamName]);
  118. SendAdminMessage(COLOR_YELLOW, string);
  119. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Army'%s' îò %s.", TeamInfo[11][TeamName],GetName(playerid));
  120. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  121. }
  122. if (strcmp(level, "AFArmy", true) == 0)
  123. {
  124. PlayerInfo[para1][pMember] = TEAM_AFARMY;
  125. gTeam[para1] = TEAM_AFARMY;
  126. PlayerInfo[para1][pRank] = 6;
  127. SpawnPlayer(para1);
  128. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà AF Army'%s",GetName(playerid), GetName(para1), TeamInfo[12][TeamName]);
  129. SendAdminMessage(COLOR_YELLOW, string);
  130. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â AF Army'%s' îò %s.", TeamInfo[12][TeamName],GetName(playerid));
  131. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  132. }
  133. if (strcmp(level, "Jizzy", true) == 0)
  134. {
  135. PlayerInfo[para1][pMember] = TEAM_JIZZY;
  136. gTeam[para1] = TEAM_JIZZY;
  137. PlayerInfo[para1][pRank] = 6;
  138. SpawnPlayer(para1);
  139. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Jizzy'%s",GetName(playerid), GetName(para1), TeamInfo[13][TeamName]);
  140. SendAdminMessage(COLOR_YELLOW, string);
  141. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Jizzy'%s' îò %s.", TeamInfo[13][TeamName],GetName(playerid));
  142. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  143. }
  144. if (strcmp(level, "Bloods", true) == 0)
  145. {
  146. PlayerInfo[para1][pMember] = TEAM_BLOODS;
  147. gTeam[para1] = TEAM_BLOODS;
  148. PlayerInfo[para1][pRank] = 6;
  149. SpawnPlayer(para1);
  150. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Bloods'%s",GetName(playerid), GetName(para1), TeamInfo[14][TeamName]);
  151. SendAdminMessage(COLOR_YELLOW, string);
  152. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Bloods'%s' îò %s.", TeamInfo[14][TeamName],GetName(playerid));
  153. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  154. }
  155. if (strcmp(level, "AsianT", true) == 0)
  156. {
  157. PlayerInfo[para1][pMember] = TEAM_ASIANTRIADS;
  158. gTeam[para1] = TEAM_ASIANTRIADS;
  159. PlayerInfo[para1][pRank] = 6;
  160. SpawnPlayer(para1);
  161. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Asian Triads'%s",GetName(playerid), GetName(para1), TeamInfo[15][TeamName]);
  162. SendAdminMessage(COLOR_YELLOW, string);
  163. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Asian Triads'%s' îò %s.", TeamInfo[15][TeamName],GetName(playerid));
  164. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  165. }
  166. if (strcmp(level, "BikerBoys", true) == 0)
  167. {
  168. PlayerInfo[para1][pMember] = TEAM_BIKERBOYS;
  169. gTeam[para1] = TEAM_BIKERBOYS;
  170. PlayerInfo[para1][pRank] = 6;
  171. SpawnPlayer(para1);
  172. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ BikerBoys'%s",GetName(playerid), GetName(para1), TeamInfo[16][TeamName]);
  173. SendAdminMessage(COLOR_YELLOW, string);
  174. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â BikerBoys'%s' îò %s.", TeamInfo[16][TeamName],GetName(playerid));
  175. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  176. }
  177. if (strcmp(level, "MIB", true) == 0)
  178. {
  179. PlayerInfo[para1][pMember] = TEAM_MIB;
  180. gTeam[para1] = TEAM_MIB;
  181. PlayerInfo[para1][pRank] = 6;
  182. SpawnPlayer(para1);
  183. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ MIB'%s",GetName(playerid), GetName(para1), TeamInfo[17][TeamName]);
  184. SendAdminMessage(COLOR_YELLOW, string);
  185. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â MIB'%s' îò %s.", TeamInfo[17][TeamName],GetName(playerid));
  186. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  187. }
  188. if (strcmp(level, "RUS", true) == 0)
  189. {
  190. PlayerInfo[para1][pMember] = TEAM_RUS;
  191. gTeam[para1] = TEAM_RUS;
  192. PlayerInfo[para1][pRank] = 6;
  193. SpawnPlayer(para1);
  194. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Russian Mafia'%s",GetName(playerid), GetName(para1), TeamInfo[18][TeamName]);
  195. SendAdminMessage(COLOR_YELLOW, string);
  196. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Russian Mafia'%s' îò %s.", TeamInfo[18][TeamName],GetName(playerid));
  197. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  198. }
  199. if (strcmp(level, "LVPD", true) == 0)
  200. {
  201. PlayerInfo[para1][pMember] = TEAM_LVPD;
  202. gTeam[para1] = TEAM_LVPD;
  203. PlayerInfo[para1][pRank] = 6;
  204. SpawnPlayer(para1);
  205. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ LVPD'%s'",GetName(playerid), GetName(para1), TeamInfo[19][TeamName]);
  206. SendAdminMessage(COLOR_YELLOW, string);
  207. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â LVPD'%s' îò %s.", TeamInfo[19][TeamName],GetName(playerid));
  208. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  209. }
  210. if (strcmp(level, "CIA", true) == 0)
  211. {
  212. PlayerInfo[para1][pMember] = TEAM_CIA;
  213. gTeam[para1] = TEAM_CIA;
  214. PlayerInfo[para1][pRank] = 6;
  215. SpawnPlayer(para1);
  216. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ CIA'%s'",GetName(playerid), GetName(para1), TeamInfo[20][TeamName]);
  217. SendAdminMessage(COLOR_YELLOW, string);
  218. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â CIA'%s' îò %s.", TeamInfo[20][TeamName],GetName(playerid));
  219. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  220. }
  221. if (strcmp(level, "CM", true) == 0)
  222. {
  223. PlayerInfo[para1][pMember] = TEAM_LE;
  224. gTeam[para1] = TEAM_LE;
  225. PlayerInfo[para1][pRank] = 6;
  226. SpawnPlayer(para1);
  227. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà FBI'%s'",GetName(playerid), GetName(para1), TeamInfo[21][TeamName]);
  228. SendAdminMessage(COLOR_YELLOW, string);
  229. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â FBI%s' îò %s.", TeamInfo[21][TeamName],GetName(playerid));
  230. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  231. }
  232. if (strcmp(level, "AG", true) == 0)
  233. {
  234. PlayerInfo[para1][pMember] = TEAM_AG;
  235. gTeam[para1] = TEAM_AG;
  236. PlayerInfo[para1][pRank] = 6;
  237. SpawnPlayer(para1);
  238. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ Cowboys'%s'",GetName(playerid), GetName(para1), TeamInfo[22][TeamName]);
  239. SendAdminMessage(COLOR_YELLOW, string);
  240. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Cowboys'%s' îò %s.", TeamInfo[22][TeamName],GetName(playerid));
  241. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  242. }
  243. if (strcmp(level, "Civilian", true) == 0)
  244. {
  245. PlayerInfo[para1][pMember] = TEAM_CIVILIAN;
  246. gTeam[para1] = TEAM_CIVILIAN;
  247. PlayerInfo[para1][pRank] = 0;
  248. SpawnPlayer(para1);
  249. format(string, sizeof(string), "%s ïðåìàõíà îò ëèäåðñòâî %s ñåãà òîé å öèâèëåí",GetName(playerid), GetName(para1));
  250. SendAdminMessage(COLOR_YELLOW, string);
  251. format(string, sizeof(string), "Òè âå÷å íåñè ëèäåð, âå÷å ñè öèâèëåí îò àäìèí %s.", GetName(playerid));
  252. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  253. }
  254. if (strcmp(level, "SK", true) == 0)
  255. {
  256. PlayerInfo[para1][pMember] = TEAM_SK;
  257. gTeam[para1] = TEAM_SK;
  258. PlayerInfo[para1][pRank] = 6;
  259. SpawnPlayer(para1);
  260. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà áàíäà/ìàôèÿ '%s'",GetName(playerid), GetName(para1), TeamInfo[24][TeamName]);
  261. SendAdminMessage(COLOR_YELLOW, string);
  262. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â '%s' îò '%s'", TeamInfo[24][TeamName],GetName(playerid));
  263. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  264. }
  265. if (strcmp(level, "UMB", true) == 0)
  266. {
  267. PlayerInfo[para1][pMember] = TEAM_UMB;
  268. gTeam[para1] = TEAM_UMB;
  269. PlayerInfo[para1][pRank] = 6;
  270. SpawnPlayer(para1);
  271. format(string, sizeof(string), "%s íàïðàâè %s ëèäåð íà Umbrella Corporation '%s'",GetName(playerid), GetName(para1), TeamInfo[25][TeamName]);
  272. SendAdminMessage(COLOR_YELLOW, string);
  273. format(string, sizeof(string), "Òè áåøå íàçíà÷åí çà ëèäåð â Umbrella Corporation%s' îò '%s'", TeamInfo[25][TeamName],GetName(playerid));
  274. SendClientMessage(para1, COLOR_LIGHTBLUE, string);
  275. }
  276. }
  277. }//not connected
  278. }
  279. else
  280. {
  281. return 1;
  282. }
  283. }
  284. return 1;
  285. }
Advertisement
Add Comment
Please, Sign In to add comment