Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. CMD:teess(playerid, params[])
  2. {
  3. if(sscanf(params, "i",params[0])) return 1;
  4. if(params[0] == 1001)
  5. {
  6. mInfo[0][eSessionID] = 0;
  7. mInfo[0][eTeam] = 1;
  8. mInfo[0][ePos] = -1;
  9. mInfo[0][eRound] = 1;
  10.  
  11. mInfo[1][eSessionID] = 0;
  12. mInfo[1][eTeam] = 1;
  13. mInfo[1][ePos] = -1;
  14. mInfo[1][eRound] = 1;
  15.  
  16. mInfo[2][eSessionID] = 0;
  17. mInfo[2][eTeam] = 2;
  18. mInfo[2][ePos] = -1;
  19. mInfo[2][eRound] = 1;
  20.  
  21. mInfo[3][eSessionID] = 0;
  22. mInfo[3][eTeam] = 2;
  23. mInfo[3][ePos] = -1;
  24. mInfo[3][eRound] = 1;
  25.  
  26.  
  27. Iter_Add(EventPlayerSession[0], 0);
  28. Iter_Add(EventPlayerSession[0], 1);
  29. Iter_Add(EventPlayerSession[0], 2);
  30. Iter_Add(EventPlayerSession[0], 3);
  31. }
  32. if(params[0] == 1002)
  33. {
  34. mInfo[0][eSessionID] = 0;
  35. mInfo[0][eTeam] = 1;
  36. mInfo[0][ePos] = -1;
  37. mInfo[0][eRound] = 1;
  38.  
  39. mInfo[1][eSessionID] = 0;
  40. mInfo[1][eTeam] = 2;
  41. mInfo[1][ePos] = -1;
  42. mInfo[1][eRound] = 1;
  43.  
  44. mInfo[2][eSessionID] = 0;
  45. mInfo[2][eTeam] = 1;
  46. mInfo[2][ePos] = -1;
  47. mInfo[2][eRound] = 1;
  48.  
  49. mInfo[3][eSessionID] = 0;
  50. mInfo[3][eTeam] = 2;
  51. mInfo[3][ePos] = -1;
  52. mInfo[3][eRound] = 1;
  53.  
  54.  
  55. Iter_Add(EventPlayerSession[0], 0);
  56. Iter_Add(EventPlayerSession[0], 1);
  57. Iter_Add(EventPlayerSession[0], 2);
  58. Iter_Add(EventPlayerSession[0], 3);
  59. }
  60. if(params[0] == 0)
  61. {
  62. mpSettings[mpStatus] = 1;
  63. mpSettings[mpRegister] = 1;
  64. }
  65. return true;
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement