Advertisement
Guest User

ghghghghghghghgh

a guest
Dec 11th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.99 KB | None | 0 0
  1. public OnPlayerRequestClass(playerid, classid)
  2. {
  3. if(IsConnected[playerid] == 0) return 0;
  4. for(new i=0; i<10; i++)
  5. {
  6. // ELC_AC_EnablePlayerCheatID(playerid,i,false);
  7. }
  8. switch(classid) {
  9. case 0: {
  10. SetPlayerTeam(playerid, JUSTICE);
  11. InSafe[playerid] = 0; // pas safe
  12. packgun[playerid] = 0;
  13. InWar[playerid] = 1;
  14. TeamClan[playerid] = 0;
  15.  
  16.  
  17. PlayerTextDrawShow(playerid, Class0[playerid]);
  18.  
  19. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  20. PlayerTextDrawShow(playerid, Class4[playerid]);
  21. PlayerTextDrawHide(playerid, Class1[playerid]);
  22. PlayerTextDrawHide(playerid, Class2[playerid]);
  23. PlayerTextDrawHide(playerid, Class3[playerid]);
  24. PlayerTextDrawShow(playerid, Class5[playerid]);
  25. PlayerTextDrawHide(playerid, Class6[playerid]);
  26. PlayerTextDrawHide(playerid, Class7[playerid]);
  27. PlayerTextDrawHide(playerid, Class8[playerid]);
  28. PlayerTextDrawHide(playerid, Class9[playerid]);
  29. PlayerTextDrawHide(playerid, Class10[playerid]);
  30. PlayerTextDrawHide(playerid, Class11[playerid]);
  31. PlayerTextDrawHide(playerid, Class12[playerid]);
  32. PlayerTextDrawHide(playerid, Class13[playerid]);
  33. PlayerTextDrawHide(playerid, Class14[playerid]);
  34.  
  35. }
  36. case 1: {
  37. SetPlayerTeam(playerid, JUSTICE);
  38. InSafe[playerid] = 0; // pas safe
  39. packgun[playerid] = 1;
  40. InWar[playerid] = 1;
  41. TeamClan[playerid] = 0;
  42.  
  43. PlayerTextDrawShow(playerid, Class0[playerid]);
  44. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  45. PlayerTextDrawShow(playerid, Class4[playerid]);
  46. PlayerTextDrawHide(playerid, Class1[playerid]);
  47. PlayerTextDrawHide(playerid, Class2[playerid]);
  48. PlayerTextDrawHide(playerid, Class3[playerid]);
  49. PlayerTextDrawShow(playerid, Class5[playerid]);
  50. PlayerTextDrawHide(playerid, Class6[playerid]);
  51. PlayerTextDrawHide(playerid, Class7[playerid]);
  52. PlayerTextDrawHide(playerid, Class8[playerid]);
  53. PlayerTextDrawHide(playerid, Class9[playerid]);
  54. PlayerTextDrawHide(playerid, Class10[playerid]);
  55. PlayerTextDrawHide(playerid, Class11[playerid]);
  56. PlayerTextDrawHide(playerid, Class12[playerid]);
  57. PlayerTextDrawHide(playerid, Class13[playerid]);
  58. PlayerTextDrawHide(playerid, Class14[playerid]);
  59.  
  60. }
  61. case 2: {
  62. SetPlayerTeam(playerid, JUSTICE);
  63. InSafe[playerid] = 0; // pas safe
  64. packgun[playerid] = 2;
  65. InWar[playerid] = 1;
  66. TeamClan[playerid] = 0;
  67.  
  68. PlayerTextDrawShow(playerid, Class0[playerid]);
  69.  
  70. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  71. PlayerTextDrawShow(playerid, Class4[playerid]);
  72.  
  73. PlayerTextDrawHide(playerid, Class1[playerid]);
  74. PlayerTextDrawHide(playerid, Class2[playerid]);
  75. PlayerTextDrawHide(playerid, Class3[playerid]);
  76. PlayerTextDrawHide(playerid, Class6[playerid]);
  77. PlayerTextDrawShow(playerid, Class5[playerid]);
  78. PlayerTextDrawHide(playerid, Class7[playerid]);
  79. PlayerTextDrawHide(playerid, Class8[playerid]);
  80. PlayerTextDrawHide(playerid, Class9[playerid]);
  81. PlayerTextDrawHide(playerid, Class10[playerid]);
  82. PlayerTextDrawHide(playerid, Class11[playerid]);
  83. PlayerTextDrawHide(playerid, Class12[playerid]);
  84. PlayerTextDrawHide(playerid, Class13[playerid]);
  85. PlayerTextDrawHide(playerid, Class14[playerid]);
  86.  
  87. }
  88. case 3: {
  89. SetPlayerTeam(playerid, JUSTICE);
  90. InSafe[playerid] = 0; // pas safe
  91. packgun[playerid] = 3;
  92. InWar[playerid] = 1;
  93. TeamClan[playerid] = 0;
  94.  
  95. PlayerTextDrawShow(playerid, Class0[playerid]);
  96.  
  97. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  98. PlayerTextDrawShow(playerid, Class4[playerid]);
  99.  
  100. PlayerTextDrawHide(playerid, Class1[playerid]);
  101. PlayerTextDrawHide(playerid, Class2[playerid]);
  102. PlayerTextDrawHide(playerid, Class3[playerid]);
  103. PlayerTextDrawShow(playerid, Class5[playerid]);
  104. PlayerTextDrawHide(playerid, Class6[playerid]);
  105. PlayerTextDrawHide(playerid, Class7[playerid]);
  106. PlayerTextDrawHide(playerid, Class8[playerid]);
  107. PlayerTextDrawHide(playerid, Class9[playerid]);
  108. PlayerTextDrawHide(playerid, Class10[playerid]);
  109. PlayerTextDrawHide(playerid, Class11[playerid]);
  110. PlayerTextDrawHide(playerid, Class12[playerid]);
  111. PlayerTextDrawHide(playerid, Class13[playerid]);
  112. PlayerTextDrawHide(playerid, Class14[playerid]);
  113.  
  114. }
  115. case 4: {
  116. SetPlayerTeam(playerid, GROVE);
  117. InSafe[playerid] = 0; // pas safe
  118. packgun[playerid] = 0;
  119. InWar[playerid] = 1;
  120. TeamClan[playerid] = 0;
  121.  
  122. PlayerTextDrawShow(playerid, Class1[playerid]);
  123.  
  124. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  125. PlayerTextDrawShow(playerid, Class4[playerid]);
  126.  
  127. PlayerTextDrawHide(playerid, Class0[playerid]);
  128. PlayerTextDrawHide(playerid, Class2[playerid]);
  129. PlayerTextDrawHide(playerid, Class3[playerid]);
  130. PlayerTextDrawHide(playerid, Class5[playerid]);
  131. PlayerTextDrawHide(playerid, Class6[playerid]);
  132. PlayerTextDrawHide(playerid, Class7[playerid]);
  133. PlayerTextDrawHide(playerid, Class8[playerid]);
  134. PlayerTextDrawHide(playerid, Class9[playerid]);
  135. PlayerTextDrawHide(playerid, Class10[playerid]);
  136. PlayerTextDrawHide(playerid, Class11[playerid]);
  137. PlayerTextDrawHide(playerid, Class12[playerid]);
  138. PlayerTextDrawHide(playerid, Class13[playerid]);
  139. PlayerTextDrawHide(playerid, Class14[playerid]);
  140.  
  141. }
  142. case 5: {
  143. SetPlayerTeam(playerid, GROVE);
  144. InSafe[playerid] = 0; // pas safe
  145. packgun[playerid] = 1;
  146. InWar[playerid] = 1;
  147. TeamClan[playerid] = 0;
  148.  
  149. PlayerTextDrawShow(playerid, Class1[playerid]);
  150.  
  151. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  152. PlayerTextDrawShow(playerid, Class4[playerid]);
  153.  
  154. PlayerTextDrawHide(playerid, Class0[playerid]);
  155. PlayerTextDrawHide(playerid, Class2[playerid]);
  156. PlayerTextDrawHide(playerid, Class3[playerid]);
  157. PlayerTextDrawShow(playerid, Class5[playerid]);
  158. PlayerTextDrawHide(playerid, Class6[playerid]);
  159. PlayerTextDrawHide(playerid, Class7[playerid]);
  160. PlayerTextDrawHide(playerid, Class8[playerid]);
  161. PlayerTextDrawHide(playerid, Class9[playerid]);
  162. PlayerTextDrawHide(playerid, Class10[playerid]);
  163. PlayerTextDrawHide(playerid, Class11[playerid]);
  164. PlayerTextDrawHide(playerid, Class12[playerid]);
  165. PlayerTextDrawHide(playerid, Class13[playerid]);
  166. PlayerTextDrawHide(playerid, Class14[playerid]);
  167.  
  168. }
  169. case 6: {
  170. SetPlayerTeam(playerid, GROVE);
  171. InSafe[playerid] = 0; // pas safe
  172. packgun[playerid] = 2;
  173. InWar[playerid] = 1;
  174. TeamClan[playerid] = 0;
  175.  
  176. PlayerTextDrawShow(playerid, Class1[playerid]);
  177.  
  178. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  179. PlayerTextDrawShow(playerid, Class4[playerid]);
  180.  
  181. PlayerTextDrawHide(playerid, Class0[playerid]);
  182. PlayerTextDrawHide(playerid, Class2[playerid]);
  183. PlayerTextDrawHide(playerid, Class3[playerid]);
  184. PlayerTextDrawShow(playerid, Class5[playerid]);
  185. PlayerTextDrawHide(playerid, Class6[playerid]);
  186. PlayerTextDrawHide(playerid, Class7[playerid]);
  187. PlayerTextDrawHide(playerid, Class8[playerid]);
  188. PlayerTextDrawHide(playerid, Class9[playerid]);
  189. PlayerTextDrawHide(playerid, Class10[playerid]);
  190. PlayerTextDrawHide(playerid, Class11[playerid]);
  191. PlayerTextDrawHide(playerid, Class12[playerid]);
  192. PlayerTextDrawHide(playerid, Class13[playerid]);
  193. PlayerTextDrawHide(playerid, Class14[playerid]);
  194.  
  195. }
  196. case 7: {
  197. SetPlayerTeam(playerid, GROVE);
  198. InSafe[playerid] = 0; // pas safe
  199. packgun[playerid] = 3;
  200. InWar[playerid] = 1;
  201. TeamClan[playerid] = 0;
  202.  
  203. PlayerTextDrawShow(playerid, Class1[playerid]);
  204.  
  205. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  206. PlayerTextDrawShow(playerid, Class4[playerid]);
  207.  
  208. PlayerTextDrawHide(playerid, Class0[playerid]);
  209. PlayerTextDrawHide(playerid, Class2[playerid]);
  210. PlayerTextDrawHide(playerid, Class3[playerid]);
  211. PlayerTextDrawHide(playerid, Class6[playerid]);
  212. PlayerTextDrawShow(playerid, Class5[playerid]);
  213. PlayerTextDrawHide(playerid, Class7[playerid]);
  214. PlayerTextDrawHide(playerid, Class8[playerid]);
  215. PlayerTextDrawHide(playerid, Class9[playerid]);
  216. PlayerTextDrawHide(playerid, Class10[playerid]);
  217. PlayerTextDrawHide(playerid, Class11[playerid]);
  218. PlayerTextDrawHide(playerid, Class12[playerid]);
  219. PlayerTextDrawHide(playerid, Class13[playerid]);
  220. PlayerTextDrawHide(playerid, Class14[playerid]);
  221.  
  222. }
  223. case 8: {
  224. SetPlayerTeam(playerid, BALLAS);
  225. InSafe[playerid] = 0; // pas safe
  226. packgun[playerid] = 0;
  227. InWar[playerid] = 1;
  228. TeamClan[playerid] = 0;
  229.  
  230. PlayerTextDrawShow(playerid, Class2[playerid]);
  231.  
  232. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  233. PlayerTextDrawShow(playerid, Class4[playerid]);
  234.  
  235. PlayerTextDrawHide(playerid, Class0[playerid]);
  236. PlayerTextDrawHide(playerid, Class1[playerid]);
  237. PlayerTextDrawHide(playerid, Class3[playerid]);
  238. PlayerTextDrawHide(playerid, Class5[playerid]);
  239. PlayerTextDrawHide(playerid, Class6[playerid]);
  240. PlayerTextDrawHide(playerid, Class7[playerid]);
  241. PlayerTextDrawHide(playerid, Class8[playerid]);
  242. PlayerTextDrawHide(playerid, Class9[playerid]);
  243. PlayerTextDrawHide(playerid, Class10[playerid]);
  244. PlayerTextDrawHide(playerid, Class11[playerid]);
  245. PlayerTextDrawHide(playerid, Class12[playerid]);
  246. PlayerTextDrawHide(playerid, Class13[playerid]);
  247. PlayerTextDrawHide(playerid, Class14[playerid]);
  248.  
  249. }
  250. case 9: {
  251. SetPlayerTeam(playerid, BALLAS);
  252. InSafe[playerid] = 0; // pas safe
  253. packgun[playerid] = 1;
  254. InWar[playerid] = 1;
  255. TeamClan[playerid] = 0;
  256.  
  257. PlayerTextDrawShow(playerid, Class2[playerid]);
  258.  
  259. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  260. PlayerTextDrawShow(playerid, Class4[playerid]);
  261.  
  262. PlayerTextDrawHide(playerid, Class0[playerid]);
  263. PlayerTextDrawHide(playerid, Class1[playerid]);
  264. PlayerTextDrawHide(playerid, Class3[playerid]);
  265. PlayerTextDrawShow(playerid, Class5[playerid]);
  266. PlayerTextDrawHide(playerid, Class6[playerid]);
  267. PlayerTextDrawHide(playerid, Class7[playerid]);
  268. PlayerTextDrawHide(playerid, Class8[playerid]);
  269. PlayerTextDrawHide(playerid, Class9[playerid]);
  270. PlayerTextDrawHide(playerid, Class10[playerid]);
  271. PlayerTextDrawHide(playerid, Class11[playerid]);
  272. PlayerTextDrawHide(playerid, Class12[playerid]);
  273. PlayerTextDrawHide(playerid, Class13[playerid]);
  274. PlayerTextDrawHide(playerid, Class14[playerid]);
  275.  
  276. }
  277. case 10: {
  278. SetPlayerTeam(playerid, BALLAS);
  279. InSafe[playerid] = 0; // pas safe
  280. packgun[playerid] = 2;
  281. InWar[playerid] = 1;
  282. TeamClan[playerid] = 0;
  283.  
  284. PlayerTextDrawShow(playerid, Class2[playerid]);
  285.  
  286. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  287. PlayerTextDrawShow(playerid, Class4[playerid]);
  288.  
  289. PlayerTextDrawHide(playerid, Class0[playerid]);
  290. PlayerTextDrawHide(playerid, Class1[playerid]);
  291. PlayerTextDrawHide(playerid, Class3[playerid]);
  292. PlayerTextDrawShow(playerid, Class5[playerid]);
  293. PlayerTextDrawHide(playerid, Class6[playerid]);
  294. PlayerTextDrawHide(playerid, Class7[playerid]);
  295. PlayerTextDrawHide(playerid, Class8[playerid]);
  296. PlayerTextDrawHide(playerid, Class9[playerid]);
  297. PlayerTextDrawHide(playerid, Class10[playerid]);
  298. PlayerTextDrawHide(playerid, Class11[playerid]);
  299. PlayerTextDrawHide(playerid, Class12[playerid]);
  300. PlayerTextDrawHide(playerid, Class13[playerid]);
  301. PlayerTextDrawHide(playerid, Class14[playerid]);
  302.  
  303. }
  304. case 11: {
  305. SetPlayerTeam(playerid, BALLAS);
  306. InSafe[playerid] = 0; // pas safe
  307. packgun[playerid] = 3;
  308. InWar[playerid] = 1;
  309. TeamClan[playerid] = 0;
  310.  
  311. PlayerTextDrawShow(playerid, Class2[playerid]);
  312.  
  313. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  314. PlayerTextDrawShow(playerid, Class4[playerid]);
  315.  
  316. PlayerTextDrawHide(playerid, Class0[playerid]);
  317. PlayerTextDrawHide(playerid, Class1[playerid]);
  318. PlayerTextDrawHide(playerid, Class3[playerid]);
  319. PlayerTextDrawShow(playerid, Class5[playerid]);
  320. PlayerTextDrawHide(playerid, Class6[playerid]);
  321. PlayerTextDrawHide(playerid, Class7[playerid]);
  322. PlayerTextDrawHide(playerid, Class8[playerid]);
  323. PlayerTextDrawHide(playerid, Class9[playerid]);
  324. PlayerTextDrawHide(playerid, Class10[playerid]);
  325. PlayerTextDrawHide(playerid, Class11[playerid]);
  326. PlayerTextDrawHide(playerid, Class12[playerid]);
  327. PlayerTextDrawHide(playerid, Class13[playerid]);
  328. PlayerTextDrawHide(playerid, Class14[playerid]);
  329.  
  330. }
  331.  
  332. case 12: {
  333. SetPlayerTeam(playerid, VAGOS);
  334. InSafe[playerid] = 0; // pas safe
  335. packgun[playerid] = 0;
  336. InWar[playerid] = 1;
  337. TeamClan[playerid] = 0;
  338.  
  339. PlayerTextDrawHide(playerid, Class2[playerid]);
  340.  
  341. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  342. PlayerTextDrawShow(playerid, Class4[playerid]);
  343.  
  344. PlayerTextDrawHide(playerid, Class0[playerid]);
  345. PlayerTextDrawHide(playerid, Class1[playerid]);
  346. PlayerTextDrawShow(playerid, Class3[playerid]);
  347. PlayerTextDrawHide(playerid, Class5[playerid]);
  348. PlayerTextDrawHide(playerid, Class6[playerid]);
  349. PlayerTextDrawHide(playerid, Class7[playerid]);
  350. PlayerTextDrawHide(playerid, Class8[playerid]);
  351. PlayerTextDrawHide(playerid, Class9[playerid]);
  352. PlayerTextDrawHide(playerid, Class10[playerid]);
  353. PlayerTextDrawHide(playerid, Class11[playerid]);
  354. PlayerTextDrawHide(playerid, Class12[playerid]);
  355. PlayerTextDrawHide(playerid, Class13[playerid]);
  356. PlayerTextDrawHide(playerid, Class14[playerid]);
  357.  
  358. }
  359. case 13: {
  360. SetPlayerTeam(playerid, VAGOS);
  361. InSafe[playerid] = 0; // pas safe
  362. packgun[playerid] = 1;
  363. InWar[playerid] = 1;
  364. TeamClan[playerid] = 0;
  365.  
  366. PlayerTextDrawHide(playerid, Class2[playerid]);
  367.  
  368. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  369. PlayerTextDrawShow(playerid, Class4[playerid]);
  370.  
  371. PlayerTextDrawHide(playerid, Class0[playerid]);
  372. PlayerTextDrawHide(playerid, Class1[playerid]);
  373. PlayerTextDrawShow(playerid, Class3[playerid]);
  374. PlayerTextDrawShow(playerid, Class5[playerid]);
  375. PlayerTextDrawHide(playerid, Class6[playerid]);
  376. PlayerTextDrawHide(playerid, Class7[playerid]);
  377. PlayerTextDrawHide(playerid, Class8[playerid]);
  378. PlayerTextDrawHide(playerid, Class9[playerid]);
  379. PlayerTextDrawHide(playerid, Class10[playerid]);
  380. PlayerTextDrawHide(playerid, Class11[playerid]);
  381. PlayerTextDrawHide(playerid, Class12[playerid]);
  382. PlayerTextDrawHide(playerid, Class13[playerid]);
  383. PlayerTextDrawHide(playerid, Class14[playerid]);
  384.  
  385. }
  386. case 14: {
  387. SetPlayerTeam(playerid, VAGOS);
  388. InSafe[playerid] = 0; // pas safe
  389. packgun[playerid] = 2;
  390. InWar[playerid] = 1;
  391. TeamClan[playerid] = 0;
  392.  
  393. PlayerTextDrawHide(playerid, Class2[playerid]);
  394.  
  395. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  396. PlayerTextDrawShow(playerid, Class4[playerid]);
  397.  
  398. PlayerTextDrawHide(playerid, Class0[playerid]);
  399. PlayerTextDrawHide(playerid, Class1[playerid]);
  400. PlayerTextDrawShow(playerid, Class3[playerid]);
  401. PlayerTextDrawShow(playerid, Class5[playerid]);
  402. PlayerTextDrawHide(playerid, Class6[playerid]);
  403. PlayerTextDrawHide(playerid, Class7[playerid]);
  404. PlayerTextDrawHide(playerid, Class8[playerid]);
  405. PlayerTextDrawHide(playerid, Class9[playerid]);
  406. PlayerTextDrawHide(playerid, Class10[playerid]);
  407. PlayerTextDrawHide(playerid, Class11[playerid]);
  408. PlayerTextDrawHide(playerid, Class12[playerid]);
  409. PlayerTextDrawHide(playerid, Class13[playerid]);
  410. PlayerTextDrawHide(playerid, Class14[playerid]);
  411.  
  412. }
  413. case 15: {
  414. SetPlayerTeam(playerid, VAGOS);
  415. InSafe[playerid] = 0; // pas safe
  416. packgun[playerid] = 3;
  417. InWar[playerid] = 1;
  418. TeamClan[playerid] = 0;
  419.  
  420. PlayerTextDrawHide(playerid, Class2[playerid]);
  421. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  422. PlayerTextDrawShow(playerid, Class4[playerid]);
  423. PlayerTextDrawHide(playerid, Class0[playerid]);
  424. PlayerTextDrawHide(playerid, Class1[playerid]);
  425. PlayerTextDrawShow(playerid, Class3[playerid]);
  426. PlayerTextDrawShow(playerid, Class5[playerid]);
  427. PlayerTextDrawHide(playerid, Class6[playerid]);
  428. PlayerTextDrawHide(playerid, Class7[playerid]);
  429. PlayerTextDrawHide(playerid, Class8[playerid]);
  430. PlayerTextDrawHide(playerid, Class9[playerid]);
  431. PlayerTextDrawHide(playerid, Class10[playerid]);
  432. PlayerTextDrawHide(playerid, Class11[playerid]);
  433. PlayerTextDrawHide(playerid, Class12[playerid]);
  434. PlayerTextDrawHide(playerid, Class13[playerid]);
  435. PlayerTextDrawHide(playerid, Class14[playerid]);
  436.  
  437. }
  438. case 18: {
  439. SetPlayerTeam(playerid, AZTECAS);
  440. InSafe[playerid] = 0; // pas safe
  441. packgun[playerid] = 0;
  442. InWar[playerid] = 1;
  443. TeamClan[playerid] = 0;
  444.  
  445. PlayerTextDrawShow(playerid, Class11[playerid]);
  446. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  447. PlayerTextDrawShow(playerid, Class4[playerid]);
  448. PlayerTextDrawHide(playerid, Class0[playerid]);
  449. PlayerTextDrawHide(playerid, Class1[playerid]);
  450. PlayerTextDrawHide(playerid, Class3[playerid]);
  451. PlayerTextDrawHide(playerid, Class5[playerid]);
  452. PlayerTextDrawHide(playerid, Class6[playerid]);
  453. PlayerTextDrawHide(playerid, Class7[playerid]);
  454. PlayerTextDrawHide(playerid, Class8[playerid]);
  455. PlayerTextDrawHide(playerid, Class9[playerid]);
  456. PlayerTextDrawHide(playerid, Class10[playerid]);
  457. PlayerTextDrawHide(playerid, Class12[playerid]);
  458. PlayerTextDrawHide(playerid, Class13[playerid]);
  459. PlayerTextDrawHide(playerid, Class14[playerid]);
  460.  
  461. }
  462. case 19: {
  463. SetPlayerTeam(playerid, AZTECAS);
  464. InSafe[playerid] = 0; // pas safe
  465. packgun[playerid] = 1;
  466. InWar[playerid] = 1;
  467. TeamClan[playerid] = 0;
  468.  
  469. PlayerTextDrawShow(playerid, Class11[playerid]);
  470. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  471. PlayerTextDrawShow(playerid, Class4[playerid]);
  472. PlayerTextDrawHide(playerid, Class0[playerid]);
  473. PlayerTextDrawHide(playerid, Class1[playerid]);
  474. PlayerTextDrawHide(playerid, Class3[playerid]);
  475. PlayerTextDrawShow(playerid, Class5[playerid]);
  476. PlayerTextDrawHide(playerid, Class6[playerid]);
  477. PlayerTextDrawHide(playerid, Class7[playerid]);
  478. PlayerTextDrawHide(playerid, Class8[playerid]);
  479. PlayerTextDrawHide(playerid, Class9[playerid]);
  480. PlayerTextDrawHide(playerid, Class10[playerid]);
  481. PlayerTextDrawHide(playerid, Class12[playerid]);
  482. PlayerTextDrawHide(playerid, Class13[playerid]);
  483. PlayerTextDrawHide(playerid, Class14[playerid]);
  484.  
  485. }
  486. case 20: {
  487. SetPlayerTeam(playerid, AZTECAS);
  488. InSafe[playerid] = 0; // pas safe
  489. packgun[playerid] = 2;
  490. InWar[playerid] = 1;
  491. TeamClan[playerid] = 0;
  492.  
  493. PlayerTextDrawShow(playerid, Class11[playerid]);
  494. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  495. PlayerTextDrawShow(playerid, Class4[playerid]);
  496. PlayerTextDrawHide(playerid, Class0[playerid]);
  497. PlayerTextDrawHide(playerid, Class1[playerid]);
  498. PlayerTextDrawHide(playerid, Class3[playerid]);
  499. PlayerTextDrawShow(playerid, Class5[playerid]);
  500. PlayerTextDrawHide(playerid, Class6[playerid]);
  501. PlayerTextDrawHide(playerid, Class7[playerid]);
  502. PlayerTextDrawHide(playerid, Class8[playerid]);
  503. PlayerTextDrawHide(playerid, Class9[playerid]);
  504. PlayerTextDrawHide(playerid, Class10[playerid]);
  505. PlayerTextDrawHide(playerid, Class12[playerid]);
  506. PlayerTextDrawHide(playerid, Class13[playerid]);
  507. PlayerTextDrawHide(playerid, Class14[playerid]);
  508.  
  509. }
  510. case 21: {
  511. SetPlayerTeam(playerid, AZTECAS);
  512. InSafe[playerid] = 0; // pas safe
  513. packgun[playerid] = 3;
  514. InWar[playerid] = 1;
  515. TeamClan[playerid] = 0;
  516.  
  517. PlayerTextDrawShow(playerid, Class11[playerid]);
  518.  
  519. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  520. PlayerTextDrawShow(playerid, Class4[playerid]);
  521. PlayerTextDrawHide(playerid, Class0[playerid]);
  522. PlayerTextDrawHide(playerid, Class1[playerid]);
  523. PlayerTextDrawHide(playerid, Class3[playerid]);
  524. PlayerTextDrawShow(playerid, Class5[playerid]);
  525. PlayerTextDrawHide(playerid, Class6[playerid]);
  526. PlayerTextDrawHide(playerid, Class7[playerid]);
  527. PlayerTextDrawHide(playerid, Class8[playerid]);
  528. PlayerTextDrawHide(playerid, Class9[playerid]);
  529. PlayerTextDrawHide(playerid, Class10[playerid]);
  530. PlayerTextDrawHide(playerid, Class12[playerid]);
  531. PlayerTextDrawHide(playerid, Class13[playerid]);
  532. PlayerTextDrawHide(playerid, Class14[playerid]);
  533.  
  534. }
  535. case 22: {
  536. SetPlayerTeam(playerid, RIFA);
  537. InSafe[playerid] = 0; // pas safe
  538. packgun[playerid] = 0;
  539. InWar[playerid] = 1;
  540. TeamClan[playerid] = 0;
  541.  
  542. PlayerTextDrawShow(playerid, Class12[playerid]);
  543.  
  544. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  545. PlayerTextDrawShow(playerid, Class4[playerid]);
  546.  
  547. PlayerTextDrawHide(playerid, Class0[playerid]);
  548. PlayerTextDrawHide(playerid, Class1[playerid]);
  549. PlayerTextDrawHide(playerid, Class3[playerid]);
  550. PlayerTextDrawHide(playerid, Class5[playerid]);
  551. PlayerTextDrawHide(playerid, Class6[playerid]);
  552. PlayerTextDrawHide(playerid, Class7[playerid]);
  553. PlayerTextDrawHide(playerid, Class8[playerid]);
  554. PlayerTextDrawHide(playerid, Class9[playerid]);
  555. PlayerTextDrawHide(playerid, Class10[playerid]);
  556. PlayerTextDrawHide(playerid, Class11[playerid]);
  557. PlayerTextDrawHide(playerid, Class13[playerid]);
  558. PlayerTextDrawHide(playerid, Class14[playerid]);
  559.  
  560. }
  561. case 23: {
  562. SetPlayerTeam(playerid, RIFA);
  563. InSafe[playerid] = 0; // pas safe
  564. packgun[playerid] = 1;
  565. InWar[playerid] = 1;
  566. TeamClan[playerid] = 0;
  567.  
  568. PlayerTextDrawShow(playerid, Class12[playerid]);
  569.  
  570. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  571. PlayerTextDrawShow(playerid, Class4[playerid]);
  572.  
  573. PlayerTextDrawHide(playerid, Class0[playerid]);
  574. PlayerTextDrawHide(playerid, Class1[playerid]);
  575. PlayerTextDrawHide(playerid, Class3[playerid]);
  576. PlayerTextDrawShow(playerid, Class5[playerid]);
  577. PlayerTextDrawHide(playerid, Class6[playerid]);
  578. PlayerTextDrawHide(playerid, Class7[playerid]);
  579. PlayerTextDrawHide(playerid, Class8[playerid]);
  580. PlayerTextDrawHide(playerid, Class9[playerid]);
  581. PlayerTextDrawHide(playerid, Class10[playerid]);
  582. PlayerTextDrawHide(playerid, Class11[playerid]);
  583. PlayerTextDrawHide(playerid, Class13[playerid]);
  584. PlayerTextDrawHide(playerid, Class14[playerid]);
  585.  
  586. }
  587. case 24: {
  588. SetPlayerTeam(playerid, RIFA);
  589. InSafe[playerid] = 0; // pas safe
  590. packgun[playerid] = 2;
  591. InWar[playerid] = 1;
  592. TeamClan[playerid] = 0;
  593.  
  594. PlayerTextDrawShow(playerid, Class12[playerid]);
  595.  
  596. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  597. PlayerTextDrawShow(playerid, Class4[playerid]);
  598.  
  599. PlayerTextDrawHide(playerid, Class0[playerid]);
  600. PlayerTextDrawHide(playerid, Class1[playerid]);
  601. PlayerTextDrawHide(playerid, Class3[playerid]);
  602. PlayerTextDrawShow(playerid, Class5[playerid]);
  603. PlayerTextDrawHide(playerid, Class6[playerid]);
  604. PlayerTextDrawHide(playerid, Class7[playerid]);
  605. PlayerTextDrawHide(playerid, Class8[playerid]);
  606. PlayerTextDrawHide(playerid, Class9[playerid]);
  607. PlayerTextDrawHide(playerid, Class10[playerid]);
  608. PlayerTextDrawHide(playerid, Class11[playerid]);
  609. PlayerTextDrawHide(playerid, Class13[playerid]);
  610. PlayerTextDrawHide(playerid, Class14[playerid]);
  611.  
  612. }
  613. case 25: {
  614. SetPlayerTeam(playerid, RIFA);
  615. InSafe[playerid] = 0; // pas safe
  616. packgun[playerid] = 3;
  617. InWar[playerid] = 1;
  618. TeamClan[playerid] = 0;
  619.  
  620. PlayerTextDrawShow(playerid, Class12[playerid]);
  621.  
  622. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  623. PlayerTextDrawShow(playerid, Class4[playerid]);
  624.  
  625. PlayerTextDrawHide(playerid, Class0[playerid]);
  626. PlayerTextDrawHide(playerid, Class1[playerid]);
  627. PlayerTextDrawHide(playerid, Class3[playerid]);
  628. PlayerTextDrawShow(playerid, Class5[playerid]);
  629. PlayerTextDrawHide(playerid, Class6[playerid]);
  630. PlayerTextDrawHide(playerid, Class7[playerid]);
  631. PlayerTextDrawHide(playerid, Class8[playerid]);
  632. PlayerTextDrawHide(playerid, Class9[playerid]);
  633. PlayerTextDrawHide(playerid, Class10[playerid]);
  634. PlayerTextDrawHide(playerid, Class11[playerid]);
  635. PlayerTextDrawHide(playerid, Class13[playerid]);
  636. PlayerTextDrawHide(playerid, Class14[playerid]);
  637.  
  638. }
  639.  
  640. case 26: {
  641. SetPlayerTeam(playerid, DNB);
  642. InSafe[playerid] = 0; // pas safe
  643. packgun[playerid] = 0;
  644. InWar[playerid] = 1;
  645. TeamClan[playerid] = 0;
  646.  
  647. PlayerTextDrawShow(playerid, Class13[playerid]);
  648.  
  649. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  650. PlayerTextDrawShow(playerid, Class4[playerid]);
  651.  
  652. PlayerTextDrawHide(playerid, Class0[playerid]);
  653. PlayerTextDrawHide(playerid, Class1[playerid]);
  654. PlayerTextDrawHide(playerid, Class3[playerid]);
  655. PlayerTextDrawHide(playerid, Class5[playerid]);
  656. PlayerTextDrawHide(playerid, Class6[playerid]);
  657. PlayerTextDrawHide(playerid, Class7[playerid]);
  658. PlayerTextDrawHide(playerid, Class8[playerid]);
  659. PlayerTextDrawHide(playerid, Class9[playerid]);
  660. PlayerTextDrawHide(playerid, Class10[playerid]);
  661. PlayerTextDrawHide(playerid, Class11[playerid]);
  662. PlayerTextDrawHide(playerid, Class12[playerid]);
  663. PlayerTextDrawHide(playerid, Class14[playerid]);
  664.  
  665. }
  666. case 27: {
  667. SetPlayerTeam(playerid, DNB);
  668. InSafe[playerid] = 0; // pas safe
  669. packgun[playerid] = 1;
  670. InWar[playerid] = 1;
  671. TeamClan[playerid] = 0;
  672.  
  673. PlayerTextDrawShow(playerid, Class13[playerid]);
  674.  
  675. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  676. PlayerTextDrawShow(playerid, Class4[playerid]);
  677.  
  678. PlayerTextDrawHide(playerid, Class0[playerid]);
  679. PlayerTextDrawHide(playerid, Class1[playerid]);
  680. PlayerTextDrawHide(playerid, Class3[playerid]);
  681. PlayerTextDrawShow(playerid, Class5[playerid]);
  682. PlayerTextDrawHide(playerid, Class6[playerid]);
  683. PlayerTextDrawHide(playerid, Class7[playerid]);
  684. PlayerTextDrawHide(playerid, Class8[playerid]);
  685. PlayerTextDrawHide(playerid, Class9[playerid]);
  686. PlayerTextDrawHide(playerid, Class10[playerid]);
  687. PlayerTextDrawHide(playerid, Class11[playerid]);
  688. PlayerTextDrawHide(playerid, Class12[playerid]);
  689. PlayerTextDrawHide(playerid, Class14[playerid]);
  690.  
  691. }
  692. case 28: {
  693. SetPlayerTeam(playerid, DNB);
  694. InSafe[playerid] = 0; // pas safe
  695. packgun[playerid] = 2;
  696. InWar[playerid] = 1;
  697. TeamClan[playerid] = 0;
  698.  
  699. PlayerTextDrawShow(playerid, Class13[playerid]);
  700.  
  701. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  702. PlayerTextDrawShow(playerid, Class4[playerid]);
  703.  
  704. PlayerTextDrawHide(playerid, Class0[playerid]);
  705. PlayerTextDrawHide(playerid, Class1[playerid]);
  706. PlayerTextDrawHide(playerid, Class3[playerid]);
  707. PlayerTextDrawShow(playerid, Class5[playerid]);
  708. PlayerTextDrawHide(playerid, Class6[playerid]);
  709. PlayerTextDrawHide(playerid, Class7[playerid]);
  710. PlayerTextDrawHide(playerid, Class8[playerid]);
  711. PlayerTextDrawHide(playerid, Class9[playerid]);
  712. PlayerTextDrawHide(playerid, Class10[playerid]);
  713. PlayerTextDrawHide(playerid, Class11[playerid]);
  714. PlayerTextDrawHide(playerid, Class12[playerid]);
  715. PlayerTextDrawHide(playerid, Class14[playerid]);
  716.  
  717. }
  718. case 29: {
  719. SetPlayerTeam(playerid, DNB);
  720. InSafe[playerid] = 0; // pas safe
  721. packgun[playerid] = 3;
  722. InWar[playerid] = 1;
  723. TeamClan[playerid] = 0;
  724.  
  725. PlayerTextDrawShow(playerid, Class13[playerid]);
  726.  
  727. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  728. PlayerTextDrawShow(playerid, Class4[playerid]);
  729.  
  730. PlayerTextDrawHide(playerid, Class0[playerid]);
  731. PlayerTextDrawHide(playerid, Class1[playerid]);
  732. PlayerTextDrawHide(playerid, Class3[playerid]);
  733. PlayerTextDrawShow(playerid, Class5[playerid]);
  734. PlayerTextDrawHide(playerid, Class6[playerid]);
  735. PlayerTextDrawHide(playerid, Class7[playerid]);
  736. PlayerTextDrawHide(playerid, Class8[playerid]);
  737. PlayerTextDrawHide(playerid, Class9[playerid]);
  738. PlayerTextDrawHide(playerid, Class10[playerid]);
  739. PlayerTextDrawHide(playerid, Class11[playerid]);
  740. PlayerTextDrawHide(playerid, Class12[playerid]);
  741. PlayerTextDrawHide(playerid, Class14[playerid]);
  742.  
  743. }
  744.  
  745. case 30: {
  746. SetPlayerTeam(playerid, MafiaR);
  747. InSafe[playerid] = 0; // pas safe
  748. packgun[playerid] = 0;
  749. InWar[playerid] = 1;
  750. TeamClan[playerid] = 0;
  751.  
  752. PlayerTextDrawShow(playerid, Class14[playerid]);
  753.  
  754. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  755. PlayerTextDrawShow(playerid, Class4[playerid]);
  756.  
  757. PlayerTextDrawHide(playerid, Class0[playerid]);
  758. PlayerTextDrawHide(playerid, Class1[playerid]);
  759. PlayerTextDrawHide(playerid, Class3[playerid]);
  760. PlayerTextDrawHide(playerid, Class5[playerid]);
  761. PlayerTextDrawHide(playerid, Class6[playerid]);
  762. PlayerTextDrawHide(playerid, Class7[playerid]);
  763. PlayerTextDrawHide(playerid, Class8[playerid]);
  764. PlayerTextDrawHide(playerid, Class9[playerid]);
  765. PlayerTextDrawHide(playerid, Class10[playerid]);
  766. PlayerTextDrawHide(playerid, Class11[playerid]);
  767. PlayerTextDrawHide(playerid, Class12[playerid]);
  768. PlayerTextDrawHide(playerid, Class13[playerid]);
  769.  
  770. }
  771. case 31: {
  772. SetPlayerTeam(playerid, MafiaR);
  773. InSafe[playerid] = 0; // pas safe
  774. packgun[playerid] = 1;
  775. InWar[playerid] = 1;
  776. TeamClan[playerid] = 0;
  777.  
  778. PlayerTextDrawShow(playerid, Class14[playerid]);
  779.  
  780. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  781. PlayerTextDrawShow(playerid, Class4[playerid]);
  782.  
  783. PlayerTextDrawHide(playerid, Class0[playerid]);
  784. PlayerTextDrawHide(playerid, Class1[playerid]);
  785. PlayerTextDrawHide(playerid, Class3[playerid]);
  786. PlayerTextDrawShow(playerid, Class5[playerid]);
  787. PlayerTextDrawHide(playerid, Class6[playerid]);
  788. PlayerTextDrawHide(playerid, Class7[playerid]);
  789. PlayerTextDrawHide(playerid, Class8[playerid]);
  790. PlayerTextDrawHide(playerid, Class9[playerid]);
  791. PlayerTextDrawHide(playerid, Class10[playerid]);
  792. PlayerTextDrawHide(playerid, Class11[playerid]);
  793. PlayerTextDrawHide(playerid, Class12[playerid]);
  794. PlayerTextDrawHide(playerid, Class13[playerid]);
  795.  
  796. }
  797. case 32: {
  798. SetPlayerTeam(playerid, MafiaR);
  799. InSafe[playerid] = 0; // pas safe
  800. packgun[playerid] = 2;
  801. InWar[playerid] = 1;
  802. TeamClan[playerid] = 0;
  803.  
  804. PlayerTextDrawShow(playerid, Class14[playerid]);
  805.  
  806. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  807. PlayerTextDrawShow(playerid, Class4[playerid]);
  808.  
  809. PlayerTextDrawHide(playerid, Class0[playerid]);
  810. PlayerTextDrawHide(playerid, Class1[playerid]);
  811. PlayerTextDrawHide(playerid, Class3[playerid]);
  812. PlayerTextDrawShow(playerid, Class5[playerid]);
  813. PlayerTextDrawHide(playerid, Class6[playerid]);
  814. PlayerTextDrawHide(playerid, Class7[playerid]);
  815. PlayerTextDrawHide(playerid, Class8[playerid]);
  816. PlayerTextDrawHide(playerid, Class9[playerid]);
  817. PlayerTextDrawHide(playerid, Class10[playerid]);
  818. PlayerTextDrawHide(playerid, Class11[playerid]);
  819. PlayerTextDrawHide(playerid, Class12[playerid]);
  820. PlayerTextDrawHide(playerid, Class13[playerid]);
  821.  
  822. }
  823. case 33: {
  824. SetPlayerTeam(playerid, MafiaR);
  825. InSafe[playerid] = 0; // pas safe
  826. packgun[playerid] = 3;
  827. InWar[playerid] = 1;
  828. TeamClan[playerid] = 0;
  829.  
  830. PlayerTextDrawShow(playerid, Class14[playerid]);
  831.  
  832. PlayerTextDrawSetString(playerid, Class4[playerid], "~r~Eagle~w~ + ~r~MP5~w~ + ~r~Shotgun~w~ + ~r~M4");
  833. PlayerTextDrawShow(playerid, Class4[playerid]);
  834.  
  835. PlayerTextDrawHide(playerid, Class0[playerid]);
  836. PlayerTextDrawHide(playerid, Class1[playerid]);
  837. PlayerTextDrawHide(playerid, Class3[playerid]);
  838. PlayerTextDrawShow(playerid, Class5[playerid]);
  839. PlayerTextDrawHide(playerid, Class6[playerid]);
  840. PlayerTextDrawHide(playerid, Class7[playerid]);
  841. PlayerTextDrawHide(playerid, Class8[playerid]);
  842. PlayerTextDrawHide(playerid, Class9[playerid]);
  843. PlayerTextDrawHide(playerid, Class10[playerid]);
  844. PlayerTextDrawHide(playerid, Class11[playerid]);
  845. PlayerTextDrawHide(playerid, Class12[playerid]);
  846. PlayerTextDrawHide(playerid, Class13[playerid]);
  847.  
  848. }
  849.  
  850. case 16: {
  851. SetPlayerTeam(playerid, SAFE);
  852. packgun[playerid] = -1;
  853. InWar[playerid] = 0;
  854. TeamClan[playerid] = 0;
  855.  
  856. PlayerTextDrawShow(playerid, Class6[playerid]);
  857. PlayerTextDrawShow(playerid, Class7[playerid]);
  858.  
  859. PlayerTextDrawHide(playerid, Class4[playerid]);
  860. PlayerTextDrawHide(playerid, Class2[playerid]);
  861. PlayerTextDrawHide(playerid, Class0[playerid]);
  862. PlayerTextDrawHide(playerid, Class1[playerid]);
  863. PlayerTextDrawHide(playerid, Class3[playerid]);
  864. PlayerTextDrawHide(playerid, Class5[playerid]);
  865. PlayerTextDrawHide(playerid, Class8[playerid]);
  866. PlayerTextDrawHide(playerid, Class9[playerid]);
  867. PlayerTextDrawHide(playerid, Class10[playerid]);
  868. PlayerTextDrawHide(playerid, Class11[playerid]);
  869. PlayerTextDrawHide(playerid, Class12[playerid]);
  870. PlayerTextDrawHide(playerid, Class13[playerid]);
  871.  
  872. }
  873.  
  874. case 17: {
  875. SetPlayerTeam(playerid, CLAN);
  876.  
  877. if(PlayerInfo[playerid][pPack] == 0)
  878. {
  879. packgun[playerid] = 0;
  880. }
  881. if(PlayerInfo[playerid][pPack] == 1)
  882. {
  883. packgun[playerid] = 1;
  884. }
  885. if(PlayerInfo[playerid][pPack] == 2)
  886. {
  887. packgun[playerid] = 2;
  888. }
  889. if(PlayerInfo[playerid][pPack] == 3)
  890. {
  891. packgun[playerid] = 3;
  892. }
  893. InWar[playerid] = 1;
  894. TeamClan[playerid] = 1;
  895.  
  896.  
  897.  
  898. if(PlayerInfo[playerid][pTeam] != -1)
  899. {
  900. new string[MAX_STRING_MSG];
  901. format(string, sizeof(string), "~w~%s", ClanInfo[ PlayerInfo[playerid][pTeam] ][cName]);
  902. PlayerTextDrawSetString(playerid, Class9[playerid], string);
  903. PlayerTextDrawShow(playerid, Class9[playerid]);
  904. SetPlayerSkin(playerid, ClanInfo[ PlayerInfo[playerid][pTeam] ][cSkin]);
  905. }
  906. else
  907. {
  908. PlayerTextDrawSetString(playerid, Class9[playerid], "~w~You have no clan");
  909. PlayerTextDrawShow(playerid, Class9[playerid]);
  910. }
  911. PlayerTextDrawHide(playerid, Class2[playerid]);
  912. PlayerTextDrawHide(playerid, Class0[playerid]);
  913. PlayerTextDrawHide(playerid, Class1[playerid]);
  914. PlayerTextDrawHide(playerid, Class3[playerid]);
  915. PlayerTextDrawHide(playerid, Class5[playerid]);
  916. PlayerTextDrawHide(playerid, Class6[playerid]);
  917. PlayerTextDrawHide(playerid, Class7[playerid]);
  918. PlayerTextDrawShow(playerid, Class8[playerid]);
  919. PlayerTextDrawShow(playerid, Class10[playerid]);
  920. PlayerTextDrawHide(playerid, Class4[playerid]);
  921. PlayerTextDrawHide(playerid, Class11[playerid]);
  922. PlayerTextDrawHide(playerid, Class12[playerid]);
  923. PlayerTextDrawHide(playerid, Class13[playerid]);
  924. PlayerTextDrawHide(playerid, Class14[playerid]);
  925.  
  926. }
  927. }
  928. SetPlayerPos(playerid, 314.7225,-137.8821,999.6016);
  929. SetPlayerCameraPos(playerid, 311.2225, -137.8820, 1000.2015 );
  930. SetPlayerCameraLookAt(playerid, 321.2164, -137.8820, 999.8525 );
  931. SetPlayerFacingAngle(playerid, 90);
  932. SetPlayerInterior(playerid, 7);
  933. ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0);
  934. PlayerTextDrawHide(playerid, Login0[playerid]);
  935. PlayerTextDrawHide(playerid, Login1[playerid]);
  936. PlayerTextDrawHide(playerid, Login2[playerid]);
  937. PlayerTextDrawHide(playerid, Login3[playerid]);
  938. return 1;
  939. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement