Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Wklejka 1ltn67wpk16ln dodana przez dasiek, 08.02.2014 10:59
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116. 117. 118. 119. 120. 121. 122. 123. 124. 125. 126. 127. 128. 129. 130. 131. 132. 133. 134. 135. 136. 137. 138. 139. 140. 141. 142. 143. 144. 145. 146. 147. 148. 149. 150. 151. 152. 153. 154. 155. 156. 157. 158. 159. 160. 161. 162. 163. 164. 165. 166. 167. 168. 169. 170. 171. 172. 173. 174. 175. 176. 177. 178. 179. 180. 181. 182. 183. 184. 185. 186. 187. 188. 189. 190. 191. 192. 193.
#include <amxmodx> #include <amxmisc> #include <colorchat> #include <hamsandwich> #include <cstrike> #include <fun> #include <fakemeta> #include <engine> #define PLUGIN "Sklep JailBreak" #define VERSION "1.4" #define AUTHOR "K@aCzOr" new name [32]; new speed[33]; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /sklep", "jbshop") RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "speed", 1); RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1) } public jbshop(id){ if(is_user_connected(id) && cs_get_user_team(id) == CS_TEAM_T) { new menu = menu_create("wSklep JailBreak","menu") menu_additem(menu,"wKokaina d[6000$]","1",0) menu_additem(menu,"wMarichuanna d[14000$]","2",0) menu_additem(menu,"wSkrzydla d[10000$]","3",0) menu_additem(menu,"wHE d[8000$]","6",0) menu_additem(menu,"wPrzenikanie przez sciany na 2 sekundy d[16000$]","5",0) menu_additem(menu,"wNiesmiertelnosc na 2 sekundy d[17000$]","7",0) menu_setprop(menu,MPROP_EXIT,MEXIT_ALL) menu_display(id,menu,0) } } public menu(id, menu, item){ if(item==MENU_EXIT) { menu_destroy(menu) return PLUGIN_HANDLED; } new data[6], iName[64] new access, callback menu_item_getinfo(menu, item, access, data,5, iName, 63, callback) new key = str_to_num(data) switch(key) { case 1 :{ if (cs_get_user_money(id) < 6000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 6000 ){ get_user_name(id, name, 31) set_user_footsteps( id, 1) ColorChat(0, RED, "Kupiono Kokaine, dzieki ktorej nie slychac twoich krokow.", name) cs_set_user_money(id , cs_get_user_money(id) - 6000, 0) } } case 2 :{ if (cs_get_user_money(id) < 14000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 14000 ){ get_user_name(id, name, 31) ColorChat(0, RED, "Kupiono Marichuanne, dzieki ktorej mozesz szybciej biegac.", name) speed[id] = 1; set_user_maxspeed(id, 700.0) cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) } } case 3 : { if (cs_get_user_money(id) < 10000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 10000 ){ get_user_name(id, name, 31) ColorChat(0, RED, "Kupiono Skrzydla, dzieki ktorej mozesz wyzej skakac.", name) set_user_gravity(id, 0.3) cs_set_user_money(id , cs_get_user_money(id) - 10000, 0) } } case 5 :{ if (cs_get_user_money(id) < 16000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 16000 ){ get_user_name(id, name, 31) set_user_noclip(id, 1) ColorChat(0, RED, "Kupiono przenikanie przez sciany na 2 sekundy", name) set_task(2.0, "clipoff", id) cs_set_user_money(id , cs_get_user_money(id) - 16000, 0) } } case 6 :{ if (cs_get_user_money(id) < 8000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 8000 ){ get_user_name(id, name, 31) ColorChat(0, RED, "Kupiono HE", name) give_item(id, "weapon_hegrenade"); cs_set_user_money(id , cs_get_user_money(id) - 8000, 0) } } case 7 :{ if (cs_get_user_money(id) < 17000){ get_user_name(id, name, 31) ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) return PLUGIN_HANDLED; } if (!is_user_alive(id)){ get_user_name(id, name, 31) ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) return PLUGIN_HANDLED; } if (cs_get_user_money(id) >= 17000 ){ get_user_name(id, name, 31) ColorChat(0, RED, "Kupiono Niesmiertelnosc na 2 sekundy", name) set_user_godmode(id, 1) set_task(2.0, "godoff", id) cs_set_user_money(id , cs_get_user_money(id) - 17000, 0) } } } return PLUGIN_HANDLED; } public Event_Change_Weapon(id){ if(speed[id] == 1){ set_user_maxspeed(id, 700.0) } } public Fwd_PlayerSpawn_Post(id){ if (is_user_alive(id)){ if(!speed[id]){ speed[id] = 0; } set_user_footsteps(id, 0) } } public clipoff(id) { set_user_noclip(id) } public godoff(id) { set_user_godmode(id, 0); } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{ rtf1 ansi deff0{ fonttbl{ f0 fnil Tahoma;}}n viewkind4 uc1 pard lang1045 f0 fs16 n par } */
Dodanych wklejek: 4031
Powered By (Pav32) Pastebin © 2011