Advertisement
Guest User

Untitled

a guest
May 4th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.72 KB | None | 0 0
  1. if(newkeys & 4) // LMB
  2. {
  3. if(GetPVarInt(playerid, "PlayerShoping") == 1)
  4. {
  5. if(GetPVarInt(playerid, "BrowsingSuits") == 1)
  6. {
  7. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 227); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 227); }
  8. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 240); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 240); }
  9. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 153); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 153); }
  10. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 171); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 171); }
  11. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 187); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 187); }
  12. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 249); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 249); }
  13. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 255); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 255); }
  14. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 295); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 295); }
  15. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 117); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 117); }
  16. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 113); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 113); }
  17. else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 70); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 70); }
  18. else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 57); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 57); }
  19. else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 186); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 186); }
  20. else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 234); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 234); }
  21. else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 228); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 228); }
  22. }
  23. else if(GetPVarInt(playerid, "BrowsingSports") == 1)
  24. {
  25. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 52); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 52); }
  26. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 99); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 99); }
  27. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 26); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 26); }
  28. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 96); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 96); }
  29. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 51); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 51); }
  30. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 259); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 259); }
  31. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 80); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 80); }
  32. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 81); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 81); }
  33. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 23); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 23); }
  34. }
  35. else if(GetPVarInt(playerid, "BrowsingUnderwear") == 1)
  36. {
  37. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 146); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 146); }
  38. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 154); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 154); }
  39. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 45); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 45); }
  40. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 18); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 18); }
  41. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 252); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 252); }
  42. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 97); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 97); }
  43. }
  44. else if(GetPVarInt(playerid, "BrowsingRegular") == 1)
  45. {
  46. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 14); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 14); }
  47. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 142); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 142); }
  48. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 143); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 143); }
  49. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 144); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 144); }
  50. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 15); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 15); }
  51. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 156); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 156); }
  52. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 170); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 170); }
  53. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 180); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 180); }
  54. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 182); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 182); }
  55. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 183); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 183); }
  56. else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 184); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 184); }
  57. else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 188); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 188); }
  58. else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 108); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 108); }
  59. else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 20); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 20); }
  60. else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 206); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 206); }
  61. else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 21); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 21); }
  62. else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 22); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 22); }
  63. else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 210); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 210); }
  64. else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 221); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 221); }
  65. else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 223); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 223); }
  66. else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 24); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 24); }
  67. else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 25); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 25); }
  68. else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 250); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 250); }
  69. else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 261); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 261); }
  70. else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 28); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 28); }
  71. else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 35); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 35); }
  72. else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 37); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 37); }
  73. else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 179); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 179); }
  74. else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 36); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 36); }
  75. else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 44); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 44); }
  76. else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 46); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 46); }
  77. else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 262); BrowsingItem[playerid] = 33; SetPVarInt(playerid, "CurrentSkin", 262); }
  78. else if(BrowsingItem[playerid] == 33) { SetPlayerSkin(playerid, 229); BrowsingItem[playerid] = 34; SetPVarInt(playerid, "CurrentSkin", 229); }
  79. else if(BrowsingItem[playerid] == 34) { SetPlayerSkin(playerid, 60); BrowsingItem[playerid] = 35; SetPVarInt(playerid, "CurrentSkin", 60); }
  80. else if(BrowsingItem[playerid] == 35) { SetPlayerSkin(playerid, 109); BrowsingItem[playerid] = 36; SetPVarInt(playerid, "CurrentSkin", 109); }
  81. else if(BrowsingItem[playerid] == 36) { SetPlayerSkin(playerid, 7); BrowsingItem[playerid] = 37; SetPVarInt(playerid, "CurrentSkin", 7); }
  82. else if(BrowsingItem[playerid] == 37) { SetPlayerSkin(playerid, 72); BrowsingItem[playerid] = 38; SetPVarInt(playerid, "CurrentSkin", 72); }
  83. else if(BrowsingItem[playerid] == 38) { SetPlayerSkin(playerid, 94); BrowsingItem[playerid] = 39; SetPVarInt(playerid, "CurrentSkin", 94); }
  84. else if(BrowsingItem[playerid] == 39) { SetPlayerSkin(playerid, 95); BrowsingItem[playerid] = 40; SetPVarInt(playerid, "CurrentSkin", 95); }
  85. else if(BrowsingItem[playerid] == 40) { SetPlayerSkin(playerid, 101); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 101); }
  86. }
  87. else if(GetPVarInt(playerid, "BrowsingOthers") == 1)
  88. {
  89. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 83); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 83); }
  90. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 82); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 82); }
  91. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 79); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 79); }
  92. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 78); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 78); }
  93. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 73); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 73); }
  94. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 66); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 66); }
  95. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 62); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 62); }
  96. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 50); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 50); }
  97. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 49); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 49); }
  98. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 29); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 29); }
  99. else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 242); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 242); }
  100. else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 241); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 241); }
  101. else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 239); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 239); }
  102. else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 230); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 230); }
  103. else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 224); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 224); }
  104. else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 212); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 212); }
  105. else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 213); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 213); }
  106. else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 181); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 181); }
  107. else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 137); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 137); }
  108. else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 135); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 135); }
  109. else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 134); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 134); }
  110. else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 167); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 167); }
  111. else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 155); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 155); }
  112. else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 128); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 128); }
  113. else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 209); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 209); }
  114. else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 264); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 264); }
  115. else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 16); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 16); }
  116. else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 260); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 260); }
  117. else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 204); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 204); }
  118. else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 203); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 203); }
  119. else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 189); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 189); }
  120. else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 84); BrowsingItem[playerid] = 33; SetPVarInt(playerid, "CurrentSkin", 84); }
  121. else if(BrowsingItem[playerid] == 33) { SetPlayerSkin(playerid, 30); BrowsingItem[playerid] = 34; SetPVarInt(playerid, "CurrentSkin", 30); }
  122. else if(BrowsingItem[playerid] == 34) { SetPlayerSkin(playerid, 110); BrowsingItem[playerid] = 35; SetPVarInt(playerid, "CurrentSkin", 110); }
  123. else if(BrowsingItem[playerid] == 35) { SetPlayerSkin(playerid, 61); BrowsingItem[playerid] = 36; SetPVarInt(playerid, "CurrentSkin", 61); }
  124. else if(BrowsingItem[playerid] == 36) { SetPlayerSkin(playerid, 1); BrowsingItem[playerid] = 37; SetPVarInt(playerid, "CurrentSkin", 1); }
  125. else if(BrowsingItem[playerid] == 37) { SetPlayerSkin(playerid, 2); BrowsingItem[playerid] = 38; SetPVarInt(playerid, "CurrentSkin", 2); }
  126. else if(BrowsingItem[playerid] == 38) { SetPlayerSkin(playerid, 17); BrowsingItem[playerid] = 39; SetPVarInt(playerid, "CurrentSkin", 17); }
  127. else if(BrowsingItem[playerid] == 39) { SetPlayerSkin(playerid, 27); BrowsingItem[playerid] = 40; SetPVarInt(playerid, "CurrentSkin", 27); }
  128. else if(BrowsingItem[playerid] == 40) { SetPlayerSkin(playerid, 32); BrowsingItem[playerid] = 41; SetPVarInt(playerid, "CurrentSkin", 32); }
  129. else if(BrowsingItem[playerid] == 41) { SetPlayerSkin(playerid, 33); BrowsingItem[playerid] = 42; SetPVarInt(playerid, "CurrentSkin", 33); }
  130. else if(BrowsingItem[playerid] == 42) { SetPlayerSkin(playerid, 34); BrowsingItem[playerid] = 43; SetPVarInt(playerid, "CurrentSkin", 34); }
  131. else if(BrowsingItem[playerid] == 43) { SetPlayerSkin(playerid, 43); BrowsingItem[playerid] = 44; SetPVarInt(playerid, "CurrentSkin", 43); }
  132. else if(BrowsingItem[playerid] == 44) { SetPlayerSkin(playerid, 47); BrowsingItem[playerid] = 45; SetPVarInt(playerid, "CurrentSkin", 47); }
  133. else if(BrowsingItem[playerid] == 45) { SetPlayerSkin(playerid, 48); BrowsingItem[playerid] = 46; SetPVarInt(playerid, "CurrentSkin", 48); }
  134. else if(BrowsingItem[playerid] == 46) { SetPlayerSkin(playerid, 58); BrowsingItem[playerid] = 47; SetPVarInt(playerid, "CurrentSkin", 58); }
  135. else if(BrowsingItem[playerid] == 47) { SetPlayerSkin(playerid, 68); BrowsingItem[playerid] = 48; SetPVarInt(playerid, "CurrentSkin", 68); }
  136. else if(BrowsingItem[playerid] == 48) { SetPlayerSkin(playerid, 100); BrowsingItem[playerid] = 49; SetPVarInt(playerid, "CurrentSkin", 100); }
  137. else if(BrowsingItem[playerid] == 49) { SetPlayerSkin(playerid, 120); BrowsingItem[playerid] = 50; SetPVarInt(playerid, "CurrentSkin", 120); }
  138. else if(BrowsingItem[playerid] == 50) { SetPlayerSkin(playerid, 121); BrowsingItem[playerid] = 51; SetPVarInt(playerid, "CurrentSkin", 121); }
  139. else if(BrowsingItem[playerid] == 51) { SetPlayerSkin(playerid, 122); BrowsingItem[playerid] = 52; SetPVarInt(playerid, "CurrentSkin", 122); }
  140. else if(BrowsingItem[playerid] == 52) { SetPlayerSkin(playerid, 133); BrowsingItem[playerid] = 53; SetPVarInt(playerid, "CurrentSkin", 133); }
  141. else if(BrowsingItem[playerid] == 53) { SetPlayerSkin(playerid, 159); BrowsingItem[playerid] = 54; SetPVarInt(playerid, "CurrentSkin", 159); }
  142. else if(BrowsingItem[playerid] == 54) { SetPlayerSkin(playerid, 162); BrowsingItem[playerid] = 55; SetPVarInt(playerid, "CurrentSkin", 162); }
  143. else if(BrowsingItem[playerid] == 55) { SetPlayerSkin(playerid, 176); BrowsingItem[playerid] = 56; SetPVarInt(playerid, "CurrentSkin", 176); }
  144. else if(BrowsingItem[playerid] == 56) { SetPlayerSkin(playerid, 177); BrowsingItem[playerid] = 57; SetPVarInt(playerid, "CurrentSkin", 177); }
  145. else if(BrowsingItem[playerid] == 57) { SetPlayerSkin(playerid, 202); BrowsingItem[playerid] = 58; SetPVarInt(playerid, "CurrentSkin", 202); }
  146. else if(BrowsingItem[playerid] == 58) { SetPlayerSkin(playerid, 217); BrowsingItem[playerid] = 59; SetPVarInt(playerid, "CurrentSkin", 217); }
  147. else if(BrowsingItem[playerid] == 59) { SetPlayerSkin(playerid, 222); BrowsingItem[playerid] = 60; SetPVarInt(playerid, "CurrentSkin", 222); }
  148. else if(BrowsingItem[playerid] == 60) { SetPlayerSkin(playerid, 236); BrowsingItem[playerid] = 61; SetPVarInt(playerid, "CurrentSkin", 236); }
  149. else if(BrowsingItem[playerid] == 61) { SetPlayerSkin(playerid, 247); BrowsingItem[playerid] = 62; SetPVarInt(playerid, "CurrentSkin", 247); }
  150. else if(BrowsingItem[playerid] == 62) { SetPlayerSkin(playerid, 248); BrowsingItem[playerid] = 63; SetPVarInt(playerid, "CurrentSkin", 248); }
  151. else if(BrowsingItem[playerid] == 63) { SetPlayerSkin(playerid, 254); BrowsingItem[playerid] = 64; SetPVarInt(playerid, "CurrentSkin", 254); }
  152. else if(BrowsingItem[playerid] == 64) { SetPlayerSkin(playerid, 290); BrowsingItem[playerid] = 65; SetPVarInt(playerid, "CurrentSkin", 290); }
  153. else if(BrowsingItem[playerid] == 65) { SetPlayerSkin(playerid, 291); BrowsingItem[playerid] = 66; SetPVarInt(playerid, "CurrentSkin", 291); }
  154. else if(BrowsingItem[playerid] == 66) { SetPlayerSkin(playerid, 293); BrowsingItem[playerid] = 67; SetPVarInt(playerid, "CurrentSkin", 293); }
  155. else if(BrowsingItem[playerid] == 67) { SetPlayerSkin(playerid, 296); BrowsingItem[playerid] = 68; SetPVarInt(playerid, "CurrentSkin", 296); }
  156. else if(BrowsingItem[playerid] == 68) { SetPlayerSkin(playerid, 297); BrowsingItem[playerid] = 69; SetPVarInt(playerid, "CurrentSkin", 297); }
  157. else if(BrowsingItem[playerid] == 69) { SetPlayerSkin(playerid, 123); BrowsingItem[playerid] = 70; SetPVarInt(playerid, "CurrentSkin", 123); }
  158. else if(BrowsingItem[playerid] == 70) { SetPlayerSkin(playerid, 3); BrowsingItem[playerid] = 71; SetPVarInt(playerid, "CurrentSkin", 3); }
  159. else if(BrowsingItem[playerid] == 71) { SetPlayerSkin(playerid, 4); BrowsingItem[playerid] = 72; SetPVarInt(playerid, "CurrentSkin", 4); }
  160. else if(BrowsingItem[playerid] == 72) { SetPlayerSkin(playerid, 5); BrowsingItem[playerid] = 73; SetPVarInt(playerid, "CurrentSkin", 5); }
  161. else if(BrowsingItem[playerid] == 73) { SetPlayerSkin(playerid, 6); BrowsingItem[playerid] = 74; SetPVarInt(playerid, "CurrentSkin", 6); }
  162. else if(BrowsingItem[playerid] == 74) { SetPlayerSkin(playerid, 8); BrowsingItem[playerid] = 75; SetPVarInt(playerid, "CurrentSkin", 8); }
  163. else if(BrowsingItem[playerid] == 75) { SetPlayerSkin(playerid, 42); BrowsingItem[playerid] = 76; SetPVarInt(playerid, "CurrentSkin", 42); }
  164. else if(BrowsingItem[playerid] == 76) { SetPlayerSkin(playerid, 65); BrowsingItem[playerid] = 77; SetPVarInt(playerid, "CurrentSkin", 65); }
  165. else if(BrowsingItem[playerid] == 77) { SetPlayerSkin(playerid, 86); BrowsingItem[playerid] = 78; SetPVarInt(playerid, "CurrentSkin", 86); }
  166. else if(BrowsingItem[playerid] == 78) { SetPlayerSkin(playerid, 119); BrowsingItem[playerid] = 79; SetPVarInt(playerid, "CurrentSkin", 119); }
  167. else if(BrowsingItem[playerid] == 79) { SetPlayerSkin(playerid, 149); BrowsingItem[playerid] = 80; SetPVarInt(playerid, "CurrentSkin", 149); }
  168. else if(BrowsingItem[playerid] == 80) { SetPlayerSkin(playerid, 208); BrowsingItem[playerid] = 81; SetPVarInt(playerid, "CurrentSkin", 208); }
  169. else if(BrowsingItem[playerid] == 81) { SetPlayerSkin(playerid, 273); BrowsingItem[playerid] = 82; SetPVarInt(playerid, "CurrentSkin", 273); }
  170. else if(BrowsingItem[playerid] == 82) { SetPlayerSkin(playerid, 289); BrowsingItem[playerid] = 83; SetPVarInt(playerid, "CurrentSkin", 289); }
  171. else if(BrowsingItem[playerid] == 83) { SetPlayerSkin(playerid, 123); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 123); }
  172. }
  173. else if(GetPVarInt(playerid, "BrowsingFSuits") == 1)
  174. {
  175. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 11); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 11); }
  176. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 141); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 141); }
  177. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 148); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 148); }
  178. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 150); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 150); }
  179. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 172); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 172); }
  180. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 76); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 76); }
  181. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 9); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 9); }
  182. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 172); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 172); }
  183. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 194); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 194); }
  184. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 219); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 219); }
  185. }
  186. else if(GetPVarInt(playerid, "BrowsingFSports") == 1)
  187. {
  188. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 56); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 56); }
  189. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 13); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 13); }
  190. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 215); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 215); }
  191. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 226); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 226); }
  192. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 231); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 231); }
  193. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 88); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 88); }
  194. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 41); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 41); }
  195. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 191); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 191); }
  196. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 193); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 193); }
  197. }
  198. else if(GetPVarInt(playerid, "BrowsingFUnderwear") == 1)
  199. {
  200. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 138); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 138); }
  201. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 139); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 139); }
  202. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 140); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 140); }
  203. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 145); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 145); }
  204. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 251); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 251); }
  205. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 92); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 92); }
  206. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 244); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 244); }
  207. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 251); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 251); }
  208. }
  209. else if(GetPVarInt(playerid, "BrowsingFRegular") == 1)
  210. {
  211. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 12); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 12); }
  212. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 151); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 151); }
  213. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 169); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 169); }
  214. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 54); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 54); }
  215. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 263); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 263); }
  216. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 216); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 216); }
  217. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 214); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 214); }
  218. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 225); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 225); }
  219. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 89); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 89); }
  220. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 218); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 218); }
  221. else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 40); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 40); }
  222. else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 69); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 69); }
  223. else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 93); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 93); }
  224. else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 39); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 39); }
  225. else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 233); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 233); }
  226. else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 55); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 55); }
  227. else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 53); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 53); }
  228. else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 131); BrowsingItem[playerid] = 19; SetPVarInt(playerid, "CurrentSkin", 131); }
  229. else if(BrowsingItem[playerid] == 19) { SetPlayerSkin(playerid, 152); BrowsingItem[playerid] = 20; SetPVarInt(playerid, "CurrentSkin", 152); }
  230. else if(BrowsingItem[playerid] == 20) { SetPlayerSkin(playerid, 192); BrowsingItem[playerid] = 21; SetPVarInt(playerid, "CurrentSkin", 192); }
  231. else if(BrowsingItem[playerid] == 21) { SetPlayerSkin(playerid, 198); BrowsingItem[playerid] = 22; SetPVarInt(playerid, "CurrentSkin", 198); }
  232. else if(BrowsingItem[playerid] == 22) { SetPlayerSkin(playerid, 207); BrowsingItem[playerid] = 23; SetPVarInt(playerid, "CurrentSkin", 207); }
  233. else if(BrowsingItem[playerid] == 23) { SetPlayerSkin(playerid, 211); BrowsingItem[playerid] = 24; SetPVarInt(playerid, "CurrentSkin", 211); }
  234. else if(BrowsingItem[playerid] == 24) { SetPlayerSkin(playerid, 85); BrowsingItem[playerid] = 25; SetPVarInt(playerid, "CurrentSkin", 85); }
  235. else if(BrowsingItem[playerid] == 25) { SetPlayerSkin(playerid, 224); BrowsingItem[playerid] = 26; SetPVarInt(playerid, "CurrentSkin", 224); }
  236. else if(BrowsingItem[playerid] == 26) { SetPlayerSkin(playerid, 237); BrowsingItem[playerid] = 27; SetPVarInt(playerid, "CurrentSkin", 237); }
  237. else if(BrowsingItem[playerid] == 27) { SetPlayerSkin(playerid, 238); BrowsingItem[playerid] = 28; SetPVarInt(playerid, "CurrentSkin", 238); }
  238. else if(BrowsingItem[playerid] == 28) { SetPlayerSkin(playerid, 243); BrowsingItem[playerid] = 29; SetPVarInt(playerid, "CurrentSkin", 243); }
  239. else if(BrowsingItem[playerid] == 29) { SetPlayerSkin(playerid, 298); BrowsingItem[playerid] = 30; SetPVarInt(playerid, "CurrentSkin", 298); }
  240. else if(BrowsingItem[playerid] == 30) { SetPlayerSkin(playerid, 195); BrowsingItem[playerid] = 31; SetPVarInt(playerid, "CurrentSkin", 195); }
  241. else if(BrowsingItem[playerid] == 31) { SetPlayerSkin(playerid, 190); BrowsingItem[playerid] = 32; SetPVarInt(playerid, "CurrentSkin", 190); }
  242. else if(BrowsingItem[playerid] == 32) { SetPlayerSkin(playerid, 245); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 245); }
  243. }
  244. else if(GetPVarInt(playerid, "BrowsingFOthers") == 1)
  245. {
  246. if(BrowsingItem[playerid] == 1) { SetPlayerSkin(playerid, 77); BrowsingItem[playerid] = 2; SetPVarInt(playerid, "CurrentSkin", 77); }
  247. else if(BrowsingItem[playerid] == 2) { SetPlayerSkin(playerid, 205); BrowsingItem[playerid] = 3; SetPVarInt(playerid, "CurrentSkin", 205); }
  248. else if(BrowsingItem[playerid] == 3) { SetPlayerSkin(playerid, 129); BrowsingItem[playerid] = 4; SetPVarInt(playerid, "CurrentSkin", 129); }
  249. else if(BrowsingItem[playerid] == 4) { SetPlayerSkin(playerid, 130); BrowsingItem[playerid] = 5; SetPVarInt(playerid, "CurrentSkin", 130); }
  250. else if(BrowsingItem[playerid] == 5) { SetPlayerSkin(playerid, 157); BrowsingItem[playerid] = 6; SetPVarInt(playerid, "CurrentSkin", 157); }
  251. else if(BrowsingItem[playerid] == 6) { SetPlayerSkin(playerid, 196); BrowsingItem[playerid] = 7; SetPVarInt(playerid, "CurrentSkin", 196); }
  252. else if(BrowsingItem[playerid] == 7) { SetPlayerSkin(playerid, 197); BrowsingItem[playerid] = 8; SetPVarInt(playerid, "CurrentSkin", 197); }
  253. else if(BrowsingItem[playerid] == 8) { SetPlayerSkin(playerid, 199); BrowsingItem[playerid] = 9; SetPVarInt(playerid, "CurrentSkin", 199); }
  254. else if(BrowsingItem[playerid] == 9) { SetPlayerSkin(playerid, 201); BrowsingItem[playerid] = 10; SetPVarInt(playerid, "CurrentSkin", 201); }
  255. else if(BrowsingItem[playerid] == 10) { SetPlayerSkin(playerid, 31); BrowsingItem[playerid] = 11; SetPVarInt(playerid, "CurrentSkin", 31); }
  256. else if(BrowsingItem[playerid] == 11) { SetPlayerSkin(playerid, 75); BrowsingItem[playerid] = 12; SetPVarInt(playerid, "CurrentSkin", 75); }
  257. else if(BrowsingItem[playerid] == 12) { SetPlayerSkin(playerid, 89); BrowsingItem[playerid] = 13; SetPVarInt(playerid, "CurrentSkin", 89); }
  258. else if(BrowsingItem[playerid] == 13) { SetPlayerSkin(playerid, 218); BrowsingItem[playerid] = 14; SetPVarInt(playerid, "CurrentSkin", 218); }
  259. else if(BrowsingItem[playerid] == 14) { SetPlayerSkin(playerid, 232); BrowsingItem[playerid] = 15; SetPVarInt(playerid, "CurrentSkin", 232); }
  260. else if(BrowsingItem[playerid] == 15) { SetPlayerSkin(playerid, 90); BrowsingItem[playerid] = 16; SetPVarInt(playerid, "CurrentSkin", 90); }
  261. else if(BrowsingItem[playerid] == 16) { SetPlayerSkin(playerid, 53); BrowsingItem[playerid] = 17; SetPVarInt(playerid, "CurrentSkin", 53); }
  262. else if(BrowsingItem[playerid] == 17) { SetPlayerSkin(playerid, 55); BrowsingItem[playerid] = 18; SetPVarInt(playerid, "CurrentSkin", 55); }
  263. else if(BrowsingItem[playerid] == 18) { SetPlayerSkin(playerid, 195); BrowsingItem[playerid] = 1; SetPVarInt(playerid, "CurrentSkin", 195); }
  264. }
  265. }
  266. else if (GetPVarInt(playerid, "gSmoking") == 2)
  267. {
  268. if (GetPVarInt(playerid, "high") != 1)
  269. {
  270. SetPlayerTime(playerid, 12, 0);
  271. SetPVarInt(playerid, "high", 1);
  272. SetPlayerWeather(playerid, -66);
  273. SetTimerEx("CleanUp", 120000, 0, "i", playerid);
  274. SetPlayerDrunkLevel(playerid, 15000);
  275. }
  276. }
  277. else if (weap != 0)
  278. {
  279. if(weap == 16 || weap == 27 || weap == 35 || weap == 36 || weap == 37 || weap == 38)
  280. {
  281. new playername[MAX_PLAYER_NAME];
  282. new year, month, day;
  283. new hours, minutes, seconds;
  284. GetPlayerName(playerid, playername, sizeof(playername));
  285. getdate(year, month, day);
  286. gettime(hours, minutes, seconds);
  287. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata! (%d-%d-%d)", playername,day,month,year);
  288. BanLog(string);
  289. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!", playername);
  290. SendClientMessageToAll(COLOR_LIGHTRED, string);
  291. ClearChatBox(playerid);
  292. SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
  293. SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat, nedozvoljeno oružje!");
  294. format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
  295. SendClientMessage(playerid, COLOR_WHITE, string);
  296. SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu.");
  297. PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
  298. PlayerInfo[playerid][pLevel] = -999;
  299. Ban(playerid);
  300. return 1;
  301. }
  302. if(weap == 18 && GetAmmo(playerid) > 50)
  303. {
  304. new playername[MAX_PLAYER_NAME];
  305. new year, month, day;
  306. new hours, minutes, seconds;
  307. GetPlayerName(playerid, playername, sizeof(playername));
  308. getdate(year, month, day);
  309. gettime(hours, minutes, seconds);
  310. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata. (50+ koktela) (%d-%d-%d)", playername,day,month,year);
  311. BanLog(string);
  312. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata.", playername);
  313. SendClientMessageToAll(COLOR_LIGHTRED, string);
  314. ClearChatBox(playerid);
  315. SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
  316. SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat");
  317. format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
  318. SendClientMessage(playerid, COLOR_WHITE, string);
  319. SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu");
  320. PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
  321. PlayerInfo[playerid][pLevel] = -999;
  322. Ban(playerid);
  323. return 1;
  324. }
  325. if(weap == 22 || weap == 23 || weap == 24 || weap == 25 || weap == 28 || weap == 29 || weap == 30 || weap == 31 || weap == 33 || weap == 34)
  326. {
  327. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
  328. {
  329. SetPVarInt(playerid, "UpdateCount", 20+(GetPlayerPing(playerid)/4));
  330. }
  331. if(GetPVarInt(playerid, "ConnectTime") < 1)
  332. {
  333. new playername[MAX_PLAYER_NAME];
  334. new year, month, day;
  335. new hours, minutes, seconds;
  336. GetPlayerName(playerid, playername, sizeof(playername));
  337. getdate(year, month, day);
  338. gettime(hours, minutes, seconds);
  339. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!! (%d-%d-%d)", playername,day,month,year);
  340. BanLog(string);
  341. format(string, sizeof(string), "[Union]: %s je dobio ban od AntiCheata!", playername);
  342. SendClientMessageToAll(COLOR_LIGHTRED, string);
  343. ClearChatBox(playerid);
  344. SendClientMessage(playerid, COLOR_WHITE, "- Dobili ste ban od AntiCheata!");
  345. SendClientMessage(playerid, COLOR_WHITE, "- Razlog bana: Weapon Cheat, nedozvoljeno oružje!");
  346. format(string, sizeof(string), " - Datum: %d/%d/%d | %d:%d:%d", day,month,year,hours,minutes,seconds);
  347. SendClientMessage(playerid, COLOR_WHITE, string);
  348. SendClientMessage(playerid, COLOR_RED,"[Union]: Ako mislite da niste zasluzili ban molimo vas da nam se obratite na nasem forumu");
  349. PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pLevel];
  350. PlayerInfo[playerid][pLevel] = -999;
  351. Ban(playerid);
  352. return 1;
  353. }
  354. }
  355. }
  356. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement