Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://forums.alliedmods.net/external.php?type=RSS2

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3. <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  4. <channel>
  5. <title>AlliedModders</title>
  6. <link>https://forums.alliedmods.net/</link>
  7. <description>Half-Life/Counter-Strike Server-Side Modding (AMX Mod X, Metamod, and SourceMod), CSDM and SuperHero hosted</description>
  8. <language>en</language>
  9. <lastBuildDate>Tue, 14 May 2024 17:57:49 GMT</lastBuildDate>
  10. <generator>vBulletin</generator>
  11. <ttl>10</ttl>
  12. <image>
  13. <url>https://forums.alliedmods.net/images/misc/rss.jpg</url>
  14. <title>AlliedModders</title>
  15. <link>https://forums.alliedmods.net/</link>
  16. </image>
  17. <item>
  18. <title><![CDATA[Don't be a fool, enter this giveaway!]]></title>
  19. <link>https://forums.alliedmods.net/showthread.php?t=347717&amp;goto=newpost</link>
  20. <pubDate>Tue, 14 May 2024 14:24:06 GMT</pubDate>
  21. <description><![CDATA[Don't miss your chance to win a cool prize! (https://matchnow.info)]]></description>
  22. <content:encoded><![CDATA[<div><a href="https://matchnow.info" target="_blank" rel="nofollow noopener">Don't miss your chance to win a cool prize!</a></div>
  23.  
  24. ]]></content:encoded>
  25. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=15">Off-Topic</category>
  26. <dc:creator>Ali0mer</dc:creator>
  27. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347717</guid>
  28. </item>
  29. <item>
  30. <title>Commission: CS:S Plugins Upgrade</title>
  31. <link>https://forums.alliedmods.net/showthread.php?t=347713&amp;goto=newpost</link>
  32. <pubDate>Tue, 14 May 2024 08:54:09 GMT</pubDate>
  33. <description>If someone is interested in this commission, please feel free to DM me (preferably on discord: cya_seeya) (.sp files presented)
  34. The commission is...</description>
  35. <content:encoded><![CDATA[<div>If someone is interested in this commission, please feel free to DM me (preferably on discord: cya_seeya) (.sp files presented)<br />
  36. The commission is to: <br />
  37. Upgrade the flashcolor plugin a little (plugin already can change the flash color, but for the whole server), i wanna change that, so that each player could use their own flash color on their end but if spectating others, the color that the client choose would apply when observed player is flashed, add a panel (sm window) that would pop up if certain command was sent to chat where there will be 3/4 options : Default flash color, Dark flash color, Choose custom flash color (255,255,255), possibly languages option<br />
  38. <br />
  39. Same flashcolor plugin but this time the goal is to fix the flash effect (when throwing the flashbang and turning around it barely dims screen a little) which is not how original CS:S flashbang works and I would like to make it as close to original as possible.<br />
  40. <br />
  41. And the AFK Manager upgrade: adding function to move players to spectators if they were AFK and only after they get killed, if nobody kills them, they get moved by the end of the round.<br />
  42. <br />
  43. I think I could PayPal 15-20$ for that, if you're interested please DM me on discord for details: @cya_seeya</div>
  44.  
  45. ]]></content:encoded>
  46. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=60">Plugin/Gameplay Ideas and Requests</category>
  47. <dc:creator>GameEnjoyer4402</dc:creator>
  48. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347713</guid>
  49. </item>
  50. <item>
  51. <title><![CDATA[[L4D2] server full bug Linux]]></title>
  52. <link>https://forums.alliedmods.net/showthread.php?t=347710&amp;goto=newpost</link>
  53. <pubDate>Tue, 14 May 2024 08:28:45 GMT</pubDate>
  54. <description>my server is 12 slots, and sometimes when the server appears as not full (i.e 10/12 , 11/12) and I try to join either via server browser or steam...</description>
  55. <content:encoded><![CDATA[<div>my server is 12 slots, and sometimes when the server appears as not full (i.e 10/12 , 11/12) and I try to join either via server browser or steam group servers. the server will not allow me in and say &quot;Server is Full&quot;. <br />
  56. <br />
  57. Does anyone know the reason for this? <br />
  58. L4DToolZ (1.1.0.2) by Accelerator, Ivailosp</div>
  59.  
  60. ]]></content:encoded>
  61. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  62. <dc:creator>bumblebee0001</dc:creator>
  63. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347710</guid>
  64. </item>
  65. <item>
  66. <title>MAGNUMTOGEL : Hasil Togel Cambodia Hari ini 14 Mei 2024</title>
  67. <link>https://forums.alliedmods.net/showthread.php?t=347707&amp;goto=newpost</link>
  68. <pubDate>Tue, 14 May 2024 06:11:49 GMT</pubDate>
  69. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://secure-dal.livechatinc.com/licence/12870981/v2/open_chat.cgi?license_id=12870981
  70. ATAU
  71. KETIK GOOGLE >> MAGNUMTOGEL.COM...]]></description>
  72. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://secure-dal.livechatinc.com/licence/12870981/v2/open_chat.cgi?license_id=12870981" target="_blank" rel="nofollow noopener">https://secure-dal.livechatinc.com/l...se_id=12870981</a><br />
  73. ATAU<br />
  74. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  75. <br />
  76. RELATED KEYWORDS :<br />
  77. situs togel terpercaya<br />
  78. situs togel terpercaya resmi<br />
  79. situs togel terpercaya toto<br />
  80. situs togel terpercaya terlengkap<br />
  81. situs togel terpercaya terbalik dibayar<br />
  82. situs togel terpercaya indonesia<br />
  83. situs togel terpercaya pakai dana<br />
  84. situs togel terpercaya prize 123<br />
  85. situs togel terpercaya di asia<br />
  86. situs togel terpercaya dan aman<br />
  87. situs togel terpercaya deposit pulsa tanpa potongan bet 100 perak<br />
  88. situs togel terpercaya dan terbesar<br />
  89. situs togel terpercaya dengan bayaran tertinggi<br />
  90. situs togel terpercaya dan lengkap<br />
  91. situs togel terpercaya deposit pulsa tanpa potongan<br />
  92. situs togel terpercaya di indonesia<br />
  93. situs togel terpercaya di dunia<br />
  94. situs togel terpercaya deposit via dana<br />
  95. situs togel terpercaya deposit via Qris<br />
  96. situs togel terpercaya deposit gopay<br />
  97. situs togel terpercaya deposit via gopay<br />
  98. situs togel terpercaya deposit pulsa<br />
  99. situs togel terpercaya deposit pulsa tanpa potongan<br />
  100. situs togel terpercaya bayaran tertinggi<br />
  101. situs togel terpercaya hadiah terbesar<br />
  102. situs togel terpercaya hk<br />
  103. situs togel terpercaya via dana<br />
  104. situs togel terpercaya pulsa<br />
  105. situs togel terpercaya versi wap<br />
  106. situs togel terpercaya via gopay<br />
  107. situs togel terpercaya via Qris<br />
  108. situs togel terpercaya bayaran tertinggi<br />
  109. situs togel terpercaya bolak balik dibayar<br />
  110. situs togel terpercaya bet 100 perak<br />
  111. situs togel terpercaya bet 100 rupiah<br />
  112. situs togel terpercaya bbfs 10 digit<br />
  113. situs togel terpercaya bonus besar<br />
  114. situs togel terpercaya banyak pasaran<br />
  115. situs togel terpercaya bisa deposit pulsa<br />
  116. situs togel terpercaya no diskon<br />
  117. Bandar Togel Terpercaya<br />
  118. Bandar Togel Terbesar<br />
  119. Bandar Togel Maxwin<br />
  120. Bandar Togel Hadiah 4d 10 Juta Terpercaya<br />
  121. Bandar Togel Hadiah 4d 15 Juta<br />
  122. Bandar Togel 100 Pasaran<br />
  123. Bandar Togel 2d 3d 4d 5d 6d<br />
  124. Bandar Togel Terpercaya Di Dunia<br />
  125. Bandar Togel Terpercaya Hadiah Terbesar<br />
  126. Bandar Togel Terpercaya Di Indonesia<br />
  127. Bandar Togel Terpercaya Di Asia<br />
  128. Bandar Togel Terpercaya 2022<br />
  129. Bandar Togel Terpercaya 2023<br />
  130. Bandar Togel Terpercaya 4d 10 Juta<br />
  131. Bandar Togel Terpercaya Bet 100<br />
  132. Bandar Togel Wla Terbesar<br />
  133. Bandar Togel Wap<br />
  134. Bandar Togel Wd 10000<br />
  135. Bandar Togel Wla Toto<br />
  136. Bandar Togel Withdraw 10 Ribu<br />
  137. Bandar Togel Resmi<br />
  138. Bandar Togel Resmi Dan Terpercaya<br />
  139. Bandar Togel Resmi Internasional<br />
  140. Bandar Togel Resmi Terpercaya<br />
  141. Bandar Togel Resmi Hadiah Besar<br />
  142. Bandar Togel Resmi Terbesar<br />
  143. Bandar Togel Resmi Wla<br />
  144. Bandar Togel Terbesar Di Dunia<br />
  145. Bandar Togel Toto Macau<br />
  146. Bandar Togel Terbaru<br />
  147. Bandar Togel Terbesar Di Indonesia<br />
  148. Bandar Togel Terbesar Dan Terpercaya<br />
  149. Bandar Togel Terbesar Di Asia<br />
  150. Bandar Togel Terbesar Dan Resmi<br />
  151. Bandar Togel Terbesar Se Asia<br />
  152. Bandar Togel Terbesar Terbalik Di Bayar<br />
  153. Bandar Togel Terbesar Indonesia<br />
  154. Bandar Togel Terbaru 2023<br />
  155. Bandar Togel Terbaru 2022<br />
  156. agen togel terpercaya<br />
  157. agen togel terpercaya no. 1 di indonesia<br />
  158. agen togel terpercaya 2023<br />
  159. agen togel terpercaya 2017<br />
  160. agen togel terpercaya dan aman<br />
  161. agen togel terpercaya bet 100 perak<br />
  162. agen togel terpercaya bonus besar<br />
  163. agen togel terpercaya hadiah terbesar<br />
  164. agen togel terpercaya deposit pulsa tanpa potongan<br />
  165. agen togel terpercaya shio kuda<br />
  166. agen togel terpercaya diskon terbesar<br />
  167. agen togel terpercaya dan aman<br />
  168. agen togel terpercaya 2017 terbesar di asia<br />
  169. agen togel terpercaya dan aman<br />
  170. agen togel terpercaya diskon terbesar<br />
  171. agen togel terbaik dan terpercaya<br />
  172. agen togel terlama dan terpercaya<br />
  173. agen togel bbfs 10 digit terpercaya<br />
  174. agen togel terpercaya bet 100 perak<br />
  175. agen togel terpercaya bonus besar<br />
  176. agen togel bbfs terpercaya<br />
  177. agen togel dan bola terpercaya<br />
  178. agen togel luar negeri terpercaya<br />
  179. agen togel wla<br />
  180. agen togel wap<br />
  181. agen togel resmi wla<br />
  182. agen togel resmi<br />
  183. agen togel resmi di indonesia<br />
  184. agen togel resmi dan terpercaya<br />
  185. agen togel resmi hongkong<br />
  186. agen togel resmi terbesar<br />
  187. agen togel resmi terpercaya<br />
  188. agen togel resmi 6d<br />
  189. agen togel resmi 5d<br />
  190. agen togel resmi wla<br />
  191. agen togel resmi asia<br />
  192. agen togel resmi indonesia<br />
  193. agen togel resmi hadiah besar<br />
  194. agen togel terbesar<br />
  195. agen togel terbesar dan terpercaya<br />
  196. Bo Togel Online Terpercaya<br />
  197. Bo Togel Online Terpercaya Hadiah 10 Juta<br />
  198. Bo Togel Online Terpercaya 2022<br />
  199. Bo Togel Online Terpercaya 2023<br />
  200. Bo Togel Online Terpercaya Dan Aman<br />
  201. Bo Togel Online Terpercaya 2023<br />
  202. Bo Togel Online Terpercaya Hadiah Besar<br />
  203. Bo Togel Online Terpercaya Bonus New Member<br />
  204. Bo Togel Online Terpercaya Deposit Via Dana<br />
  205. Bo Togel Online Terpercaya Dan Terbesar<br />
  206. Bo Togel Online Asia Terpercaya<br />
  207. Bo Togel Online Pasaran Terlengkap<br />
  208. Bo Togel Online Hadiah Terbesar<br />
  209. Bo Togel Online Hadiah Terbesar Dan Terpercaya<br />
  210. Bo Togel Online Hadiah Terbesar Bet 100<br />
  211. Bo Togel Online Hadiah Terbesar 2022<br />
  212. Bo Togel Online Hadiah Terbesar 2023<br />
  213. Bo Togel Online Hadiah Terbesar Prize 123<br />
  214. Bo Togel Online Hadiah Terbesar No Diskon<br />
  215. Bo Togel Online Hadiah Terbesar Terpercaya<br />
  216. Bo Togel Online Hadiah Terbesar 3 Prize<br />
  217. Bo Togel Online Hadiah 2d 100rb<br />
  218. Bo Togel Online Hadiah Full<br />
  219. Bo Togel Online Hadiah 2d Terbesar<br />
  220. Bo Togel Online Hadiah 15 Juta<br />
  221. Bo Togel Online Hadiah Besar<br />
  222. Bo Togel Online Hadiah 10 Juta<br />
  223. Bo Togel Online Hadiah 10jt<br />
  224. Bo Togel Online Hadiah Full Prize<br />
  225. Bo Togel Online Hadiah 100 Ribu<br />
  226. Bo Togel Online Hadiah 4d 10jt<br />
  227. Daftar Togel Wla<br />
  228. Daftar Togel Wla Resmi<br />
  229. Daftar Togel Wla Dan Lokal<br />
  230. Daftar Togel Terpercaya<br />
  231. Daftar Togel Terpercaya 2023 Terbaru<br />
  232. Daftar Togel Terpercaya Hadiah Besar<br />
  233. Daftar Togel Terpercaya 2023<br />
  234. Daftar Togel Terpercaya 2023 Terpercaya<br />
  235. Daftar Togel Terpercaya 2023 Terbaik<br />
  236. Daftar Togel Terpercaya 2023 Indonesia<br />
  237. Daftar Togel Terpercaya 2023 Terbaru<br />
  238. Daftar Togel Terpercaya 2023 Terbaru Hari Ini<br />
  239. Daftar Togel Toto<br />
  240. Daftar Togel Toto Online Terpercaya<br />
  241. Daftar Togel Toto Online<br />
  242. Daftar Togel Toto Macau<br />
  243. Daftar Togel Toto Macau Online<br />
  244. Daftar Togel Terbesar<br />
  245. Daftar Togel Terbesar Dan Terpercaya<br />
  246. Daftar Togel Terbaik<br />
  247. Daftar Togel Terlengkap<br />
  248. Daftar Togel Terbalik Dibayar<br />
  249. Daftar Togel Yang Keluar<br />
  250. Daftar Togel on<br />
  251. Daftar Togel Online Terpercaya<br />
  252. Daftar Togel Ovo<br />
  253. Daftar Togel Rekening Ovo<br />
  254. Daftar Togel Online24jam Terpercaya 2022<br />
  255. Daftar Togel Pakai Ovo<br />
  256. Daftar Togel Pakai Dana<br />
  257. Daftar Togel Pakai Gopay<br />
  258. Daftar Togel Pakai Linkaja<br />
  259. Daftar Togel Pasaran Terbanyak<br />
  260. Daftar Togel Prize 123<br />
  261. Daftar Togel Prize 12345<br />
  262. Daftar Togel Akun Dana<br />
  263. Daftar Togel Semua Pasaran<br />
  264. Daftar Togel Dana<br />
  265. Daftar Togel Dengan Akun Dana<br />
  266. Daftar Togel Gopay<br />
  267. Daftar Togel Lewat Dana<br />
  268. Daftar Togel Kamboja<br />
  269. Daftar Togel Via Dana<br />
  270. Daftar Togel Via Ovo<br />
  271. Daftar Togel Via Gopay<br />
  272. Daftar Togel Via Linkaja<br />
  273. Daftar Togel Baru<br />
  274. Daftar Togel Bayaran Tertinggi<br />
  275. Daftar Togel Bolak Balik Dibayar<br />
  276. Daftar Togel Bet 100<br />
  277. Daftar Togel Bet 100 Perak<br />
  278. Daftar Togel Mandiri<br />
  279. Daftar Togel Macau<br />
  280. Daftar Togel Macau Online<br />
  281. Daftar Akun Togel Toto<br />
  282. Daftar Akun Togel Toto Macau<br />
  283. Daftar Akun Togel Terpercaya<br />
  284. Cara Daftar Akun Togel Terpercaya<br />
  285. Daftar Nama Akun Togel Terpercaya</div>
  286.  
  287. ]]></content:encoded>
  288. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  289. <dc:creator>LebahSange</dc:creator>
  290. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347707</guid>
  291. </item>
  292. <item>
  293. <title>WSOSLOT88 - Prediksi Togel Online 4d Syair Togel HK Hari in ini 14 Mei 2024</title>
  294. <link>https://forums.alliedmods.net/showthread.php?t=347705&amp;goto=newpost</link>
  295. <pubDate>Tue, 14 May 2024 04:05:34 GMT</pubDate>
  296. <description><![CDATA[DAFTAR >> https://secure-dal.livechatinc.com/licence/14695482/v2/open_chat.cgi?license_id=14695482
  297. ATAU
  298. KETIK GOOGLE >> WSOSLOT88.COM
  299. RELATED...]]></description>
  300. <content:encoded><![CDATA[<div>DAFTAR &gt;&gt; <a href="https://secure-dal.livechatinc.com/licence/14695482/v2/open_chat.cgi?license_id=14695482" target="_blank" rel="nofollow noopener">https://secure-dal.livechatinc.com/l...se_id=14695482</a><br />
  301. ATAU<br />
  302. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  303. <br />
  304. RELATED KEYWORDS :<br />
  305. situs togel terpercaya<br />
  306. situs togel terpercaya resmi<br />
  307. situs togel terpercaya toto<br />
  308. situs togel terpercaya terlengkap<br />
  309. situs togel terpercaya terbalik dibayar<br />
  310. situs togel terpercaya indonesia<br />
  311. situs togel terpercaya pakai dana<br />
  312. situs togel terpercaya prize 123<br />
  313. situs togel terpercaya di asia<br />
  314. situs togel terpercaya dan aman<br />
  315. situs togel terpercaya deposit pulsa tanpa potongan bet 100 perak<br />
  316. situs togel terpercaya dan terbesar<br />
  317. situs togel terpercaya dengan bayaran tertinggi<br />
  318. situs togel terpercaya dan lengkap<br />
  319. situs togel terpercaya deposit pulsa tanpa potongan<br />
  320. situs togel terpercaya di indonesia<br />
  321. situs togel terpercaya di dunia<br />
  322. situs togel terpercaya deposit via dana<br />
  323. situs togel terpercaya deposit via Qris<br />
  324. situs togel terpercaya deposit gopay<br />
  325. situs togel terpercaya deposit via gopay<br />
  326. situs togel terpercaya deposit pulsa<br />
  327. situs togel terpercaya deposit pulsa tanpa potongan<br />
  328. situs togel terpercaya bayaran tertinggi<br />
  329. situs togel terpercaya hadiah terbesar<br />
  330. situs togel terpercaya hk<br />
  331. situs togel terpercaya via dana<br />
  332. situs togel terpercaya pulsa<br />
  333. situs togel terpercaya versi wap<br />
  334. situs togel terpercaya via gopay<br />
  335. situs togel terpercaya via Qris<br />
  336. situs togel terpercaya bayaran tertinggi<br />
  337. situs togel terpercaya bolak balik dibayar<br />
  338. situs togel terpercaya bet 100 perak<br />
  339. situs togel terpercaya bet 100 rupiah<br />
  340. situs togel terpercaya bbfs 10 digit<br />
  341. situs togel terpercaya bonus besar<br />
  342. situs togel terpercaya banyak pasaran<br />
  343. situs togel terpercaya bisa deposit pulsa<br />
  344. situs togel terpercaya no diskon<br />
  345. Bandar Togel Terpercaya<br />
  346. Bandar Togel Terbesar<br />
  347. Bandar Togel Maxwin<br />
  348. Bandar Togel Hadiah 4d 10 Juta Terpercaya<br />
  349. Bandar Togel Hadiah 4d 15 Juta<br />
  350. Bandar Togel 100 Pasaran<br />
  351. Bandar Togel 2d 3d 4d 5d 6d<br />
  352. Bandar Togel Terpercaya Di Dunia<br />
  353. Bandar Togel Terpercaya Hadiah Terbesar<br />
  354. Bandar Togel Terpercaya Di Indonesia<br />
  355. Bandar Togel Terpercaya Di Asia<br />
  356. Bandar Togel Terpercaya 2022<br />
  357. Bandar Togel Terpercaya 2023<br />
  358. Bandar Togel Terpercaya 4d 10 Juta<br />
  359. Bandar Togel Terpercaya Bet 100<br />
  360. Bandar Togel Wla Terbesar<br />
  361. Bandar Togel Wap<br />
  362. Bandar Togel Wd 10000<br />
  363. Bandar Togel Wla Toto<br />
  364. Bandar Togel Withdraw 10 Ribu<br />
  365. Bandar Togel Resmi<br />
  366. Bandar Togel Resmi Dan Terpercaya<br />
  367. Bandar Togel Resmi Internasional<br />
  368. Bandar Togel Resmi Terpercaya<br />
  369. Bandar Togel Resmi Hadiah Besar<br />
  370. Bandar Togel Resmi Terbesar<br />
  371. Bandar Togel Resmi Wla<br />
  372. Bandar Togel Terbesar Di Dunia<br />
  373. Bandar Togel Toto Macau<br />
  374. Bandar Togel Terbaru<br />
  375. Bandar Togel Terbesar Di Indonesia<br />
  376. Bandar Togel Terbesar Dan Terpercaya<br />
  377. Bandar Togel Terbesar Di Asia<br />
  378. Bandar Togel Terbesar Dan Resmi<br />
  379. Bandar Togel Terbesar Se Asia<br />
  380. Bandar Togel Terbesar Terbalik Di Bayar<br />
  381. Bandar Togel Terbesar Indonesia<br />
  382. Bandar Togel Terbaru 2023<br />
  383. Bandar Togel Terbaru 2022<br />
  384. agen togel terpercaya<br />
  385. agen togel terpercaya no. 1 di indonesia<br />
  386. agen togel terpercaya 2023<br />
  387. agen togel terpercaya 2017<br />
  388. agen togel terpercaya dan aman<br />
  389. agen togel terpercaya bet 100 perak<br />
  390. agen togel terpercaya bonus besar<br />
  391. agen togel terpercaya hadiah terbesar<br />
  392. agen togel terpercaya deposit pulsa tanpa potongan<br />
  393. agen togel terpercaya shio kuda<br />
  394. agen togel terpercaya diskon terbesar<br />
  395. agen togel terpercaya dan aman<br />
  396. agen togel terpercaya 2017 terbesar di asia<br />
  397. agen togel terpercaya dan aman<br />
  398. agen togel terpercaya diskon terbesar<br />
  399. agen togel terbaik dan terpercaya<br />
  400. agen togel terlama dan terpercaya<br />
  401. agen togel bbfs 10 digit terpercaya<br />
  402. agen togel terpercaya bet 100 perak<br />
  403. agen togel terpercaya bonus besar<br />
  404. agen togel bbfs terpercaya<br />
  405. agen togel dan bola terpercaya<br />
  406. agen togel luar negeri terpercaya<br />
  407. agen togel wla<br />
  408. agen togel wap<br />
  409. agen togel resmi wla<br />
  410. agen togel resmi<br />
  411. agen togel resmi di indonesia<br />
  412. agen togel resmi dan terpercaya<br />
  413. agen togel resmi hongkong<br />
  414. agen togel resmi terbesar<br />
  415. agen togel resmi terpercaya<br />
  416. agen togel resmi 6d<br />
  417. agen togel resmi 5d<br />
  418. agen togel resmi wla<br />
  419. agen togel resmi asia<br />
  420. agen togel resmi indonesia<br />
  421. agen togel resmi hadiah besar<br />
  422. agen togel terbesar<br />
  423. agen togel terbesar dan terpercaya<br />
  424. Bo Togel Online Terpercaya<br />
  425. Bo Togel Online Terpercaya Hadiah 10 Juta<br />
  426. Bo Togel Online Terpercaya 2022<br />
  427. Bo Togel Online Terpercaya 2023<br />
  428. Bo Togel Online Terpercaya Dan Aman<br />
  429. Bo Togel Online Terpercaya 2023<br />
  430. Bo Togel Online Terpercaya Hadiah Besar<br />
  431. Bo Togel Online Terpercaya Bonus New Member<br />
  432. Bo Togel Online Terpercaya Deposit Via Dana<br />
  433. Bo Togel Online Terpercaya Dan Terbesar<br />
  434. Bo Togel Online Asia Terpercaya<br />
  435. Bo Togel Online Pasaran Terlengkap<br />
  436. Bo Togel Online Hadiah Terbesar<br />
  437. Bo Togel Online Hadiah Terbesar Dan Terpercaya<br />
  438. Bo Togel Online Hadiah Terbesar Bet 100<br />
  439. Bo Togel Online Hadiah Terbesar 2022<br />
  440. Bo Togel Online Hadiah Terbesar 2023<br />
  441. Bo Togel Online Hadiah Terbesar Prize 123<br />
  442. Bo Togel Online Hadiah Terbesar No Diskon<br />
  443. Bo Togel Online Hadiah Terbesar Terpercaya<br />
  444. Bo Togel Online Hadiah Terbesar 3 Prize<br />
  445. Bo Togel Online Hadiah 2d 100rb<br />
  446. Bo Togel Online Hadiah Full<br />
  447. Bo Togel Online Hadiah 2d Terbesar<br />
  448. Bo Togel Online Hadiah 15 Juta<br />
  449. Bo Togel Online Hadiah Besar<br />
  450. Bo Togel Online Hadiah 10 Juta<br />
  451. Bo Togel Online Hadiah 10jt<br />
  452. Bo Togel Online Hadiah Full Prize<br />
  453. Bo Togel Online Hadiah 100 Ribu<br />
  454. Bo Togel Online Hadiah 4d 10jt<br />
  455. Daftar Togel Wla<br />
  456. Daftar Togel Wla Resmi<br />
  457. Daftar Togel Wla Dan Lokal<br />
  458. Daftar Togel Terpercaya<br />
  459. Daftar Togel Terpercaya 2023 Terbaru<br />
  460. Daftar Togel Terpercaya Hadiah Besar<br />
  461. Daftar Togel Terpercaya 2023<br />
  462. Daftar Togel Terpercaya 2023 Terpercaya<br />
  463. Daftar Togel Terpercaya 2023 Terbaik<br />
  464. Daftar Togel Terpercaya 2023 Indonesia<br />
  465. Daftar Togel Terpercaya 2023 Terbaru<br />
  466. Daftar Togel Terpercaya 2023 Terbaru Hari Ini<br />
  467. Daftar Togel Toto<br />
  468. Daftar Togel Toto Online Terpercaya<br />
  469. Daftar Togel Toto Online<br />
  470. Daftar Togel Toto Macau<br />
  471. Daftar Togel Toto Macau Online<br />
  472. Daftar Togel Terbesar<br />
  473. Daftar Togel Terbesar Dan Terpercaya<br />
  474. Daftar Togel Terbaik<br />
  475. Daftar Togel Terlengkap<br />
  476. Daftar Togel Terbalik Dibayar<br />
  477. Daftar Togel Yang Keluar<br />
  478. Daftar Togel on<br />
  479. Daftar Togel Online Terpercaya<br />
  480. Daftar Togel Ovo<br />
  481. Daftar Togel Rekening Ovo<br />
  482. Daftar Togel Online24jam Terpercaya 2022<br />
  483. Daftar Togel Pakai Ovo<br />
  484. Daftar Togel Pakai Dana<br />
  485. Daftar Togel Pakai Gopay<br />
  486. Daftar Togel Pakai Linkaja<br />
  487. Daftar Togel Pasaran Terbanyak<br />
  488. Daftar Togel Prize 123<br />
  489. Daftar Togel Prize 12345<br />
  490. Daftar Togel Akun Dana<br />
  491. Daftar Togel Semua Pasaran<br />
  492. Daftar Togel Dana<br />
  493. Daftar Togel Dengan Akun Dana<br />
  494. Daftar Togel Gopay<br />
  495. Daftar Togel Lewat Dana<br />
  496. Daftar Togel Kamboja<br />
  497. Daftar Togel Via Dana<br />
  498. Daftar Togel Via Ovo<br />
  499. Daftar Togel Via Gopay<br />
  500. Daftar Togel Via Linkaja<br />
  501. Daftar Togel Baru<br />
  502. Daftar Togel Bayaran Tertinggi<br />
  503. Daftar Togel Bolak Balik Dibayar<br />
  504. Daftar Togel Bet 100<br />
  505. Daftar Togel Bet 100 Perak<br />
  506. Daftar Togel Mandiri<br />
  507. Daftar Togel Macau<br />
  508. Daftar Togel Macau Online<br />
  509. Daftar Akun Togel Toto<br />
  510. Daftar Akun Togel Toto Macau<br />
  511. Daftar Akun Togel Terpercaya<br />
  512. Cara Daftar Akun Togel Terpercaya<br />
  513. Daftar Nama Akun Togel Terpercaya</div>
  514.  
  515. ]]></content:encoded>
  516. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  517. <dc:creator>KuraKura12</dc:creator>
  518. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347705</guid>
  519. </item>
  520. <item>
  521. <title>Problem with voices</title>
  522. <link>https://forums.alliedmods.net/showthread.php?t=347704&amp;goto=newpost</link>
  523. <pubDate>Tue, 14 May 2024 03:44:10 GMT</pubDate>
  524. <description>I have a problem, what plugins should I install so that the l4d2 characters can speak their language on the l4d1 maps? By the way, change the names,...</description>
  525. <content:encoded><![CDATA[<div>I have a problem, what plugins should I install so that the l4d2 characters can speak their language on the l4d1 maps? By the way, change the names, since only models come out and the names are different? For example, Nick's model comes out as Bill, please help. :cry::cry::cry:</div>
  526.  
  527. ]]></content:encoded>
  528. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=60">Plugin/Gameplay Ideas and Requests</category>
  529. <dc:creator>gamer_kanelita</dc:creator>
  530. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347704</guid>
  531. </item>
  532. <item>
  533. <title>ZP 5.0 Problem HappyHour</title>
  534. <link>https://forums.alliedmods.net/showthread.php?t=347703&amp;goto=newpost</link>
  535. <pubDate>Tue, 14 May 2024 03:39:01 GMT</pubDate>
  536. <description>Hello!
  537. I have combain DateTime and Zm Score and GameMods and Happyhour in one plugin but the problem when HappyHour End it will switch between...</description>
  538. <content:encoded><![CDATA[<div>Hello!<br />
  539. <br />
  540. I have combain DateTime and Zm Score and GameMods and Happyhour in one plugin but the problem when HappyHour End it will switch between &quot;Deactivated&quot; and &quot;Activated&quot; every 1 second <br />
  541. <br />
  542. <a class="proxied-img-link" href="https://i.ibb.co/sHRM2z4/highxtar-counter-strike-1-6.jpg" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/6b06117efb4b68ad7234d25e58f2f62f2775fad8/68747470733a2f2f692e6962622e636f2f7348524d327a342f68696768787461722d636f756e7465722d737472696b652d312d362e6a7067" border="0" alt="" /></a><br />
  543. <br />
  544. i tried to fix that for like so long, can anyone fix it?<br />
  545. <br />
  546. <div style="margin:20px; margin-top:5px">
  547. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  548. <div class="alt2">
  549. <hr />
  550. <code style="white-space:nowrap">
  551. <div dir="ltr" style="text-align:left;">
  552. <!-- php buffer start --><code><span style="color: #000000">
  553. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;
  554. <br />#include&nbsp;&lt;engine&gt;
  555. <br />#include&nbsp;&lt;zp50_colorchat&gt;
  556. <br />#include&nbsp;&lt;zombieplague&gt;
  557. <br />#include&nbsp;&lt;zp50_gamemodes&gt;
  558. <br />
  559. <br />#define&nbsp;PLUGIN&nbsp;"&#91;ZP&#93;&nbsp;Team&nbsp;win&nbsp;score"
  560. <br />#define&nbsp;VERSION&nbsp;"1.3"
  561. <br />#define&nbsp;AUTHOR&nbsp;"Ryokin"
  562. <br />
  563. <br />#define&nbsp;TASK_ANOUNCE&nbsp;05012015
  564. <br />#define&nbsp;TASK_UPDATE&nbsp;06012014
  565. <br />
  566. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_hh</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;
  567. <br />
  568. <br />new&nbsp;</span><span style="color: #0000BB">g_zombiescore</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_humanscore</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_NoOneWin</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_hudcolor</span><span style="color: #007700">,</span><span style="color: #0000BB">g_hudposition&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_hudmsg
  569. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">ShowMeThisHud</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">33&nbsp;</span><span style="color: #007700">&#93;
  570. <br />
  571. <br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()
  572. <br />{
  573. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #0000BB">PLUGIN</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AUTHOR</span><span style="color: #007700">)
  574. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_think</span><span style="color: #007700">(</span><span style="color: #DD0000">"msg"</span><span style="color: #007700">,</span><span style="color: #DD0000">"ForwardThink"</span><span style="color: #007700">)
  575. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"TextMsg"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"RestartRound"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"a"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2&amp;#Game_C"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2&amp;#Game_w"</span><span style="color: #007700">)
  576. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_clcmd</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"say&nbsp;/hud"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Say_showhud"&nbsp;</span><span style="color: #007700">)
  577. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_clcmd</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"say&nbsp;/score"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Say_showhud"&nbsp;</span><span style="color: #007700">)
  578. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  579. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_NoOneWin&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"zp_score_hud_win"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)
  580. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hudcolor&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"zp_score_hud_color"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"255&nbsp;125&nbsp;0"</span><span style="color: #007700">)
  581. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hudposition&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"zp_score_hud_y_x"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"-1.0&nbsp;0.02"</span><span style="color: #007700">)
  582. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_score_happy_start"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;01:00&nbsp;AM
  583. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_score_happy_end"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"6"</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;06:00&nbsp;AM&nbsp;
  584. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_score_happy_multi"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2"</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Reward&nbsp;x2
  585. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  586. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(</span><span style="color: #0000BB">1.0&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"hh_update"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TASK_UPDATE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">)
  587. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"HLTV"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"event_round_start"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"a"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1=0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2=0"</span><span style="color: #007700">)
  588. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  589. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hudmsg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateHudSyncObj</span><span style="color: #007700">()
  590. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">create_entity</span><span style="color: #007700">(</span><span style="color: #DD0000">"info_target"</span><span style="color: #007700">)
  591. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_string</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_SZ_classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"msg"</span><span style="color: #007700">)
  592. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_FL_nextthink</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_gametime</span><span style="color: #007700">()&nbsp;+&nbsp;</span><span style="color: #0000BB">2.0</span><span style="color: #007700">)
  593. <br />}
  594. <br />
  595. <br />public&nbsp;</span><span style="color: #0000BB">zp_round_ended</span><span style="color: #007700">(</span><span style="color: #0000BB">team</span><span style="color: #007700">)
  596. <br />{
  597. <br />&nbsp;&nbsp;&nbsp;&nbsp;switch(</span><span style="color: #0000BB">team</span><span style="color: #007700">)
  598. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  599. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">WIN_ZOMBIES</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">g_zombiescore&nbsp;</span><span style="color: #007700">++&nbsp;
  600. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">WIN_HUMANS</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">g_humanscore&nbsp;</span><span style="color: #007700">++&nbsp;
  601. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">WIN_NO_ONE</span><span style="color: #007700">:&nbsp;
  602. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">g_NoOneWin</span><span style="color: #007700">))
  603. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_humanscore&nbsp;</span><span style="color: #007700">++
  604. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  605. <br />}
  606. <br />public&nbsp;</span><span style="color: #0000BB">event_round_start</span><span style="color: #007700">()&nbsp;
  607. <br />{
  608. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">h</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">m</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  609. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  610. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">24</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  611. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">24</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  612. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">start_hh</span><span style="color: #007700">)
  613. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  614. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_fail_state</span><span style="color: #007700">(</span><span style="color: #DD0000">"&#91;Happy&nbsp;Hour&#93;&nbsp;The&nbsp;time&nbsp;it&nbsp;starts&nbsp;and&nbsp;the&nbsp;time&nbsp;it&nbsp;stops"</span><span style="color: #007700">)
  615. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;
  616. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  617. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">time</span><span style="color: #007700">(</span><span style="color: #0000BB">h</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">m</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;
  618. <br />}
  619. <br />
  620. <br />public&nbsp;</span><span style="color: #0000BB">hh_update</span><span style="color: #007700">()&nbsp;
  621. <br />{
  622. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">h</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">m</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  623. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  624. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">24</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  625. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">24</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  626. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">start_hh</span><span style="color: #007700">)
  627. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  628. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_fail_state</span><span style="color: #007700">(</span><span style="color: #DD0000">"&#91;Happy&nbsp;Hour&#93;&nbsp;The&nbsp;time&nbsp;it&nbsp;starts&nbsp;and&nbsp;the&nbsp;time&nbsp;it&nbsp;stops"</span><span style="color: #007700">)
  629. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;
  630. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  631. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  632. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">time</span><span style="color: #007700">(</span><span style="color: #0000BB">h</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">m</span><span style="color: #007700">)
  633. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  634. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_hh</span><span style="color: #007700">)&nbsp;
  635. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  636. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;(</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">end_hh</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">stop_happy</span><span style="color: #007700">()
  637. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">start_hh</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">stop_happy</span><span style="color: #007700">()
  638. <br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;
  639. <br />&nbsp;&nbsp;&nbsp;&nbsp;else
  640. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  641. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">end_hh&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">end_hh</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">start_happy</span><span style="color: #007700">()
  642. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">start_hh&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">h&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">end_hh</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">start_happy</span><span style="color: #007700">()
  643. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  644. <br />}
  645. <br />
  646. <br /></span><span style="color: #0000BB">start_happy</span><span style="color: #007700">()
  647. <br />{
  648. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">g_hh</span><span style="color: #007700">)
  649. <br />&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;
  650. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true
  651. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_damage"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_damage"</span><span style="color: #007700">)&nbsp;*&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  652. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_human_infected"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_human_infected"</span><span style="color: #007700">)&nbsp;*&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  653. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_zombie_killed"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_zombie_killed"</span><span style="color: #007700">)&nbsp;*&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  654. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  655. <br />}
  656. <br />
  657. <br /></span><span style="color: #0000BB">stop_happy</span><span style="color: #007700">()
  658. <br />{
  659. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  660. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_hh</span><span style="color: #007700">)&nbsp;
  661. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  662. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hh&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false
  663. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_damage"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_damage"</span><span style="color: #007700">)&nbsp;/&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  664. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_human_infected"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_human_infected"</span><span style="color: #007700">)&nbsp;/&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  665. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_zombie_killed"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_cvar_num</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_ammop_zombie_killed"</span><span style="color: #007700">)&nbsp;/&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_hh</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;))
  666. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  667. <br />}
  668. <br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  669. <br />{
  670. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">is_user_bot</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))
  671. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  672. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Set&nbsp;the&nbsp;custom&nbsp;HUD&nbsp;display&nbsp;task
  673. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"show_hud"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">)
  674. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  675. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  676. <br /></span><span style="color: #FF8000">/*public&nbsp;ForwardThink(id,iEnt)
  677. <br />{
  678. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Say_showhud(id,iEnt)
  679. <br />}*/
  680. <br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">Say_showhud</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)&nbsp;
  681. <br />{
  682. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">ShowMeThisHud</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;)
  683. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  684. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ShowMeThisHud</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false
  685. <br />&nbsp;&nbsp;&nbsp;&nbsp;show_hud</span><span style="color: #007700">()
  686. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"show_hud"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">)
  687. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  688. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else
  689. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  690. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_task</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  691. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ShowMeThisHud</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true
  692. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  693. <br />}
  694. <br />public&nbsp;</span><span style="color: #0000BB">show_hud</span><span style="color: #007700">()
  695. <br />{
  696. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">num
  697. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ModeName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;
  698. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_players</span><span style="color: #007700">(</span><span style="color: #0000BB">players</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">num</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"ah"</span><span style="color: #007700">)
  699. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  700. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szDate</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szTime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;
  701. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"%d/%m/%Y"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szDate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szDate</span><span style="color: #007700">))
  702. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_time</span><span style="color: #007700">(</span><span style="color: #DD0000">"%H:%M:%S"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szTime</span><span style="color: #007700">))
  703. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  704. <br />&nbsp;&nbsp;&nbsp;&nbsp;for(new&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">num</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)
  705. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">zp_gamemodes_get_current</span><span style="color: #007700">()&nbsp;==&nbsp;</span><span style="color: #0000BB">ZP_NO_GAME_MODE</span><span style="color: #007700">)&nbsp;return;
  706. <br />
  707. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//static&nbsp;hud_red,hud_green,hud_blue,&nbsp;Float:hud_x,&nbsp;Float:hud_y
  708. <br />
  709. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  710. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">zp_gamemodes_get_current</span><span style="color: #007700">()&nbsp;==&nbsp;</span><span style="color: #0000BB">ZP_NO_GAME_MODE</span><span style="color: #007700">)&nbsp;return;
  711. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">zp_gamemodes_get_name</span><span style="color: #007700">(</span><span style="color: #0000BB">zp_gamemodes_get_current</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">ModeName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">32</span><span style="color: #007700">)
  712. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//-----
  713. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static&nbsp;</span><span style="color: #0000BB">hud_red</span><span style="color: #007700">,</span><span style="color: #0000BB">hud_green</span><span style="color: #007700">,</span><span style="color: #0000BB">hud_blue</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">hud_x</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">hud_y
  714. <br />
  715. <br />&nbsp;&nbsp;&nbsp;&nbsp;hudmsgcolor</span><span style="color: #007700">(</span><span style="color: #0000BB">hud_red</span><span style="color: #007700">,</span><span style="color: #0000BB">hud_green</span><span style="color: #007700">,</span><span style="color: #0000BB">hud_blue</span><span style="color: #007700">)
  716. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hudmsgpos</span><span style="color: #007700">(</span><span style="color: #0000BB">hud_x</span><span style="color: #007700">,</span><span style="color: #0000BB">hud_y</span><span style="color: #007700">)
  717. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">hud_red</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hud_green</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hud_blue</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hud_x</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hud_y</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">)
  718. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ShowSyncHudMsg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_hudmsg</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"&#91;HappyHour:&nbsp;%s&#93;^n&#91;%d&nbsp;ZOMBIES&#93;&nbsp;-&nbsp;&#91;%s&#93;&nbsp;-&nbsp;&#91;HUMANS&nbsp;%d&#93;^n&#91;%s%d&#93;&nbsp;--&nbsp;&#91;%s%d&#93;^n&nbsp;%s&nbsp;-&nbsp;%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_hh&nbsp;</span><span style="color: #007700">?&nbsp;</span><span style="color: #DD0000">"Activated"&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"Not&nbsp;Activated"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fn_get_zombies</span><span style="color: #007700">(),</span><span style="color: #0000BB">ModeName</span><span style="color: #007700">,</span><span style="color: #0000BB">fn_get_humans</span><span style="color: #007700">(),</span><span style="color: #0000BB">g_zombiescore&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">10&nbsp;</span><span style="color: #007700">?&nbsp;</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">,</span><span style="color: #0000BB">g_zombiescore</span><span style="color: #007700">,</span><span style="color: #0000BB">g_humanscore&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">10&nbsp;</span><span style="color: #007700">?&nbsp;</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_humanscore</span><span style="color: #007700">,</span><span style="color: #0000BB">szDate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTime</span><span style="color: #007700">)
  719. <br />}
  720. <br />
  721. <br />public&nbsp;</span><span style="color: #0000BB">RestartRound</span><span style="color: #007700">()
  722. <br />{
  723. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_zombiescore&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  724. <br />&nbsp;&nbsp;&nbsp;&nbsp;g_humanscore&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  725. <br /></span><span style="color: #007700">}
  726. <br />
  727. <br />public&nbsp;</span><span style="color: #0000BB">hudmsgcolor</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">hud_red</span><span style="color: #007700">,&amp;</span><span style="color: #0000BB">hud_green</span><span style="color: #007700">,&amp;</span><span style="color: #0000BB">hud_blue</span><span style="color: #007700">)
  728. <br />{
  729. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">color</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">16</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">red</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">4</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">green</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">4</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">blue</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">4</span><span style="color: #007700">&#93;
  730. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_pcvar_string</span><span style="color: #007700">(</span><span style="color: #0000BB">g_hudcolor</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">color</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">15</span><span style="color: #007700">)
  731. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">parse</span><span style="color: #007700">(</span><span style="color: #0000BB">color</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">red</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">green</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">blue</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">)
  732. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  733. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hud_red&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(</span><span style="color: #0000BB">red</span><span style="color: #007700">)
  734. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hud_green&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(</span><span style="color: #0000BB">green</span><span style="color: #007700">)
  735. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hud_blue&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(</span><span style="color: #0000BB">blue</span><span style="color: #007700">)
  736. <br />}
  737. <br />
  738. <br />public&nbsp;</span><span style="color: #0000BB">hudmsgpos</span><span style="color: #007700">(&amp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">hud_x</span><span style="color: #007700">,&amp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">hud_y</span><span style="color: #007700">)
  739. <br />{
  740. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Position</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">19</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">PositionX</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">6</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">PositionY</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">6</span><span style="color: #007700">&#93;
  741. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_pcvar_string</span><span style="color: #007700">(</span><span style="color: #0000BB">g_hudposition</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Position</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">18</span><span style="color: #007700">)
  742. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">parse</span><span style="color: #007700">(</span><span style="color: #0000BB">Position</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PositionX</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">6</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PositionY</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">6</span><span style="color: #007700">)
  743. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  744. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hud_x&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_float</span><span style="color: #007700">(</span><span style="color: #0000BB">PositionX</span><span style="color: #007700">)
  745. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hud_y&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_float</span><span style="color: #007700">(</span><span style="color: #0000BB">PositionY</span><span style="color: #007700">)
  746. <br />}
  747. <br /></span><span style="color: #0000BB">fn_get_humans</span><span style="color: #007700">()
  748. <br />{
  749. <br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id
  750. <br />&nbsp;&nbsp;&nbsp;&nbsp;iAlive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  751. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  752. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;(</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">32</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">++)
  753. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  754. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">zp_get_user_zombie</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))
  755. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">++
  756. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  757. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  758. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">;
  759. <br />}
  760. <br />
  761. <br /></span><span style="color: #0000BB">fn_get_zombies</span><span style="color: #007700">()
  762. <br />{
  763. <br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id
  764. <br />&nbsp;&nbsp;&nbsp;&nbsp;iAlive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  765. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  766. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;(</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">32</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">++)
  767. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  768. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">zp_get_user_zombie</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))
  769. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">++
  770. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  771. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  772. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">iAlive</span><span style="color: #007700">;
  773. <br />}&nbsp;
  774. <br /></span><span style="color: #0000BB"></span>
  775. </span>
  776. </code><!-- php buffer end -->
  777. </div>
  778. </code>
  779. <hr />
  780. </div>
  781. </div></div>
  782.  
  783. ]]></content:encoded>
  784. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=126">Zombie Plague Mod</category>
  785. <dc:creator>Hn.S Xmix</dc:creator>
  786. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347703</guid>
  787. </item>
  788. <item>
  789. <title>Some questions about color codes</title>
  790. <link>https://forums.alliedmods.net/showthread.php?t=347701&amp;goto=newpost</link>
  791. <pubDate>Tue, 14 May 2024 02:40:49 GMT</pubDate>
  792. <description><![CDATA[I want to change the colors in this code, I think it's hexadecimal, but I don't understand x04, x07, what are they again? I tried to change the color...]]></description>
  793. <content:encoded><![CDATA[<div>I want to change the colors in this code, I think it's hexadecimal, but I don't understand x04, x07, what are they again? I tried to change the color but it didn't work, can someone explain it for me?<br />
  794. <br />
  795. <br />
  796.        users[client].exper_num = userEx - (lv * 10);<br />
  797.        PrintToChatAll(&quot;\x04 players \x07FF0000%s \x04 Level up %d&quot;, users[client].user_name, users[client].l_v_num);<br />
  798.    }else{<br />
  799.        users[client].exper_num = userEx;<br />
  800.        if(value&gt;0){<br />
  801.            PrintToChat(client,&quot;\x04[Lv]: \x07FF0000%d | \x04 EXP: %d | \x04 EXP: +%d&quot;, users[client].l_v_num, users[client].exper_num,value);<br />
  802.        }else{<br />
  803.            PrintToChat(client,&quot;\x04[Lv]: \x07FF0000%d | \x04 EXP: %d | \x04 EXP: %d&quot;, users[client].l_v_num, users[client].exper_num,value);<br />
  804.        }</div>
  805.  
  806. ]]></content:encoded>
  807. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  808. <dc:creator>Twenty_Cat</dc:creator>
  809. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347701</guid>
  810. </item>
  811. <item>
  812. <title><![CDATA[[L4D2] About the character name problem in Generation 1 map]]></title>
  813. <link>https://forums.alliedmods.net/showthread.php?t=347700&amp;goto=newpost</link>
  814. <pubDate>Tue, 14 May 2024 02:04:17 GMT</pubDate>
  815. <description>I changed the survivor set of the 1st generation map, the voice corresponding to the role is normal, but trying various methods can not change the...</description>
  816. <content:encoded><![CDATA[<div>I changed the survivor set of the 1st generation map, the voice corresponding to the role is normal, but trying various methods can not change the role name, is the role name controlled by the client?<br />
  817. <br />
  818. <div style="margin:20px; margin-top:5px">
  819. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  820. <div class="alt2">
  821. <hr />
  822. <code style="white-space:nowrap">
  823. <div dir="ltr" style="text-align:left;">
  824. <!-- php buffer start --><code><span style="color: #000000">
  825. <span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">Action&nbsp;API_GetSurvivorSet</span><span style="color: #007700">(</span><span style="color: #0000BB">int&nbsp;def</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">int&nbsp;</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">set</span><span style="color: #007700">)
  826. <br />{
  827. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">DefSet&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">def</span><span style="color: #007700">;
  828. <br />
  829. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">def&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  830. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  831. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">;
  832. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">Plugin_Handled</span><span style="color: #007700">;
  833. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  834. <br />
  835. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">Plugin_Continue</span><span style="color: #007700">;
  836. <br />}&nbsp;
  837. <br /></span><span style="color: #0000BB"></span>
  838. </span>
  839. </code><!-- php buffer end -->
  840. </div>
  841. </code>
  842. <hr />
  843. </div>
  844. </div></div>
  845.  
  846.  
  847. <br />
  848. <div style="padding:6px">
  849.  
  850. <fieldset class="fieldset">
  851. <legend>Attached Thumbnails</legend>
  852. <div style="padding:3px">
  853. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204379&amp;d=1715652130" rel="Lightbox_2822658" id="attachment204379"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204379&amp;stc=1&amp;thumb=1&amp;d=1715652130" border="0" alt="Click image for larger version
  854.  
  855. Name: 3F8B51EB104B121C46E95D93C85BF3CB.jpg
  856. Views: N/A
  857. Size: 98.2 KB
  858. ID: 204379" /></a>
  859. &nbsp;
  860.  
  861. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204380&amp;d=1715652205" rel="Lightbox_2822658" id="attachment204380"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204380&amp;stc=1&amp;thumb=1&amp;d=1715652205" border="0" alt="Click image for larger version
  862.  
  863. Name: 3F8B51EB.jpg
  864. Views: N/A
  865. Size: 97.6 KB
  866. ID: 204380" /></a>
  867. &nbsp;
  868.  
  869. </div>
  870. </fieldset>
  871.  
  872.  
  873.  
  874.  
  875. </div>
  876. ]]></content:encoded>
  877. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  878. <dc:creator>Solar1234</dc:creator>
  879. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347700</guid>
  880. </item>
  881. <item>
  882. <title><![CDATA[Replay Grenade - 1.0 [BETA]]]></title>
  883. <link>https://forums.alliedmods.net/showthread.php?t=347697&amp;goto=newpost</link>
  884. <pubDate>Mon, 13 May 2024 22:33:22 GMT</pubDate>
  885. <description>*Replay Grenade
  886. *
  887. v1.0 - BETA
  888. *- Description*
  889. This feature replays the path of the grenade you threw by typing .rethrow in the chat.
  890. *-...</description>
  891. <content:encoded><![CDATA[<div><b><font size="7"><font color="Red"><div align="center">Replay Grenade</div></font></font></b><div align="center"><br />
  892. <i>v1.0 - BETA</i><br />
  893. </div><br />
  894. <b><font color="Red">- Description</font></b><br />
  895. <br />
  896. This feature replays the path of the grenade you threw by typing .rethrow in the chat.<br />
  897. <br />
  898. <b><font color="Red">- Demonstration</font></b><br />
  899. <br />
  900. <iframe width="420" height="315" src="https://www.youtube.com/embed/27vYsti4hac?rel=0" frameborder="0" allowfullscreen></iframe><br />
  901. <br />
  902. <b><font color="Red">- Known issues</font></b><br />
  903. <br />
  904. The path may not be 100% accurate sometimes. Also, will think in a better way to copy the grenades effects rather than hardcode them.</div>
  905.  
  906.  
  907. <br />
  908. <div style="padding:6px">
  909.  
  910.  
  911.  
  912.  
  913. <fieldset class="fieldset">
  914. <legend>Attached Files</legend>
  915. <table cellpadding="0" cellspacing="3" border="0">
  916. <tr>
  917. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  918. <td>
  919. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204381"><strong>Get Plugin</strong></a> or
  920. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204381&amp;d=1715655330">Get Source</a> (replayGrenade.sma - 9.3 KB)
  921. </td>
  922. </tr>
  923. </table>
  924. </fieldset>
  925.  
  926. </div>
  927. ]]></content:encoded>
  928. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=26">New Plugin Submissions</category>
  929. <dc:creator>EFFx</dc:creator>
  930. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347697</guid>
  931. </item>
  932. <item>
  933. <title>DirectX related bug (Steam Overlay)</title>
  934. <link>https://forums.alliedmods.net/showthread.php?t=347696&amp;goto=newpost</link>
  935. <pubDate>Mon, 13 May 2024 22:13:47 GMT</pubDate>
  936. <description><![CDATA[Hello.
  937. This isn't about amxx/sourcemod but i am losing my mind.
  938. The game's support is too slow, they were answering but now i have not been replied...]]></description>
  939. <content:encoded><![CDATA[<div>Hello.<br />
  940. This isn't about amxx/sourcemod but i am losing my mind.<br />
  941. The game's support is too slow, they were answering but now i have not been replied since friday.<br />
  942. <br />
  943. These are the steam logs:<br />
  944. <div style="margin:20px; margin-top:5px">
  945. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  946. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">//Moment i open the game<br />
  947. Mon May 13 22:00:15 2024 UTC - Registering HWND 0000000000090318 for device notifications<br />
  948. Mon May 13 22:00:15 2024 UTC - Game is using dinput8, preparing to hook.<br />
  949. Mon May 13 22:00:15 2024 UTC - CoCreateInstance hook created DirectInput8 interface 000001939DB34C40<br />
  950. Mon May 13 22:00:15 2024 UTC - Registering HWND 00000000001C0292 for device notifications<br />
  951. Mon May 13 22:00:17 2024 UTC - Game is using D3D9 or D3D9Ex, preparing to hook.<br />
  952. Mon May 13 22:00:19 2024 UTC - hookCreateDXGIFactory1 called<br />
  953. Mon May 13 22:00:19 2024 UTC - Hooking vtable for factory<br />
  954. Mon May 13 22:00:19 2024 UTC - DXGIFactory2_CreateSwapChain already hooked via IDXGIFactory or IDXGIFactory1<br />
  955. Mon May 13 22:00:19 2024 UTC - Trying to setup input hook...<br />
  956. Mon May 13 22:00:19 2024 UTC - Set input hook...<br />
  957. Mon May 13 22:00:30 2024 UTC - Disabling overlay for 2 seconds (10 seconds since last frame from ui process was seen)<br />
  958. Mon May 13 22:00:32 2024 UTC - Disabling overlay for 2 seconds (12 seconds since last frame from ui process was seen)<br />
  959. Mon May 13 22:00:34 2024 UTC - hookCreateDXGIFactory1 called<br />
  960. Mon May 13 22:00:34 2024 UTC - Hooking vtable for factory<br />
  961. Mon May 13 22:00:34 2024 UTC - DXGIFactory2_CreateSwapChain already hooked via IDXGIFactory or IDXGIFactory1<br />
  962. Mon May 13 22:00:34 2024 UTC - Disabling overlay for 2 seconds (14 seconds since last frame from ui process was seen)<br />
  963. Mon May 13 22:00:34 2024 UTC - Reattaching input because g_hWndGame has changed...<br />
  964. Mon May 13 22:00:34 2024 UTC - Detaching input hook...<br />
  965. Mon May 13 22:00:34 2024 UTC - Set input hook...<br />
  966. Mon May 13 22:00:36 2024 UTC - Disabling overlay for 2 seconds (16 seconds since last frame from ui process was seen)<br />
  967. Mon May 13 22:00:38 2024 UTC - Disabling overlay for 2 seconds (18 seconds since last frame from ui process was seen)<br />
  968. Mon May 13 22:00:40 2024 UTC - Disabling overlay for 2 seconds (20 seconds since last frame from ui process was seen)<br />
  969. Mon May 13 22:00:42 2024 UTC - Disabling overlay for 2 seconds (22 seconds since last frame from ui process was seen)<br />
  970. Mon May 13 22:00:44 2024 UTC - Disabling overlay for 2 seconds (24 seconds since last frame from ui process was seen)<br />
  971. Mon May 13 22:00:46 2024 UTC - Disabling overlay for 2 seconds (26 seconds since last frame from ui process was seen)<br />
  972. Mon May 13 22:00:48 2024 UTC - Disabling overlay for 2 seconds (28 seconds since last frame from ui process was seen)<br />
  973. Mon May 13 22:00:50 2024 UTC - Disabling overlay for 2 seconds (30 seconds since last frame from ui process was seen)<br />
  974. Mon May 13 22:00:52 2024 UTC - Disabling overlay for 2 seconds (33 seconds since last frame from ui process was seen)<br />
  975. Mon May 13 22:00:54 2024 UTC - Disabling overlay for 2 seconds (35 seconds since last frame from ui process was seen)<br />
  976. Mon May 13 22:00:56 2024 UTC - Disabling overlay for 2 seconds (37 seconds since last frame from ui process was seen)<br />
  977. Mon May 13 22:00:58 2024 UTC - Disabling overlay for 2 seconds (39 seconds since last frame from ui process was seen)<br />
  978. Mon May 13 22:01:00 2024 UTC - Disabling overlay for 2 seconds (41 seconds since last frame from ui process was seen)<br />
  979. Mon May 13 22:01:02 2024 UTC - Disabling overlay for 2 seconds (43 seconds since last frame from ui process was seen)<br />
  980. Mon May 13 22:01:04 2024 UTC - Disabling overlay for 2 seconds (45 seconds since last frame from ui process was seen)<br />
  981. Mon May 13 22:01:06 2024 UTC - Disabling overlay for 2 seconds (47 seconds since last frame from ui process was seen)<br />
  982. Mon May 13 22:01:08 2024 UTC - Disabling overlay for 2 seconds (49 seconds since last frame from ui process was seen)<br />
  983. (...)<br />
  984. //Moment i close the game<br />
  985. Mon May 13 22:01:10 2024 UTC - DInput 000001939DB34C40 deleting</code><hr />
  986. </div>Basically when i open the game it tries to open the steam overlay by itself but there is some overlay already registered. Steam Overlay works fine on another games but it got bugged on this one.<br />
  987. <br />
  988. Does anyone know if i can clear it via regedit? Or is it Steam/Game side?</div>
  989.  
  990. ]]></content:encoded>
  991. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=15">Off-Topic</category>
  992. <dc:creator>Jhob94</dc:creator>
  993. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347696</guid>
  994. </item>
  995. <item>
  996. <title><![CDATA[[DOD] Weaponmod ini]]></title>
  997. <link>https://forums.alliedmods.net/showthread.php?t=347694&amp;goto=newpost</link>
  998. <pubDate>Mon, 13 May 2024 18:56:55 GMT</pubDate>
  999. <description>*Description*
  1000. The plugin changes the behavior of standard weapons. Not significantly, but based on catching standard functions, you can try and...</description>
  1001. <content:encoded><![CDATA[<div><b>Description</b><br />
  1002. <br />
  1003. The plugin changes the behavior of standard weapons. Not significantly, but based on catching standard functions, you can try and write unique behavior.<br />
  1004. <br />
  1005. <b>Functional</b><br />
  1006. say mm to open custom weaponmenu list<br />
  1007. <br />
  1008. <br />
  1009. <br />
  1010. <b>Technical part</b><br />
  1011. I\x92ll tell you a special case of conversion for only one weapon, expanding this to several weapons is a matter of processing an array, which is solved in this plugin. <br />
  1012. We take the weapon entity index from the player's inventory. <br />
  1013. And we\x92ll assign this specific index to private so that this particular class object differs from others according to our rules<br />
  1014. <div style="margin:20px; margin-top:5px">
  1015. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1016. <div class="alt2">
  1017. <hr />
  1018. <code style="white-space:nowrap">
  1019. <div dir="ltr" style="text-align:left;">
  1020. <!-- php buffer start --><code><span style="color: #000000">
  1021. <span style="color: #0000BB">idx_wpn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pdata_cbase</span><span style="color: #007700">(</span><span style="color: #0000BB">id_owner</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">m_pActiveItem</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">linux_diff_player</span><span style="color: #007700">);
  1022. <br /></span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">idx_wpn</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_INT_iuser4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">custom_idx&nbsp;</span><span style="color: #007700">)&nbsp;
  1023. <br /></span><span style="color: #0000BB"></span>
  1024. </span>
  1025. </code><!-- php buffer end -->
  1026. </div>
  1027. </code>
  1028. <hr />
  1029. </div>
  1030. </div>Now, when we catch the primary fire event, we will check for the presence of a special index on the class object, and if it is there, then this is a special weapon, to which we assign special behavior, assign a v_model and p_model, sounds and HUD.<br />
  1031. If you throw a weapon out of your hands, then a special w_model will be assigned to it, and if someone picks up this weapon, then it is he who picks up the special weapon.<br />
  1032. <br />
  1033. <b>ini-file</b><br />
  1034. <div style="margin:20px; margin-top:5px">
  1035. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1036. <div class="alt2">
  1037. <hr />
  1038. <code style="white-space:nowrap">
  1039. <div dir="ltr" style="text-align:left;">
  1040. <!-- php buffer start --><code><span style="color: #000000">
  1041. <span style="color: #0000BB"></span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">CODE&nbsp;weapon_reference&nbsp;weapon_newname&nbsp;f_damagemultipier&nbsp;f_fire1rate&nbsp;f_fire2rate&nbsp;f_reloadtime&nbsp;maxcxlip&nbsp;maxammo&nbsp;hud_clip&nbsp;hud_ammo&nbsp;soundfire1&nbsp;soundfire2&nbsp;v_model&nbsp;p_model&nbsp;w_model&nbsp;v_subnum&nbsp;p_submodelnum&nbsp;w_submodel&nbsp;num
  1042. <br />1&nbsp;weapon_colt&nbsp;273&nbsp;weapon_tt33&nbsp;0.1&nbsp;0.15&nbsp;2.0&nbsp;5.0&nbsp;3&nbsp;11&nbsp;28&nbsp;4&nbsp;</span><span style="color: #DD0000">""&nbsp;""&nbsp;"models/v_colt.mdl"&nbsp;"models/p_colt.mdl"&nbsp;"models/w_colt.mdl"&nbsp;</span><span style="color: #0000BB">0&nbsp;0&nbsp;0&nbsp;0&nbsp;
  1043. <br /></span>
  1044. </span>
  1045. </code><!-- php buffer end -->
  1046. </div>
  1047. </code>
  1048. <hr />
  1049. </div>
  1050. </div><a href="https://youtu.be/HruIdNuiAVQ?si=ayN1eHiTT9X1kuwX" target="_blank" rel="nofollow noopener">Youtube demo video</a> <br />
  1051. <br />
  1052. <b>Issue</b><br />
  1053. 1. At the moment a weapon is fired, a special sound is heard on the surface of a standard weapon, and sometimes with a delay. <br />
  1054. <br />
  1055. 2. To imitate a shotgun, we need to parse the decal index from one bullet, and after multiple tracing, assign them, this function has not yet been fully implemented</div>
  1056.  
  1057.  
  1058. <br />
  1059. <div style="padding:6px">
  1060.  
  1061.  
  1062.  
  1063.  
  1064. <fieldset class="fieldset">
  1065. <legend>Attached Files</legend>
  1066. <table cellpadding="0" cellspacing="3" border="0">
  1067. <tr>
  1068. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  1069. <td>
  1070. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204372"><strong>Get Plugin</strong></a> or
  1071. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204372&amp;d=1715624188">Get Source</a> (dod_weaponmod_ini.sma - 37.0 KB)
  1072. </td>
  1073. </tr><tr>
  1074. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  1075. <td>
  1076. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204373&amp;d=1715624188">w_weapons.ini</a> (1.0 KB)
  1077. </td>
  1078. </tr>
  1079. </table>
  1080. </fieldset>
  1081.  
  1082. </div>
  1083. ]]></content:encoded>
  1084. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=26">New Plugin Submissions</category>
  1085. <dc:creator>TheVaskov</dc:creator>
  1086. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347694</guid>
  1087. </item>
  1088. <item>
  1089. <title>CS2 Dedicated Server Issue</title>
  1090. <link>https://forums.alliedmods.net/showthread.php?t=347693&amp;goto=newpost</link>
  1091. <pubDate>Mon, 13 May 2024 17:22:28 GMT</pubDate>
  1092. <description><![CDATA[Server console spamming with these lines
  1093. PHP:
  1094. ---------
  1095. ['abc' tick 41197 depth=2 (46603..46604) ping=8ms] CQ bloat: removed 4, max: 4, 1...]]></description>
  1096. <content:encoded><![CDATA[<div>Server console spamming with these lines<br />
  1097. <br />
  1098. <div style="margin:20px; margin-top:5px">
  1099. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1100. <div class="alt2">
  1101. <hr />
  1102. <code style="white-space:nowrap">
  1103. <div dir="ltr" style="text-align:left;">
  1104. <!-- php buffer start --><code><span style="color: #000000">
  1105. <span style="color: #0000BB"></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41197&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46603..46604</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">8ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame
  1106. <br /></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41205&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46615..46616</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">8ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame
  1107. <br /></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41220&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46634..46635</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">9ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame
  1108. <br /></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41228&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46646..46647</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">9ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame
  1109. <br /></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41243&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46665..46666</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">10ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame
  1110. <br /></span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'abc'&nbsp;</span><span style="color: #0000BB">tick&nbsp;41267&nbsp;depth</span><span style="color: #007700">=</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">46693..46694</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">ping</span><span style="color: #007700">=</span><span style="color: #0000BB">8ms</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CQ&nbsp;bloat</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">removed&nbsp;4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;ticks&nbsp;this&nbsp;frame&nbsp;
  1111. <br /></span>
  1112. </span>
  1113. </code><!-- php buffer end -->
  1114. </div>
  1115. </code>
  1116. <hr />
  1117. </div>
  1118. </div><br />
  1119. Can someone help with the fix.</div>
  1120.  
  1121. ]]></content:encoded>
  1122. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=130">Source Servers (SRCDS)</category>
  1123. <dc:creator>Sanjay Singh</dc:creator>
  1124. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347693</guid>
  1125. </item>
  1126. <item>
  1127. <title><![CDATA[[FAKEMETA] Invalid entity 0]]></title>
  1128. <link>https://forums.alliedmods.net/showthread.php?t=347692&amp;goto=newpost</link>
  1129. <pubDate>Mon, 13 May 2024 16:54:38 GMT</pubDate>
  1130. <description><![CDATA[Who can help me to fix this?
  1131. PHP:
  1132. ---------
  1133. [AMXX] Run time error 10: native error (native "get_pdata_int")
  1134. [AMXX]    [0]...]]></description>
  1135. <content:encoded><![CDATA[<div>Who can help me to fix this?<br />
  1136. <br />
  1137. <div style="margin:20px; margin-top:5px">
  1138. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1139. <div class="alt2">
  1140. <hr />
  1141. <code style="white-space:nowrap">
  1142. <div dir="ltr" style="text-align:left;">
  1143. <!-- php buffer start --><code><span style="color: #000000">
  1144. <span style="color: #0000BB"></span><span style="color: #007700">&#91;</span><span style="color: #0000BB">AMXX</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Run&nbsp;time&nbsp;error&nbsp;10</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">native&nbsp;error&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">native&nbsp;</span><span style="color: #DD0000">"get_pdata_int"</span><span style="color: #007700">)<br />&#91;</span><span style="color: #0000BB">AMXX</span><span style="color: #007700">&#93;&nbsp;&nbsp;&nbsp;&nbsp;&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">amx_warmup_pro</span><span style="color: #007700">.</span><span style="color: #0000BB">sma</span><span style="color: #007700">::</span><span style="color: #0000BB">fm_get_user_team&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">line&nbsp;410</span><span style="color: #007700">)<br />&#91;</span><span style="color: #0000BB">AMXX</span><span style="color: #007700">&#93;&nbsp;&nbsp;&nbsp;&nbsp;&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">amx_warmup_pro</span><span style="color: #007700">.</span><span style="color: #0000BB">sma</span><span style="color: #007700">::</span><span style="color: #0000BB">fm_get_user_team&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">line&nbsp;412</span><span style="color: #007700">)<br />&#91;</span><span style="color: #0000BB">AMXX</span><span style="color: #007700">&#93;&nbsp;&nbsp;&nbsp;&nbsp;&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">amx_warmup_pro</span><span style="color: #007700">.</span><span style="color: #0000BB">sma</span><span style="color: #007700">::</span><span style="color: #0000BB">FwdPlayerDeath&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">line&nbsp;1046</span><span style="color: #007700">)<br />&#91;</span><span style="color: #0000BB">FAKEMETA</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Invalid&nbsp;entity&nbsp;0&nbsp;
  1145. <br /></span>
  1146. </span>
  1147. </code><!-- php buffer end -->
  1148. </div>
  1149. </code>
  1150. <hr />
  1151. </div>
  1152. </div><div style="margin:20px; margin-top:5px">
  1153. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1154. <div class="alt2">
  1155. <hr />
  1156. <code style="white-space:nowrap">
  1157. <div dir="ltr" style="text-align:left;">
  1158. <!-- php buffer start --><code><span style="color: #000000">
  1159. <span style="color: #0000BB">stock&nbsp;CsTeams</span><span style="color: #007700">:</span><span style="color: #0000BB">fm_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;&amp;{</span><span style="color: #0000BB">CS_Internal_Models</span><span style="color: #007700">,</span><span style="color: #0000BB">_</span><span style="color: #007700">}:</span><span style="color: #0000BB">model&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CS_DONTCHANGE</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">model&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CS_Internal_Models</span><span style="color: #007700">:</span><span style="color: #0000BB">get_pdata_int</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">OFFSET_INTERNALMODEL</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//This&nbsp;is&nbsp;line&nbsp;410<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">CsTeams</span><span style="color: #007700">:</span><span style="color: #0000BB">get_pdata_int</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">OFFSET_TEAM</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//This&nbsp;is&nbsp;line&nbsp;412<br /></span><span style="color: #007700">}&nbsp;
  1160. <br /></span><span style="color: #0000BB"></span>
  1161. </span>
  1162. </code><!-- php buffer end -->
  1163. </div>
  1164. </code>
  1165. <hr />
  1166. </div>
  1167. </div><br />
  1168. <div style="margin:20px; margin-top:5px">
  1169. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1170. <div class="alt2">
  1171. <hr />
  1172. <code style="white-space:nowrap">
  1173. <div dir="ltr" style="text-align:left;">
  1174. <!-- php buffer start --><code><span style="color: #000000">
  1175. <span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">FwdPlayerDeath</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">)&nbsp;<br />{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_is_dead</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">plr</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">respawn3d</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(</span><span style="color: #0000BB">2.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"TaskCheckAlive"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">plr</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">wup_on&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">ganador</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">fm_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">)&nbsp;!=&nbsp;</span><span style="color: #0000BB">fm_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">is_user_connected</span><span style="color: #007700">(</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">)&nbsp;)&nbsp;</span><span style="color: #FF8000">//This&nbsp;is&nbsp;line&nbsp;1046<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_ganadores</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">&#93;++;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(&nbsp;</span><span style="color: #0000BB">wup_on&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">ganador</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">fm_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">fm_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">is_user_connected</span><span style="color: #007700">(</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_ganadores</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">idattacker</span><span style="color: #007700">&#93;--;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">wup_on&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">mode</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">wup_on&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">mode</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!(</span><span style="color: #0000BB">7&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">FLAG_DEAD</span><span style="color: #007700">)&nbsp;||&nbsp;!(</span><span style="color: #0000BB">3&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">FLAG_CT</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">fm_get_user_defuse</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">CONTAIN_FLAG_OF_INDEX</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">g_pcvar_allow</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">DEFUSER</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_defuse</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">plr</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_body</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;backward&nbsp;compatibility<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />}&nbsp;
  1176. <br /></span><span style="color: #0000BB"></span>
  1177. </span>
  1178. </code><!-- php buffer end -->
  1179. </div>
  1180. </code>
  1181. <hr />
  1182. </div>
  1183. </div></div>
  1184.  
  1185. ]]></content:encoded>
  1186. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  1187. <dc:creator>SaraAki</dc:creator>
  1188. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347692</guid>
  1189. </item>
  1190. <item>
  1191. <title><![CDATA[[DOD] Weapons Equipment by Steam ID]]></title>
  1192. <link>https://forums.alliedmods.net/showthread.php?t=347689&amp;goto=newpost</link>
  1193. <pubDate>Mon, 13 May 2024 10:23:54 GMT</pubDate>
  1194. <description>This plugin opens a simple menu when you respawn after death with a choice of weapons that are available to you as a VIP player.
  1195. Image:...</description>
  1196. <content:encoded><![CDATA[<div>This plugin opens a simple menu when you respawn after death with a choice of weapons that are available to you as a VIP player.<br />
  1197. <br />
  1198. <a class="proxied-img-link" href="https://i.postimg.cc/C5ZkQvvD/dod-caen-donner-huds.png" rel="nofollow noopener"><img class="proxied-img" src="https://forums.alliedmods.net/image-proxy/576308351337e73ecc64eec7f47b4c41e2d5a409/68747470733a2f2f692e706f7374696d672e63632f43355a6b517676442f646f642d6361656e2d646f6e6e65722d687564732e706e67" border="0" alt="" /></a><br />
  1199. <br />
  1200. It reads from the ini file the list of available weapons for a specific steam ID<br />
  1201. After the first launch, it creates a file with the following content:<br />
  1202. addons/amxmodx/configs/ck_custom_equip.ini<br />
  1203. <div style="margin:20px; margin-top:5px">
  1204. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1205. <div class="alt2">
  1206. <hr />
  1207. <code style="white-space:nowrap">
  1208. <div dir="ltr" style="text-align:left;">
  1209. <!-- php buffer start --><code><span style="color: #000000">
  1210. <span style="color: #0000BB">STEAM_0</span><span style="color: #007700">:</span><span style="color: #0000BB">1</span><span style="color: #007700">:</span><span style="color: #0000BB">168151617&nbsp;weapon_enfield&nbsp;weapon_sten&nbsp;
  1211. <br /></span>
  1212. </span>
  1213. </code><!-- php buffer end -->
  1214. </div>
  1215. </code>
  1216. <hr />
  1217. </div>
  1218. </div>I can make the plugin work in two modes:<br />
  1219. classic is when your current weapon falls out of your hands and a new one comes out.<br />
  1220. and secondary is when two primary weapons are placed in 1 slot. it's like having two rifles.<br />
  1221. <br />
  1222. ___________ <br />
  1223. The plugin was created at the request of the administrator. However, before continuing my work, I want to ask the professionals.<br />
  1224. <br />
  1225. Each time it spawns, the plugin again accesses the text file and processes it. It's fast and easy when I test it on a home server. but when such a function is repeated every respawn for 32 players, I suspect it will be difficult.<br />
  1226. Can we translate a list of weapons into bitmasks.<br />
  1227. or does it make sense to create a multidimensional text array for each player and parse the data into it, and then process it from the RAM?</div>
  1228.  
  1229.  
  1230. <br />
  1231. <div style="padding:6px">
  1232.  
  1233.  
  1234.  
  1235.  
  1236. <fieldset class="fieldset">
  1237. <legend>Attached Files</legend>
  1238. <table cellpadding="0" cellspacing="3" border="0">
  1239. <tr>
  1240. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  1241. <td>
  1242. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204370"><strong>Get Plugin</strong></a> or
  1243. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204370&amp;d=1715602255">Get Source</a> (dod_ck_customequip.sma - 7.9 KB)
  1244. </td>
  1245. </tr>
  1246. </table>
  1247. </fieldset>
  1248.  
  1249. </div>
  1250. ]]></content:encoded>
  1251. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=26">New Plugin Submissions</category>
  1252. <dc:creator>TheVaskov</dc:creator>
  1253. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347689</guid>
  1254. </item>
  1255. <item>
  1256. <title>Max players, fatal errors = no errors</title>
  1257. <link>https://forums.alliedmods.net/showthread.php?t=347686&amp;goto=newpost</link>
  1258. <pubDate>Mon, 13 May 2024 08:39:24 GMT</pubDate>
  1259. <description><![CDATA[How many clients (maxplayers) ZP can handle? I have some experience in hosting ZP, but not in terms of creating plugins. I don't understand in...]]></description>
  1260. <content:encoded><![CDATA[<div>How many clients (maxplayers) ZP can handle? I have some experience in hosting ZP, but not in terms of creating plugins. I don't understand in scripting at all, but everytime i hosted ZP in the past and right now, i always have crashes after more then 15 people come in. They just come in and Crash! (no error)<br />
  1261. I tried deleting plugins, modules, tried different versions of mod, i even tried to fill SYPB clients and i didn't have crash.<br />
  1262. Seems like filling ZP with custom models and extra items gives crash no matter what, seems like CS itself is a problem. I tried every possible versions of mods and everytime i have the same situation.<br />
  1263. I don't want you to ask me what plugins i use, just tell me your opinion about situation itself, did it happen to you, did you experience weakness of CS server that it's not possible to drive max players?</div>
  1264.  
  1265. ]]></content:encoded>
  1266. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=126">Zombie Plague Mod</category>
  1267. <dc:creator>GoodRequest</dc:creator>
  1268. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347686</guid>
  1269. </item>
  1270. <item>
  1271. <title>MAGNUMTOGEL - Prediksi Togel Syair 4d HK Malam ini 13 Mei 2024</title>
  1272. <link>https://forums.alliedmods.net/showthread.php?t=347681&amp;goto=newpost</link>
  1273. <pubDate>Mon, 13 May 2024 07:11:08 GMT</pubDate>
  1274. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://secure-dal.livechatinc.com/licence/12870981/v2/open_chat.cgi?license_id=12870981
  1275. ATAU
  1276. KETIK GOOGLE >> MAGNUMTOGEL.COM...]]></description>
  1277. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://secure-dal.livechatinc.com/licence/12870981/v2/open_chat.cgi?license_id=12870981" target="_blank" rel="nofollow noopener">https://secure-dal.livechatinc.com/l...se_id=12870981</a><br />
  1278. ATAU<br />
  1279. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  1280. <br />
  1281. RELATED KEYWORDS :<br />
  1282. situs togel terpercaya<br />
  1283. situs togel terpercaya resmi<br />
  1284. situs togel terpercaya toto<br />
  1285. situs togel terpercaya terlengkap<br />
  1286. situs togel terpercaya terbalik dibayar<br />
  1287. situs togel terpercaya indonesia<br />
  1288. situs togel terpercaya pakai dana<br />
  1289. situs togel terpercaya prize 123<br />
  1290. situs togel terpercaya di asia<br />
  1291. situs togel terpercaya dan aman<br />
  1292. situs togel terpercaya deposit pulsa tanpa potongan bet 100 perak<br />
  1293. situs togel terpercaya dan terbesar<br />
  1294. situs togel terpercaya dengan bayaran tertinggi<br />
  1295. situs togel terpercaya dan lengkap<br />
  1296. situs togel terpercaya deposit pulsa tanpa potongan<br />
  1297. situs togel terpercaya di indonesia<br />
  1298. situs togel terpercaya di dunia<br />
  1299. situs togel terpercaya deposit via dana<br />
  1300. situs togel terpercaya deposit via Qris<br />
  1301. situs togel terpercaya deposit gopay<br />
  1302. situs togel terpercaya deposit via gopay<br />
  1303. situs togel terpercaya deposit pulsa<br />
  1304. situs togel terpercaya deposit pulsa tanpa potongan<br />
  1305. situs togel terpercaya bayaran tertinggi<br />
  1306. situs togel terpercaya hadiah terbesar<br />
  1307. situs togel terpercaya hk<br />
  1308. situs togel terpercaya via dana<br />
  1309. situs togel terpercaya pulsa<br />
  1310. situs togel terpercaya versi wap<br />
  1311. situs togel terpercaya via gopay<br />
  1312. situs togel terpercaya via Qris<br />
  1313. situs togel terpercaya bayaran tertinggi<br />
  1314. situs togel terpercaya bolak balik dibayar<br />
  1315. situs togel terpercaya bet 100 perak<br />
  1316. situs togel terpercaya bet 100 rupiah<br />
  1317. situs togel terpercaya bbfs 10 digit<br />
  1318. situs togel terpercaya bonus besar<br />
  1319. situs togel terpercaya banyak pasaran<br />
  1320. situs togel terpercaya bisa deposit pulsa<br />
  1321. situs togel terpercaya no diskon<br />
  1322. Bandar Togel Terpercaya<br />
  1323. Bandar Togel Terbesar<br />
  1324. Bandar Togel Maxwin<br />
  1325. Bandar Togel Hadiah 4d 10 Juta Terpercaya<br />
  1326. Bandar Togel Hadiah 4d 15 Juta<br />
  1327. Bandar Togel 100 Pasaran<br />
  1328. Bandar Togel 2d 3d 4d 5d 6d<br />
  1329. Bandar Togel Terpercaya Di Dunia<br />
  1330. Bandar Togel Terpercaya Hadiah Terbesar<br />
  1331. Bandar Togel Terpercaya Di Indonesia<br />
  1332. Bandar Togel Terpercaya Di Asia<br />
  1333. Bandar Togel Terpercaya 2022<br />
  1334. Bandar Togel Terpercaya 2023<br />
  1335. Bandar Togel Terpercaya 4d 10 Juta<br />
  1336. Bandar Togel Terpercaya Bet 100<br />
  1337. Bandar Togel Wla Terbesar<br />
  1338. Bandar Togel Wap<br />
  1339. Bandar Togel Wd 10000<br />
  1340. Bandar Togel Wla Toto<br />
  1341. Bandar Togel Withdraw 10 Ribu<br />
  1342. Bandar Togel Resmi<br />
  1343. Bandar Togel Resmi Dan Terpercaya<br />
  1344. Bandar Togel Resmi Internasional<br />
  1345. Bandar Togel Resmi Terpercaya<br />
  1346. Bandar Togel Resmi Hadiah Besar<br />
  1347. Bandar Togel Resmi Terbesar<br />
  1348. Bandar Togel Resmi Wla<br />
  1349. Bandar Togel Terbesar Di Dunia<br />
  1350. Bandar Togel Toto Macau<br />
  1351. Bandar Togel Terbaru<br />
  1352. Bandar Togel Terbesar Di Indonesia<br />
  1353. Bandar Togel Terbesar Dan Terpercaya<br />
  1354. Bandar Togel Terbesar Di Asia<br />
  1355. Bandar Togel Terbesar Dan Resmi<br />
  1356. Bandar Togel Terbesar Se Asia<br />
  1357. Bandar Togel Terbesar Terbalik Di Bayar<br />
  1358. Bandar Togel Terbesar Indonesia<br />
  1359. Bandar Togel Terbaru 2023<br />
  1360. Bandar Togel Terbaru 2022<br />
  1361. agen togel terpercaya<br />
  1362. agen togel terpercaya no. 1 di indonesia<br />
  1363. agen togel terpercaya 2023<br />
  1364. agen togel terpercaya 2017<br />
  1365. agen togel terpercaya dan aman<br />
  1366. agen togel terpercaya bet 100 perak<br />
  1367. agen togel terpercaya bonus besar<br />
  1368. agen togel terpercaya hadiah terbesar<br />
  1369. agen togel terpercaya deposit pulsa tanpa potongan<br />
  1370. agen togel terpercaya shio kuda<br />
  1371. agen togel terpercaya diskon terbesar<br />
  1372. agen togel terpercaya dan aman<br />
  1373. agen togel terpercaya 2017 terbesar di asia<br />
  1374. agen togel terpercaya dan aman<br />
  1375. agen togel terpercaya diskon terbesar<br />
  1376. agen togel terbaik dan terpercaya<br />
  1377. agen togel terlama dan terpercaya<br />
  1378. agen togel bbfs 10 digit terpercaya<br />
  1379. agen togel terpercaya bet 100 perak<br />
  1380. agen togel terpercaya bonus besar<br />
  1381. agen togel bbfs terpercaya<br />
  1382. agen togel dan bola terpercaya<br />
  1383. agen togel luar negeri terpercaya<br />
  1384. agen togel wla<br />
  1385. agen togel wap<br />
  1386. agen togel resmi wla<br />
  1387. agen togel resmi<br />
  1388. agen togel resmi di indonesia<br />
  1389. agen togel resmi dan terpercaya<br />
  1390. agen togel resmi hongkong<br />
  1391. agen togel resmi terbesar<br />
  1392. agen togel resmi terpercaya<br />
  1393. agen togel resmi 6d<br />
  1394. agen togel resmi 5d<br />
  1395. agen togel resmi wla<br />
  1396. agen togel resmi asia<br />
  1397. agen togel resmi indonesia<br />
  1398. agen togel resmi hadiah besar<br />
  1399. agen togel terbesar<br />
  1400. agen togel terbesar dan terpercaya<br />
  1401. Bo Togel Online Terpercaya<br />
  1402. Bo Togel Online Terpercaya Hadiah 10 Juta<br />
  1403. Bo Togel Online Terpercaya 2022<br />
  1404. Bo Togel Online Terpercaya 2023<br />
  1405. Bo Togel Online Terpercaya Dan Aman<br />
  1406. Bo Togel Online Terpercaya 2023<br />
  1407. Bo Togel Online Terpercaya Hadiah Besar<br />
  1408. Bo Togel Online Terpercaya Bonus New Member<br />
  1409. Bo Togel Online Terpercaya Deposit Via Dana<br />
  1410. Bo Togel Online Terpercaya Dan Terbesar<br />
  1411. Bo Togel Online Asia Terpercaya<br />
  1412. Bo Togel Online Pasaran Terlengkap<br />
  1413. Bo Togel Online Hadiah Terbesar<br />
  1414. Bo Togel Online Hadiah Terbesar Dan Terpercaya<br />
  1415. Bo Togel Online Hadiah Terbesar Bet 100<br />
  1416. Bo Togel Online Hadiah Terbesar 2022<br />
  1417. Bo Togel Online Hadiah Terbesar 2023<br />
  1418. Bo Togel Online Hadiah Terbesar Prize 123<br />
  1419. Bo Togel Online Hadiah Terbesar No Diskon<br />
  1420. Bo Togel Online Hadiah Terbesar Terpercaya<br />
  1421. Bo Togel Online Hadiah Terbesar 3 Prize<br />
  1422. Bo Togel Online Hadiah 2d 100rb<br />
  1423. Bo Togel Online Hadiah Full<br />
  1424. Bo Togel Online Hadiah 2d Terbesar<br />
  1425. Bo Togel Online Hadiah 15 Juta<br />
  1426. Bo Togel Online Hadiah Besar<br />
  1427. Bo Togel Online Hadiah 10 Juta<br />
  1428. Bo Togel Online Hadiah 10jt<br />
  1429. Bo Togel Online Hadiah Full Prize<br />
  1430. Bo Togel Online Hadiah 100 Ribu<br />
  1431. Bo Togel Online Hadiah 4d 10jt<br />
  1432. Daftar Togel Wla<br />
  1433. Daftar Togel Wla Resmi<br />
  1434. Daftar Togel Wla Dan Lokal<br />
  1435. Daftar Togel Terpercaya<br />
  1436. Daftar Togel Terpercaya 2023 Terbaru<br />
  1437. Daftar Togel Terpercaya Hadiah Besar<br />
  1438. Daftar Togel Terpercaya 2023<br />
  1439. Daftar Togel Terpercaya 2023 Terpercaya<br />
  1440. Daftar Togel Terpercaya 2023 Terbaik<br />
  1441. Daftar Togel Terpercaya 2023 Indonesia<br />
  1442. Daftar Togel Terpercaya 2023 Terbaru<br />
  1443. Daftar Togel Terpercaya 2023 Terbaru Hari Ini<br />
  1444. Daftar Togel Toto<br />
  1445. Daftar Togel Toto Online Terpercaya<br />
  1446. Daftar Togel Toto Online<br />
  1447. Daftar Togel Toto Macau<br />
  1448. Daftar Togel Toto Macau Online<br />
  1449. Daftar Togel Terbesar<br />
  1450. Daftar Togel Terbesar Dan Terpercaya<br />
  1451. Daftar Togel Terbaik<br />
  1452. Daftar Togel Terlengkap<br />
  1453. Daftar Togel Terbalik Dibayar<br />
  1454. Daftar Togel Yang Keluar<br />
  1455. Daftar Togel on<br />
  1456. Daftar Togel Online Terpercaya<br />
  1457. Daftar Togel Ovo<br />
  1458. Daftar Togel Rekening Ovo<br />
  1459. Daftar Togel Online24jam Terpercaya 2022<br />
  1460. Daftar Togel Pakai Ovo<br />
  1461. Daftar Togel Pakai Dana<br />
  1462. Daftar Togel Pakai Gopay<br />
  1463. Daftar Togel Pakai Linkaja<br />
  1464. Daftar Togel Pasaran Terbanyak<br />
  1465. Daftar Togel Prize 123<br />
  1466. Daftar Togel Prize 12345<br />
  1467. Daftar Togel Akun Dana<br />
  1468. Daftar Togel Semua Pasaran<br />
  1469. Daftar Togel Dana<br />
  1470. Daftar Togel Dengan Akun Dana<br />
  1471. Daftar Togel Gopay<br />
  1472. Daftar Togel Lewat Dana<br />
  1473. Daftar Togel Kamboja<br />
  1474. Daftar Togel Via Dana<br />
  1475. Daftar Togel Via Ovo<br />
  1476. Daftar Togel Via Gopay<br />
  1477. Daftar Togel Via Linkaja<br />
  1478. Daftar Togel Baru<br />
  1479. Daftar Togel Bayaran Tertinggi<br />
  1480. Daftar Togel Bolak Balik Dibayar<br />
  1481. Daftar Togel Bet 100<br />
  1482. Daftar Togel Bet 100 Perak<br />
  1483. Daftar Togel Mandiri<br />
  1484. Daftar Togel Macau<br />
  1485. Daftar Togel Macau Online<br />
  1486. Daftar Akun Togel Toto<br />
  1487. Daftar Akun Togel Toto Macau<br />
  1488. Daftar Akun Togel Terpercaya<br />
  1489. Cara Daftar Akun Togel Terpercaya<br />
  1490. Daftar Nama Akun Togel Terpercaya</div>
  1491.  
  1492. ]]></content:encoded>
  1493. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  1494. <dc:creator>LebahSange</dc:creator>
  1495. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347681</guid>
  1496. </item>
  1497. <item>
  1498. <title>ED_ParseEdict - error</title>
  1499. <link>https://forums.alliedmods.net/showthread.php?t=347679&amp;goto=newpost</link>
  1500. <pubDate>Mon, 13 May 2024 05:06:35 GMT</pubDate>
  1501. <description><![CDATA[Does anyone know how to fix this error? it only happens on the map : zm_defense
  1502. L 12/05/2024 - 22:10:44: (map "zm_defense") Host_Error:...]]></description>
  1503. <content:encoded><![CDATA[<div>Does anyone know how to fix this error? it only happens on the map : zm_defense<br />
  1504. <br />
  1505. <br />
  1506. L 12/05/2024 - 22:10:44: (map &quot;zm_defense&quot;) Host_Error: ED_ParseEdict: Model '*100' failed to precache because the item count is over the 512 limit.<br />
  1507. Reduce the number of brush models and/or regular models in the map to correct this.</div>
  1508.  
  1509. ]]></content:encoded>
  1510. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=15">Off-Topic</category>
  1511. <dc:creator>tedaimlocks</dc:creator>
  1512. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347679</guid>
  1513. </item>
  1514. <item>
  1515. <title>WSOSLOT88 :Ägen Sabung Ayam S128 Terbaik No.1 di Indonesia</title>
  1516. <link>https://forums.alliedmods.net/showthread.php?t=347678&amp;goto=newpost</link>
  1517. <pubDate>Mon, 13 May 2024 04:10:45 GMT</pubDate>
  1518. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  1519. ATAU
  1520. KETIK GOOGLE >> WSOSLOT88.COM
  1521. Situs Sabung Ayam Merupakan judi yang sangat...]]></description>
  1522. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  1523. ATAU<br />
  1524. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  1525. <br />
  1526. Situs Sabung Ayam Merupakan judi yang sangat menguntungkan para bettor karena pada situs agen judi lainnya masih terdapat potongan dana deposit. Dengan bermodalkan deposit 20Ribu, bettor dapat meraih kemenangan besar dengan bertaruh pada laga situs judi sabung ayam online.<br />
  1527. <br />
  1528. situs penyedia jasa judi sabung ayam online 24 jam nonstop terpercaya di Indonesia. Kedua situs judi laga ayam aduan telah lama berdiri serta memiliki kredibilitas tinggi. Tak heran apabila situs judi tersebut menjadi pusat perhatian warga, karena memberikan fasilitas terbaik bagi para member setianya. Hadir dengan tayangan live membuat pecinta judi sabung ayam online merasa nyaman dan tidak resiko.<br />
  1529. <br />
  1530. Mempunyai beberapa inovasi terbaru dengan didukung dengan teknologi tinggi membuat situs semakin dicari oleh masyarakat. Untuk melakukan kegiatan judi live sabung ayam online, warga tidak perlu bersusah payah untuk datang ke arena laga sabung ayam . Bettor cukup memiliki sebuah perangkat media elektronik dan jaringan internet, maka dapat mengakses kedua situs tersebut dengan mudah.<br />
  1531. <br />
  1532. Perangkat media elektronik seperti Smartphone, Tablet maupun Laptop dapat digunakan untuk melakukan taruhan secara online. Selain itu situs judi telah support di berbagai platform, contohnya seperti Android, Ios, Linux serta Windows. Tentunya hal ini menjadi suatu kelebihan tersendiri, khususnya bagi penggemar judi sabung ayam online di Indonesia.<br />
  1533. Sabung ayam online login merupakan aktivitas taruhan 2 ekor ayam jantan diadu atau ayam aduan dalam satu arena resmi di filipina. Arena tersebut telah terpasang beberapa kamera cctv di setiap sudutnya, bertujuan untuk memudahkan bettor dalam melihat permainan Login . Terdapat 2 sisi atau sudut yaitu sudut kiri ( meron ) dan sudut kanan ( wala ) dalam permainan ini. Dalam hal ini memberikan tanda kepada bettor untuk melakukan betting pada ayam yang di jagokan, memilih meron atau wala.<br />
  1534. <br />
  1535. Sebagai salah satu situs agen sabung ayam online terpercaya, memfasilitasi berbagai macam kebutuhan pecinta laga sabung ayam. Namun bukan sekedar itu saja, kami memberikan berbagai bonus dan jackpot login menarik yang tidak ditawarkan oleh situs agen judi lainnya. Hadir dengan memberikan pelayanan terbaik kepada member setianya merupakan salah satu visi misi utama dari situs judi terpercaya.</div>
  1536.  
  1537. ]]></content:encoded>
  1538. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  1539. <dc:creator>KuraKura12</dc:creator>
  1540. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347678</guid>
  1541. </item>
  1542. <item>
  1543. <title>Jointeam Plugin</title>
  1544. <link>https://forums.alliedmods.net/showthread.php?t=347674&amp;goto=newpost</link>
  1545. <pubDate>Sun, 12 May 2024 19:18:07 GMT</pubDate>
  1546. <description>hello, i was wondering if there is a plugin that allow you to join team infected even if the map to play is a campaign</description>
  1547. <content:encoded><![CDATA[<div>hello, i was wondering if there is a plugin that allow you to join team infected even if the map to play is a campaign</div>
  1548.  
  1549. ]]></content:encoded>
  1550. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=60">Plugin/Gameplay Ideas and Requests</category>
  1551. <dc:creator>MeinBou</dc:creator>
  1552. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347674</guid>
  1553. </item>
  1554. <item>
  1555. <title>Killer Assist mess with names in scoreboard</title>
  1556. <link>https://forums.alliedmods.net/showthread.php?t=347673&amp;goto=newpost</link>
  1557. <pubDate>Sun, 12 May 2024 18:37:44 GMT</pubDate>
  1558. <description>I use this plugin for kill assist.Problem is:this plugin change players name in scoreboard.For example my nick is Pinky,and after few minutes of...</description>
  1559. <content:encoded><![CDATA[<div>I use this plugin for kill assist.Problem is:this plugin change players name in scoreboard.For example my nick is Pinky,and after few minutes of playing if i have assistent my nick change like this Pinky+AssistentName.How to stop that,or if anybodz know good killassist pluging post here please.<br />
  1560. <br />
  1561. <div style="margin:20px; margin-top:5px">
  1562. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  1563. <div class="alt2">
  1564. <hr />
  1565. <code style="white-space:nowrap">
  1566. <div dir="ltr" style="text-align:left;">
  1567. <!-- php buffer start --><code><span style="color: #000000">
  1568. <span style="color: #0000BB"></span><span style="color: #FF8000">/*&nbsp;--------------------------------------------------------------------------
  1569. <br />&nbsp;&nbsp;&nbsp;&nbsp;Kill&nbsp;assist&nbsp;(for&nbsp;CS)&nbsp;v1.2b
  1570. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by&nbsp;Digi&nbsp;(a.k.a.&nbsp;Hunter-Digital)
  1571. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;www.thehunters.ro
  1572. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----------------------------------------------------------------
  1573. <br />
  1574. <br />&nbsp;&nbsp;&nbsp;&nbsp;Description:
  1575. <br />
  1576. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When&nbsp;a&nbsp;player&nbsp;gets&nbsp;killed,&nbsp;this&nbsp;plugin&nbsp;checks&nbsp;if&nbsp;another&nbsp;player,&nbsp;from&nbsp;the&nbsp;same&nbsp;team,
  1577. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;did&nbsp;enough&nbsp;damage&nbsp;to&nbsp;the&nbsp;victim&nbsp;so&nbsp;that&nbsp;he&nbsp;could&nbsp;be&nbsp;an&nbsp;accomplice&nbsp;to&nbsp;the&nbsp;kill&nbsp;and
  1578. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;assister&nbsp;will&nbsp;also&nbsp;receive&nbsp;a&nbsp;frag
  1579. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(all&nbsp;of&nbsp;these&nbsp;are&nbsp;cvar&nbsp;controlled)
  1580. <br />
  1581. <br />
  1582. <br />&nbsp;&nbsp;&nbsp;&nbsp;CVars&nbsp;and&nbsp;default&nbsp;values:
  1583. <br />
  1584. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;amx_killassist_enable&nbsp;0/1/2&nbsp;(default:&nbsp;1)
  1585. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enable&nbsp;modes:&nbsp;0&nbsp;=&nbsp;Disable&nbsp;/&nbsp;1&nbsp;=&nbsp;Enable&nbsp;with&nbsp;DeathMsg&nbsp;/&nbsp;2&nbsp;=&nbsp;Enable&nbsp;with&nbsp;HUD&nbsp;message
  1586. <br />
  1587. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;amx_killassist_mindamage&nbsp;1-9999&nbsp;(default:&nbsp;50)
  1588. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Minimum&nbsp;amount&nbsp;of&nbsp;damage&nbsp;to&nbsp;deal&nbsp;to&nbsp;be&nbsp;nominated&nbsp;for&nbsp;an&nbsp;assisted&nbsp;kill
  1589. <br />
  1590. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;amx_killassist_givefrags&nbsp;0/1&nbsp;(default:&nbsp;1)
  1591. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Give&nbsp;or&nbsp;not&nbsp;give&nbsp;the&nbsp;assister&nbsp;frags
  1592. <br />
  1593. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;amx_killassist_givemoney&nbsp;0-16000&nbsp;(default:&nbsp;300)
  1594. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Give&nbsp;or&nbsp;not&nbsp;give&nbsp;the&nbsp;assister&nbsp;some&nbsp;money,&nbsp;0&nbsp;disables,&nbsp;1&nbsp;or&nbsp;more&nbsp;sets&nbsp;how&nbsp;much&nbsp;money
  1595. <br />
  1596. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;amx_killassist_onlyalive&nbsp;0/1&nbsp;(default:&nbsp;0)
  1597. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Only&nbsp;alive&nbsp;players&nbsp;can&nbsp;be&nbsp;of&nbsp;assistance&nbsp;in&nbsp;killing&nbsp;other&nbsp;players
  1598. <br />
  1599. <br />
  1600. <br />&nbsp;&nbsp;&nbsp;&nbsp;Credits&nbsp;and&nbsp;thanks:
  1601. <br />
  1602. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;ConnorMcLeod&nbsp;-&nbsp;for&nbsp;helping&nbsp;with&nbsp;quick&nbsp;name&nbsp;changing
  1603. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;arkshine&nbsp;-&nbsp;for&nbsp;helping&nbsp;with&nbsp;name&nbsp;squeeze
  1604. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;joaquimandrade&nbsp;-&nbsp;code&nbsp;improvements
  1605. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;anakin_cstrike&nbsp;-&nbsp;code&nbsp;improvements
  1606. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Nextra&nbsp;-&nbsp;more&nbsp;code&nbsp;improvements
  1607. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;ajvn&nbsp;-&nbsp;some&nbsp;ideas
  1608. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;Dores&nbsp;-&nbsp;and&nbsp;more&nbsp;code&nbsp;improvements
  1609. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;frearmer&nbsp;-&nbsp;hud&nbsp;message&nbsp;sugestion
  1610. <br />
  1611. <br />
  1612. <br />&nbsp;&nbsp;&nbsp;&nbsp;Changelog:
  1613. <br />
  1614. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.2b&nbsp;-&nbsp;modified&nbsp;public&nbsp;variable&nbsp;to&nbsp;"killassist_version"&nbsp;and&nbsp;fixed&nbsp;deathmsg&nbsp;not&nbsp;showing&nbsp;when&nbsp;you&nbsp;suicide&nbsp;with&nbsp;worldspawn&nbsp;or&nbsp;an&nbsp;entity
  1615. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.2&nbsp;-&nbsp;added&nbsp;no-name-changing&nbsp;support,&nbsp;prints&nbsp;HUD&nbsp;message,&nbsp;to&nbsp;activate,&nbsp;set&nbsp;enabled&nbsp;to&nbsp;2
  1616. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.1b&nbsp;-&nbsp;simplified&nbsp;cvar&nbsp;checking&nbsp;using&nbsp;clamp()
  1617. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.1&nbsp;-&nbsp;converted&nbsp;to&nbsp;CS&nbsp;only,&nbsp;new&nbsp;cvars:&nbsp;amx_killassist_onlyalive,&nbsp;amx_killassist_givemoney,&nbsp;enriched&nbsp;cvar&nbsp;handling,&nbsp;added&nbsp;team&nbsp;cache&nbsp;and&nbsp;fixed&nbsp;some&nbsp;bugs
  1618. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.0d&nbsp;-&nbsp;Removed&nbsp;useless&nbsp;stuff&nbsp;xD,&nbsp;added&nbsp;pcvar&nbsp;on&nbsp;amx_mode&nbsp;and&nbsp;used&nbsp;formatex()
  1619. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.0c&nbsp;-&nbsp;Some&nbsp;modifications&nbsp;and&nbsp;added&nbsp;g_bOnline
  1620. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.0b&nbsp;-&nbsp;Fixed&nbsp;admin&nbsp;name&nbsp;bug
  1621. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.0&nbsp;-&nbsp;Release
  1622. <br />
  1623. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------------------------------------------------&nbsp;*/
  1624. <br />
  1625. <br />/*&nbsp;Feel&nbsp;free&nbsp;to&nbsp;modify&nbsp;these&nbsp;HUD&nbsp;message&nbsp;values&nbsp;*/
  1626. <br />
  1627. <br />#define&nbsp;HUD_colorR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;255&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;255
  1628. <br />#define&nbsp;HUD_colorG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;155&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;155
  1629. <br />#define&nbsp;HUD_colorB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0
  1630. <br />#define&nbsp;HUD_posX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.6&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0.6
  1631. <br />#define&nbsp;HUD_posY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.2&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0.2
  1632. <br />#define&nbsp;HUD_fx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0
  1633. <br />#define&nbsp;HUD_fxTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.0&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0.0
  1634. <br />#define&nbsp;HUD_holdTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;1.0
  1635. <br />#define&nbsp;HUD_fadeInTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.3&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;0.3
  1636. <br />#define&nbsp;HUD_fadeOutTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.0&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;2.0
  1637. <br />#define&nbsp;HUD_channel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-1&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;default:&nbsp;-1
  1638. <br />
  1639. <br />/*&nbsp;-------------------------------------------------------------------------
  1640. <br />&nbsp;&nbsp;&nbsp;&nbsp;Nothing&nbsp;to&nbsp;edit&nbsp;below&nbsp;this&nbsp;point&nbsp;*/
  1641. <br />
  1642. <br />#include&nbsp;&lt;amxmodx&gt;
  1643. <br />#include&nbsp;&lt;hamsandwich&gt;
  1644. <br />#include&nbsp;&lt;cstrike&gt;
  1645. <br />#include&nbsp;&lt;engine&gt;
  1646. <br />#include&nbsp;&lt;fun&gt;
  1647. <br />
  1648. <br />#define&nbsp;PLUGIN_TITLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Kill&nbsp;assist&nbsp;(for&nbsp;CS)"
  1649. <br />#define&nbsp;PLUGIN_VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1.2b"
  1650. <br />#define&nbsp;PLUGIN_AUTHOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Digi&nbsp;(www.thehunters.ro)"
  1651. <br />#define&nbsp;PLUGIN_PUBLICVAR&nbsp;&nbsp;&nbsp;&nbsp;"killassist_version"
  1652. <br />
  1653. <br />#define&nbsp;MAXPLAYERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;+&nbsp;1
  1654. <br />
  1655. <br />#define&nbsp;TEAM_NONE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0
  1656. <br />#define&nbsp;TEAM_TE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1
  1657. <br />#define&nbsp;TEAM_CT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2
  1658. <br />#define&nbsp;TEAM_SPEC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3
  1659. <br />
  1660. <br />#define&nbsp;is_player(%1)&nbsp;(1&nbsp;&lt;=&nbsp;%1&nbsp;&lt;=&nbsp;g_iMaxPlayers)
  1661. <br />
  1662. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">msgID_sayText
  1663. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">msgID_deathMsg
  1664. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">msgID_scoreInfo
  1665. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">msgID_money
  1666. <br />
  1667. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_amxMode
  1668. <br />
  1669. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_enabled
  1670. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_minDamage
  1671. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_giveFrags
  1672. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_giveMoney
  1673. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">pCVar_onlyAlive
  1674. <br />
  1675. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ch_pCVar_enabled
  1676. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ch_pCVar_minDamage
  1677. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ch_pCVar_giveFrags
  1678. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ch_pCVar_giveMoney
  1679. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">ch_pCVar_onlyAlive
  1680. <br />
  1681. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;
  1682. <br />new&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;
  1683. <br />new&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;
  1684. <br />new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;&nbsp;=&nbsp;{</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;...}
  1685. <br />new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">g_bOnline</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAXPLAYERS</span><span style="color: #007700">&#93;&nbsp;=&nbsp;{</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;...}
  1686. <br />
  1687. <br />new&nbsp;</span><span style="color: #0000BB">g_iLastAmxMode
  1688. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  1689. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">g_bAmxModeExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false
  1690. <br />
  1691. <br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()
  1692. <br />{
  1693. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #0000BB">PLUGIN_TITLE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_AUTHOR</span><span style="color: #007700">)
  1694. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #0000BB">PLUGIN_PUBLICVAR</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">FCVAR_SERVER</span><span style="color: #007700">|</span><span style="color: #0000BB">FCVAR_SPONLY</span><span style="color: #007700">)
  1695. <br />
  1696. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_enabled&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_killassist_enabled"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)
  1697. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_minDamage&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_killassist_mindamage"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"45"</span><span style="color: #007700">)
  1698. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_giveFrags&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_killassist_givefrags"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)
  1699. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_giveMoney&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_killassist_givemoney"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"300"</span><span style="color: #007700">)
  1700. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_onlyAlive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_killassist_onlyalive"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">)
  1701. <br />
  1702. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">cvar_exists</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_mode"</span><span style="color: #007700">))
  1703. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  1704. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pCVar_amxMode&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_cvar_pointer</span><span style="color: #007700">(</span><span style="color: #DD0000">"amx_mode"</span><span style="color: #007700">)
  1705. <br />
  1706. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_bAmxModeExists&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true
  1707. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  1708. <br />
  1709. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">msgID_money&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_msgid</span><span style="color: #007700">(</span><span style="color: #DD0000">"Money"</span><span style="color: #007700">)
  1710. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">msgID_sayText&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_msgid</span><span style="color: #007700">(</span><span style="color: #DD0000">"SayText"</span><span style="color: #007700">)
  1711. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">msgID_deathMsg&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_msgid</span><span style="color: #007700">(</span><span style="color: #DD0000">"DeathMsg"</span><span style="color: #007700">)
  1712. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">msgID_scoreInfo&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_msgid</span><span style="color: #007700">(</span><span style="color: #DD0000">"ScoreInfo"</span><span style="color: #007700">)
  1713. <br />
  1714. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_message</span><span style="color: #007700">(</span><span style="color: #0000BB">msgID_deathMsg</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"msg_deathMsg"</span><span style="color: #007700">)
  1715. <br />
  1716. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_logevent</span><span style="color: #007700">(</span><span style="color: #DD0000">"event_roundStart"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1=Round_Start"</span><span style="color: #007700">)
  1717. <br />
  1718. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"Damage"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player_damage"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"be"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2!0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"3=0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"4!0"</span><span style="color: #007700">)
  1719. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"DeathMsg"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player_die"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"ae"</span><span style="color: #007700">)
  1720. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"TeamInfo"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player_joinTeam"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"a"</span><span style="color: #007700">)
  1721. <br />
  1722. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Spawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player_spawn"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1723. <br />
  1724. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_maxplayers</span><span style="color: #007700">()
  1725. <br />}
  1726. <br />
  1727. <br />public&nbsp;</span><span style="color: #0000BB">plugin_cfg</span><span style="color: #007700">()&nbsp;</span><span style="color: #0000BB">event_roundStart</span><span style="color: #007700">()
  1728. <br />
  1729. <br />public&nbsp;</span><span style="color: #0000BB">event_roundStart</span><span style="color: #007700">()
  1730. <br />{
  1731. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">clamp</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_enabled</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)
  1732. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ch_pCVar_minDamage&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">clamp</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_minDamage</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">9999</span><span style="color: #007700">)
  1733. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ch_pCVar_giveFrags&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">clamp</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_giveFrags</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1734. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ch_pCVar_giveMoney&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">clamp</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_giveMoney</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">16000</span><span style="color: #007700">)
  1735. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ch_pCVar_onlyAlive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">clamp</span><span style="color: #007700">(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_onlyAlive</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1736. <br />}
  1737. <br />
  1738. <br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">)
  1739. <br />{
  1740. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_bOnline</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true
  1741. <br />
  1742. <br />&nbsp;&nbsp;&nbsp;&nbsp;get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1743. <br />}
  1744. <br />
  1745. <br />public&nbsp;</span><span style="color: #0000BB">client_disconnect</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">)
  1746. <br />{
  1747. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">TEAM_NONE
  1748. <br />&nbsp;&nbsp;&nbsp;&nbsp;g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false
  1749. <br />&nbsp;&nbsp;&nbsp;&nbsp;g_bOnline</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false
  1750. <br /></span><span style="color: #007700">}
  1751. <br />
  1752. <br />public&nbsp;</span><span style="color: #0000BB">player_joinTeam</span><span style="color: #007700">()
  1753. <br />{
  1754. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;
  1755. <br />
  1756. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1757. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1758. <br />
  1759. <br />&nbsp;&nbsp;&nbsp;&nbsp;switch(</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;)
  1760. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  1761. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #DD0000">'T'</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">TEAM_TE
  1762. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">case&nbsp;</span><span style="color: #DD0000">'C'</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">TEAM_CT
  1763. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">default:&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">TEAM_SPEC&nbsp;</span><span style="color: #FF8000">//&nbsp;since&nbsp;you&nbsp;can't&nbsp;transfer&nbsp;yourself&nbsp;to&nbsp;unassigned&nbsp;team...
  1764. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  1765. <br />
  1766. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1767. <br /></span><span style="color: #007700">}
  1768. <br />
  1769. <br />public&nbsp;</span><span style="color: #0000BB">player_spawn</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">)
  1770. <br />{
  1771. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">))
  1772. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED
  1773. <br />
  1774. <br />&nbsp;&nbsp;&nbsp;&nbsp;g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true&nbsp;</span><span style="color: #FF8000">//&nbsp;he's&nbsp;alive&nbsp;!
  1775. <br />
  1776. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;
  1777. <br />
  1778. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1779. <br />
  1780. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">equali</span><span style="color: #007700">(</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;))&nbsp;</span><span style="color: #FF8000">//&nbsp;make&nbsp;sure&nbsp;he&nbsp;has&nbsp;his&nbsp;name&nbsp;!
  1781. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{
  1782. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_msg_block</span><span style="color: #007700">(</span><span style="color: #0000BB">msgID_sayText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">BLOCK_ONCE</span><span style="color: #007700">)
  1783. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;)
  1784. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  1785. <br />
  1786. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;reset&nbsp;damage&nbsp;meters
  1787. <br />
  1788. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for(new&nbsp;</span><span style="color: #0000BB">p&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">p&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">p</span><span style="color: #007700">++)
  1789. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0
  1790. <br />
  1791. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED
  1792. <br /></span><span style="color: #007700">}
  1793. <br />
  1794. <br />public&nbsp;</span><span style="color: #0000BB">player_damage</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">)
  1795. <br />{
  1796. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">||&nbsp;!</span><span style="color: #0000BB">is_player</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">))
  1797. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1798. <br />
  1799. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">iAttacker&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_attacker</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">)
  1800. <br />
  1801. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_player</span><span style="color: #007700">(</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">))
  1802. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1803. <br />
  1804. <br />&nbsp;&nbsp;&nbsp;&nbsp;g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;+=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)
  1805. <br />
  1806. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1807. <br /></span><span style="color: #007700">}
  1808. <br />
  1809. <br />public&nbsp;</span><span style="color: #0000BB">player_die</span><span style="color: #007700">()
  1810. <br />{
  1811. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">ch_pCVar_enabled</span><span style="color: #007700">)
  1812. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1813. <br />
  1814. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">iVictim&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)
  1815. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iKiller&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1816. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iHS&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">3</span><span style="color: #007700">)
  1817. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">24</span><span style="color: #007700">&#93;
  1818. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">4</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">23</span><span style="color: #007700">)
  1819. <br />
  1820. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_player</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">))
  1821. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  1822. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iHS</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1823. <br />
  1824. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1825. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  1826. <br />
  1827. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false
  1828. <br />
  1829. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(!</span><span style="color: #0000BB">is_player</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">))
  1830. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  1831. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iHS</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1832. <br />
  1833. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1834. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  1835. <br />
  1836. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iKillerTeam&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">&#93;
  1837. <br />
  1838. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iKiller&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">iVictim&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;!=&nbsp;</span><span style="color: #0000BB">iKillerTeam</span><span style="color: #007700">)
  1839. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  1840. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iKiller2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  1841. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">iDamage2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0
  1842. <br />
  1843. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for(new&nbsp;</span><span style="color: #0000BB">p&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">p&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">p</span><span style="color: #007700">++)
  1844. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1845. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">p&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">iKiller&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_bOnline</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&nbsp;&amp;&amp;&nbsp;(</span><span style="color: #0000BB">ch_pCVar_onlyAlive&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&nbsp;||&nbsp;!</span><span style="color: #0000BB">ch_pCVar_onlyAlive</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">iKillerTeam&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">g_iTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;&gt;=&nbsp;</span><span style="color: #0000BB">ch_pCVar_minDamage&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">iDamage2</span><span style="color: #007700">)
  1846. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1847. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iKiller2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">p
  1848. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iDamage2&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;
  1849. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1850. <br />
  1851. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iDamage</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">p</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0
  1852. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
  1853. <br />
  1854. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iKiller2&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">iDamage2&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">ch_pCVar_minDamage</span><span style="color: #007700">)
  1855. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1856. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">ch_pCVar_giveFrags</span><span style="color: #007700">)
  1857. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1858. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iFrags&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_frags</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">)+</span><span style="color: #0000BB">1
  1859. <br />
  1860. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_user_frags</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iFrags</span><span style="color: #007700">)
  1861. <br />
  1862. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_begin</span><span style="color: #007700">(</span><span style="color: #0000BB">MSG_ALL</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">msgID_scoreInfo</span><span style="color: #007700">)
  1863. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">)
  1864. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_short</span><span style="color: #007700">(</span><span style="color: #0000BB">iFrags</span><span style="color: #007700">)
  1865. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_short</span><span style="color: #007700">(</span><span style="color: #0000BB">get_user_deaths</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">))
  1866. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_short</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  1867. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_short</span><span style="color: #007700">(</span><span style="color: #0000BB">iKillerTeam</span><span style="color: #007700">)
  1868. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_end</span><span style="color: #007700">()
  1869. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1870. <br />
  1871. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">ch_pCVar_giveMoney</span><span style="color: #007700">)
  1872. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1873. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iMoney&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">cs_get_user_money</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">ch_pCVar_giveMoney
  1874. <br />
  1875. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">iMoney&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">16000</span><span style="color: #007700">)
  1876. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iMoney&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">16000
  1877. <br />
  1878. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cs_set_user_money</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iMoney</span><span style="color: #007700">)
  1879. <br />
  1880. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_bAlive</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">&#93;)&nbsp;</span><span style="color: #FF8000">//&nbsp;no&nbsp;reason&nbsp;to&nbsp;send&nbsp;a&nbsp;money&nbsp;message&nbsp;when&nbsp;the&nbsp;player&nbsp;has&nbsp;no&nbsp;hud&nbsp;:}
  1881. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{
  1882. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_begin</span><span style="color: #007700">(</span><span style="color: #0000BB">MSG_ONE_UNRELIABLE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">msgID_money</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">)
  1883. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_long</span><span style="color: #007700">(</span><span style="color: #0000BB">iMoney</span><span style="color: #007700">)
  1884. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1885. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_end</span><span style="color: #007700">()
  1886. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1887. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1888. <br />
  1889. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)
  1890. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1891. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szName3</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szMsg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;
  1892. <br />
  1893. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1894. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1895. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName3</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1896. <br />
  1897. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szMsg</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">63</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;killed&nbsp;%s&nbsp;assisted&nbsp;by&nbsp;%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName3</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">)
  1898. <br />
  1899. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">HUD_colorR</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_colorG</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_colorB</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_posX</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_posY</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_fx</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_fxTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_holdTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_fadeInTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_fadeOutTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">HUD_channel</span><span style="color: #007700">)
  1900. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szMsg</span><span style="color: #007700">)
  1901. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1902. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else
  1903. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1904. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">iName1Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">iName2Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szNames</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szWeaponLong</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;
  1905. <br />
  1906. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iName1Len&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1907. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iName2Len&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">)
  1908. <br />&nbsp;
  1909. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">szName1
  1910. <br />
  1911. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">iName1Len&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">14</span><span style="color: #007700">)
  1912. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1913. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iName1Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">)
  1914. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">28</span><span style="color: #007700">-</span><span style="color: #0000BB">iName1Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">)
  1915. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1916. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">iName2Len&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">14</span><span style="color: #007700">)
  1917. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1918. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">28</span><span style="color: #007700">-</span><span style="color: #0000BB">iName2Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">)
  1919. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iName2Len</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">)
  1920. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1921. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else
  1922. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1923. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">13</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">)
  1924. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szName2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">13</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">)
  1925. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1926. <br />
  1927. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szNames</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;+&nbsp;%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName2</span><span style="color: #007700">)
  1928. <br />
  1929. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_msg_block</span><span style="color: #007700">(</span><span style="color: #0000BB">msgID_sayText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">BLOCK_ONCE</span><span style="color: #007700">)
  1930. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szNames</span><span style="color: #007700">)
  1931. <br />
  1932. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_bAmxModeExists</span><span style="color: #007700">)
  1933. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  1934. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iLastAmxMode&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_amxMode</span><span style="color: #007700">)
  1935. <br />
  1936. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_amxMode</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  1937. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1938. <br />
  1939. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">equali</span><span style="color: #007700">(</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"grenade"</span><span style="color: #007700">))
  1940. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">szWeaponLong&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"weapon_hegrenade"
  1941. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else
  1942. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szWeaponLong</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"weapon_%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1943. <br />
  1944. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">args</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">4</span><span style="color: #007700">&#93;
  1945. <br />
  1946. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">args</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">iVictim
  1947. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;args</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">iKiller
  1948. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;args</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">iHS
  1949. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;args</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">get_weaponid</span><span style="color: #007700">(</span><span style="color: #0000BB">szWeaponLong</span><span style="color: #007700">)
  1950. <br />
  1951. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(</span><span style="color: #0000BB">0.1</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player_diePost"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">args</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">)
  1952. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1953. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  1954. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1955. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iHS</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1956. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  1957. <br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  1958. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iHS</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1959. <br />
  1960. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1961. <br /></span><span style="color: #007700">}
  1962. <br />
  1963. <br />public&nbsp;</span><span style="color: #0000BB">player_diePost</span><span style="color: #007700">(</span><span style="color: #0000BB">arg</span><span style="color: #007700">&#91;&#93;)
  1964. <br />{
  1965. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">24</span><span style="color: #007700">&#93;
  1966. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iKiller&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">arg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;
  1967. <br />
  1968. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_weaponname</span><span style="color: #007700">(</span><span style="color: #0000BB">arg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">23</span><span style="color: #007700">)
  1969. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">replace</span><span style="color: #007700">(</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">23</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"weapon_"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">)
  1970. <br />
  1971. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">arg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">arg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1972. <br />
  1973. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_msg_block</span><span style="color: #007700">(</span><span style="color: #0000BB">msgID_sayText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">BLOCK_ONCE</span><span style="color: #007700">)
  1974. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_szName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">&#93;)
  1975. <br />
  1976. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_bAmxModeExists</span><span style="color: #007700">)
  1977. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pCVar_amxMode</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_iLastAmxMode</span><span style="color: #007700">)
  1978. <br />
  1979. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1980. <br /></span><span style="color: #007700">}
  1981. <br />
  1982. <br />public&nbsp;</span><span style="color: #0000BB">msg_deathMsg</span><span style="color: #007700">()
  1983. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">ch_pCVar_enabled&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">?&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE
  1984. <br />
  1985. <br /></span><span style="color: #FF8000">/*&nbsp;originally&nbsp;from&nbsp;messages_stocks.inc,&nbsp;but&nbsp;simplified&nbsp;*/
  1986. <br />
  1987. <br /></span><span style="color: #0000BB">stock&nbsp;do_deathmsg</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iHS</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">&#91;&#93;)
  1988. <br />{
  1989. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_begin</span><span style="color: #007700">(</span><span style="color: #0000BB">MSG_ALL</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">msgID_deathMsg</span><span style="color: #007700">)
  1990. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">iKiller</span><span style="color: #007700">)
  1991. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">)
  1992. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">iHS</span><span style="color: #007700">)
  1993. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_string</span><span style="color: #007700">(</span><span style="color: #0000BB">szWeapon</span><span style="color: #007700">)
  1994. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_end</span><span style="color: #007700">()
  1995. <br />}
  1996. <br />
  1997. <br /></span><span style="color: #FF8000">/*&nbsp;--------------------------------------------------------------------------
  1998. <br />&nbsp;&nbsp;&nbsp;&nbsp;EOF
  1999. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------------------------------------------------&nbsp;*/&nbsp;
  2000. <br /></span><span style="color: #0000BB"></span>
  2001. </span>
  2002. </code><!-- php buffer end -->
  2003. </div>
  2004. </code>
  2005. <hr />
  2006. </div>
  2007. </div></div>
  2008.  
  2009. ]]></content:encoded>
  2010. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  2011. <dc:creator>SaraAki</dc:creator>
  2012. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347673</guid>
  2013. </item>
  2014. <item>
  2015. <title>Cards Kill ( from CS2 )</title>
  2016. <link>https://forums.alliedmods.net/showthread.php?t=347672&amp;goto=newpost</link>
  2017. <pubDate>Sun, 12 May 2024 17:45:44 GMT</pubDate>
  2018. <description>Ive been looking for a cards kill counter plugin ( the one from cs2) but i couldnt find one, does anyone think they can remake it?
  2019. ...</description>
  2020. <content:encoded><![CDATA[<div>Ive been looking for a cards kill counter plugin ( the one from cs2) but i couldnt find one, does anyone think they can remake it?<br />
  2021. <br />
  2022. <a href="https://www.youtube.com/watch?v=y7ppiS2UUdw" target="_blank" rel="nofollow noopener">https://www.youtube.com/watch?v=y7ppiS2UUdw</a><br />
  2023. <br />
  2024. this is a example - you can see that whenever he gets kills the card sprites appear indicating the player kills.<br />
  2025. <br />
  2026. <a href="https://imgur.com/a/mO1ua3x" target="_blank" rel="nofollow noopener">https://imgur.com/a/mO1ua3x</a></div>
  2027.  
  2028. ]]></content:encoded>
  2029. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  2030. <dc:creator>tedaimlocks</dc:creator>
  2031. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347672</guid>
  2032. </item>
  2033. <item>
  2034. <title>How to get the Extension ID?</title>
  2035. <link>https://forums.alliedmods.net/showthread.php?t=347669&amp;goto=newpost</link>
  2036. <pubDate>Sun, 12 May 2024 15:31:46 GMT</pubDate>
  2037. <description>In the forum header for plugins there is a field for dependencies.  I know how to get a Plugin ID to put in the dependency field, but...
  2038. How do I...</description>
  2039. <content:encoded><![CDATA[<div>In the forum header for plugins there is a field for dependencies.  I know how to get a Plugin ID to put in the dependency field, but...<br />
  2040. <br />
  2041. How do I get an Extension ID?<br />
  2042. <br />
  2043. As an example, I have a plugin that requires:<br />
  2044. <br />
  2045. <a href="https://forums.alliedmods.net/showthread.php?t=336374" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=336374</a><br />
  2046. <a href="https://forums.alliedmods.net/showthread.php?t=317175" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=317175</a><br />
  2047. <a href="https://forums.alliedmods.net/showthread.php?t=321696" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=321696</a><br />
  2048. <br />
  2049. That last link is plugin id 6954.<br />
  2050. How do I get the extension id for the first two links to put in the dependency field?<br />
  2051. Does the dependency field even work with extensions?</div>
  2052.  
  2053. ]]></content:encoded>
  2054. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  2055. <dc:creator>Mystik Spiral</dc:creator>
  2056. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347669</guid>
  2057. </item>
  2058. <item>
  2059. <title><![CDATA[[L4D2] Healing Alternative (v1.0) [12-May-2024]]]></title>
  2060. <link>https://forums.alliedmods.net/showthread.php?t=347667&amp;goto=newpost</link>
  2061. <pubDate>Sun, 12 May 2024 12:17:46 GMT</pubDate>
  2062. <description>.
  2063. *Healing Alternative* (l4d2_HealAlt) by *Mystik Spiral*
  2064. Improve when healing items (first aid kits, pain pills, and adrenaline shots) are used....</description>
  2065. <content:encoded><![CDATA[<div><font color="Silver">.</font><br />
  2066. <b><font color="Red">Healing Alternative</font></b> (l4d2_HealAlt) by <font color="Green"><i><b>Mystik Spiral</b></i></font><br />
  2067. <br />
  2068. Improve when healing items (first aid kits, pain pills, and adrenaline shots) are used.<br />
  2069. <br />
  2070. <br />
  2071. <b>Summary of healing behavioral changes:</b><br />
  2072. <ul><li>Bots prefer to use/give pills/adrenaline instead of first aid kits.</li>
  2073. <li>Bots will wait longer to use first aid kits on self or others.</li>
  2074. <li>Bots will never heal another player that has their own healing items.</li>
  2075. <li>Survivors with a first aid kit are healed using the standard algorithm during map changes.</li>
  2076. <li>Survivors without a first aid kit are healed to 50, same as a respawned dead player, during map changes.</li>
  2077. <li>All survivors are given a first aid kit during map changes.</li>
  2078. </ul><br />
  2079. <br />
  2080. <b>Options:</b><br />
  2081. <br />
  2082. For proper operation, set the following <a href="https://developer.valvesoftware.com/wiki/List_of_L4D2_Cvars" target="_blank" rel="nofollow noopener">Valve ConVars</a> in your server.cfg file:<br />
  2083. <ul><li>sb_toughness_buffer 0</li>
  2084. <li>sb_temp_health_consider_factor 0.0</li>
  2085. <li>pain_pills_health_threshold 90</li>
  2086. </ul><br />
  2087. <br />
  2088. <b>Notes:</b>  <br />
  2089. <br />
  2090. By default, this plugin will only run in the cooperative (coop) gamemode and is intended to only be used on dedicated servers that have not modified the default values of player health or healing items.<br />
  2091. <br />
  2092. I plan to eventually add handling for first aid kits found outside of safe rooms.<br />
  2093. I will not be adding support for L4D1.<br />
  2094. <br />
  2095. Please let me know if you find any bugs, but before reporting, connect to the dedicated server system console and type:<br />
  2096. <br />
  2097. <i>sm plugins list;sm_cvar mp_gamemode</i><br />
  2098. <br />
  2099. Check that the gamemode is &quot;coop&quot; and whether you see &quot;[L4D2] Healing Alternative&quot; or error messages, especially errors related to missing prerequisites.<br />
  2100. <br />
  2101. <br />
  2102. <b>Code / Discussion:</b><br />
  2103. <br />
  2104. <a href="https://github.com/Mystik-Spiral/l4d2_HealAlt" target="_blank" rel="nofollow noopener">GitHub</a>  <br />
  2105. <a href="https://forums.alliedmods.net/showthread.php?t=347667" target="_blank" rel="noopener">AlliedModders</a><br />
  2106. <br />
  2107. <br />
  2108. <b>Acknowledgements and Thanks:</b><br />
  2109. <br />
  2110. Silvers: For the original <a href="https://forums.alliedmods.net/showthread.php?t=338889" target="_blank" rel="noopener">Bot Healing Values</a> plugin this is forked from, Left4DHooks, gamedata, Allowed Game Modes code, and many code examples.<br />
  2111. BHaType: For help and code examples for custom Actions, and the Actions plugin.<br />
  2112. nosoop: For the Source Scramble plugin.<br />
  2113. Spirit_12: For help with determing navigation flow distance.<br />
  2114. BRU7US: For help with the map_transition event.<br />
  2115. <br />
  2116. <br />
  2117. <b>Changelog:</b>  <br />
  2118. <br />
  2119. <div style="margin:20px; margin-top:5px">
  2120. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  2121. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">12-May-2024 v1.0<br />
  2122. - Initial release.</code><hr />
  2123. </div><br />
  2124. <font color="Red"><b>Prerequisites:</b></font><br />
  2125. <ul><li><a href="https://forums.alliedmods.net/showthread.php?t=336374" target="_blank" rel="noopener">Actions extension by BHaType</a></li>
  2126. <li><a href="https://forums.alliedmods.net/showthread.php?t=317175" target="_blank" rel="noopener">Source Scramble plugin by nosoop</a></li>
  2127. <li><a href="https://forums.alliedmods.net/showthread.php?t=321696" target="_blank" rel="noopener">Left 4 DHooks Direct by Silvers</a></li>
  2128. </ul><br />
  2129. <br />
  2130. <b>Installation:</b><br />
  2131. <br />
  2132. Easiest:<br />
  2133. Download the l4d2_HealAlt.zip file, place it in the addons/sourcemod directory, unzip.<br />
  2134. <br />
  2135. Manual:<br />
  2136. Extract the l4d2_HealAlt.smx file to the &quot;plugins&quot; directory.<br />
  2137. Extract the l4d2_HealAlt.txt file to the &quot;gamedata&quot; directory.<br />
  2138. Extract the l4d2_HealAlt.phrases.txt file to the &quot;translations&quot; directory.<br />
  2139. Extract the l4d2_HealAlt.sp file to the &quot;scripting&quot; directory.<br />
  2140. <br />
  2141. <font color="Silver">.</font></div>
  2142.  
  2143.  
  2144. <br />
  2145. <div style="padding:6px">
  2146.  
  2147.  
  2148.  
  2149.  
  2150. <fieldset class="fieldset">
  2151. <legend>Attached Files</legend>
  2152. <table cellpadding="0" cellspacing="3" border="0">
  2153. <tr>
  2154. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  2155. <td>
  2156. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204365&amp;d=1715516877">l4d2_HealAlt.zip</a> (34.5 KB)
  2157. </td>
  2158. </tr>
  2159. </table>
  2160. </fieldset>
  2161.  
  2162. </div>
  2163. ]]></content:encoded>
  2164. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  2165. <dc:creator>Mystik Spiral</dc:creator>
  2166. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347667</guid>
  2167. </item>
  2168. <item>
  2169. <title><![CDATA[[Request] Register System with USERID]]></title>
  2170. <link>https://forums.alliedmods.net/showthread.php?t=347665&amp;goto=newpost</link>
  2171. <pubDate>Sun, 12 May 2024 09:11:51 GMT</pubDate>
  2172. <description><![CDATA[I've been searching for a register system with a userid but i cant seem to find anything! I found a lot of register systems but none of it has the...]]></description>
  2173. <content:encoded><![CDATA[<div>I've been searching for a register system with a userid but i cant seem to find anything! I found a lot of register systems but none of it has the User id function<br />
  2174. <br />
  2175. Like when someone registers it has a hashtag and a number.<br />
  2176. <br />
  2177. For example;<br />
  2178. <br />
  2179. Test registered! test(#12553)<br />
  2180. <br />
  2181. or something like that</div>
  2182.  
  2183. ]]></content:encoded>
  2184. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  2185. <dc:creator>kaiii</dc:creator>
  2186. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347665</guid>
  2187. </item>
  2188. <item>
  2189. <title><![CDATA[[Solved] Compiler crashed]]></title>
  2190. <link>https://forums.alliedmods.net/showthread.php?t=347664&amp;goto=newpost</link>
  2191. <pubDate>Sun, 12 May 2024 08:01:20 GMT</pubDate>
  2192. <description>Why this plugin crash compiler?Also,online compiler is also crashed,it says:Awww! The compiler crashed! (Segfault)
  2193. Something seems to be very wrong...</description>
  2194. <content:encoded><![CDATA[<div>Why this plugin crash compiler?Also,online compiler is also crashed,it says:<font color="blue">Awww! The compiler crashed! (Segfault)<br />
  2195. Something seems to be very wrong in your code...<br />
  2196. If you're sure that your code is correct,<br />
  2197. you may have discovered a compiler bug...</font><br />
  2198. <br />
  2199. <div style="margin:20px; margin-top:5px">
  2200. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  2201. <div class="alt2">
  2202. <hr />
  2203. <code style="white-space:nowrap">
  2204. <div dir="ltr" style="text-align:left;">
  2205. <!-- php buffer start --><code><span style="color: #000000">
  2206. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;
  2207. <br />#include&nbsp;&lt;fakemeta&gt;
  2208. <br />
  2209. <br />#define&nbsp;MAX_HOSTAGES&nbsp;4
  2210. <br />#define&nbsp;MAX_PHRASES&nbsp;4
  2211. <br />
  2212. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_phrases</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAX_HOSTAGES</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">MAX_PHRASES</span><span style="color: #007700">&#93;&#91;&#93;&nbsp;=&nbsp;{
  2213. <br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #DD0000">"scientist/c1a3_sci_atlast.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/c1a3_sci_thankgod.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/c1a2_sci_1zomb.wav"</span><span style="color: #007700">},
  2214. <br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #DD0000">"scientist/hello.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/yesok.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/doyousmell.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/c1a3_sci_thankgod.wav"</span><span style="color: #007700">},
  2215. <br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #DD0000">"scientist/doyousmell.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/dontwantdie.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/gottogetout.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/hellothere.wav"</span><span style="color: #007700">},
  2216. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #DD0000">"scientist/hellothere.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/yesletsgo.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/c1a3_sci_thankgod.wav"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"scientist/yesok.wav"</span><span style="color: #007700">}
  2217. <br />}
  2218. <br />
  2219. <br />new&nbsp;</span><span style="color: #0000BB">g_hostage_entity</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;</span><span style="color: #DD0000">"hostage_entity"
  2220. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_hostages</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAX_HOSTAGES</span><span style="color: #007700">&#93;
  2221. <br />
  2222. <br />public&nbsp;</span><span style="color: #0000BB">plugin_precache</span><span style="color: #007700">()&nbsp;{
  2223. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(new&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">MAX_HOSTAGES</span><span style="color: #007700">;&nbsp;++</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;{
  2224. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(new&nbsp;</span><span style="color: #0000BB">j&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">j&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">MAX_PHRASES</span><span style="color: #007700">;&nbsp;++</span><span style="color: #0000BB">j</span><span style="color: #007700">)&nbsp;{
  2225. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">precache_sound</span><span style="color: #007700">(</span><span style="color: #0000BB">g_phrases</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">j</span><span style="color: #007700">&#93;)
  2226. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  2227. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  2228. <br />}
  2229. <br />
  2230. <br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;{
  2231. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"Hostage&nbsp;Voices"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"0.1.1"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"VEN"</span><span style="color: #007700">)
  2232. <br />
  2233. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">ent&nbsp;</span><span style="color: #007700">=&nbsp;-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">count&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">classname</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;</span><span style="color: #DD0000">"classname"
  2234. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">count&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">MAX_HOSTAGES&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;(</span><span style="color: #0000BB">ent&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_FindEntityByString</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ent</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_hostage_entity</span><span style="color: #007700">)))&nbsp;{
  2235. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_hostages</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">count</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">ent
  2236. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count</span><span style="color: #007700">++
  2237. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  2238. <br />
  2239. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_forward</span><span style="color: #007700">(</span><span style="color: #0000BB">FM_EmitSound</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"forward_emit_sound"</span><span style="color: #007700">)
  2240. <br />}
  2241. <br />
  2242. <br />public&nbsp;</span><span style="color: #0000BB">forward_emit_sound</span><span style="color: #007700">(</span><span style="color: #0000BB">entity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">channel</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sample</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">volume</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">attenuation</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flags</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pitch</span><span style="color: #007700">)&nbsp;{
  2243. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">pev_valid</span><span style="color: #007700">(</span><span style="color: #0000BB">entity</span><span style="color: #007700">))
  2244. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  2245. <br />
  2246. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">i
  2247. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;(</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">MAX_HOSTAGES</span><span style="color: #007700">;&nbsp;++</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;{
  2248. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">g_hostages</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #0000BB">entity</span><span style="color: #007700">)
  2249. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break
  2250. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  2251. <br />
  2252. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">MAX_HOSTAGES</span><span style="color: #007700">)
  2253. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  2254. <br />
  2255. <br />&nbsp;&nbsp;&nbsp;&nbsp;emit_sound</span><span style="color: #007700">(</span><span style="color: #0000BB">entity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">channel</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_phrases</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">random</span><span style="color: #007700">(</span><span style="color: #0000BB">MAX_PHRASES</span><span style="color: #007700">)&#93;,&nbsp;</span><span style="color: #0000BB">volume</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">attenuation</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flags</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pitch</span><span style="color: #007700">)
  2256. <br />
  2257. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_SUPERCEDE
  2258. <br /></span><span style="color: #007700">}&nbsp;
  2259. <br /></span><span style="color: #0000BB"></span>
  2260. </span>
  2261. </code><!-- php buffer end -->
  2262. </div>
  2263. </code>
  2264. <hr />
  2265. </div>
  2266. </div></div>
  2267.  
  2268. ]]></content:encoded>
  2269. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  2270. <dc:creator>SaraAki</dc:creator>
  2271. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347664</guid>
  2272. </item>
  2273. <item>
  2274. <title>Tempat Bermain Togel Teraman No.1 di Indonesia MAGNUMTOGEL</title>
  2275. <link>https://forums.alliedmods.net/showthread.php?t=347663&amp;goto=newpost</link>
  2276. <pubDate>Sun, 12 May 2024 05:53:02 GMT</pubDate>
  2277. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  2278. ATAU
  2279. KETIK GOOGLE >> MAGNUMTOGEL.COM
  2280. Keyword Terkait :
  2281. magumtogel
  2282. magnumtoto...]]></description>
  2283. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  2284. ATAU<br />
  2285. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  2286. <br />
  2287. Keyword Terkait :<br />
  2288. magumtogel<br />
  2289. magnumtoto<br />
  2290. magnumtogel88<br />
  2291. admin magnumtogel<br />
  2292. link alternatif magnumtogel<br />
  2293. link resmi magnumtogel<br />
  2294. link gacor magnumtogel<br />
  2295. cs admin magnumtogel<br />
  2296. cs terbaik aktif 24 jam magnumtogel<br />
  2297. rtp magnumtogel<br />
  2298. bocoran magnumtogel<br />
  2299. magnumtogel anti nawala<br />
  2300. Apk magnumtogel<br />
  2301. Apk anti nawala<br />
  2302. Freebet 30k<br />
  2303. Freebet 20k<br />
  2304. Freebet slot<br />
  2305. Apk magnumtogel toto<br />
  2306. Link apk magnumtogel<br />
  2307. Magnumtogel live<br />
  2308. Prediksi magnumtogel<br />
  2309. Prediksi magnumtoto<br />
  2310. Prediksi master togel magnumtogel<br />
  2311. Prediksi togel harian<br />
  2312. Livedraw magnumtogel<br />
  2313. Livedraw togel hk</div>
  2314.  
  2315. ]]></content:encoded>
  2316. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2317. <dc:creator>LebahSange</dc:creator>
  2318. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347663</guid>
  2319. </item>
  2320. <item>
  2321. <title>WSOSLOT88 : Slot Bonus New Member 100% Bonus Deposit Terbaru</title>
  2322. <link>https://forums.alliedmods.net/showthread.php?t=347662&amp;goto=newpost</link>
  2323. <pubDate>Sun, 12 May 2024 04:06:15 GMT</pubDate>
  2324. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  2325. ATAU
  2326. KETIK GOOGLE >> WSOSLOT88.COM
  2327. bermain di situs depo 25 bonus 25 to rendah juga...]]></description>
  2328. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  2329. ATAU<br />
  2330. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  2331. <br />
  2332. bermain di situs depo 25 bonus 25 to rendah juga memberikan banyak keuntungan tambahan. Ada bocoran game yang sedang gacor yang siap menanti saat kamu bermain di situs depo 25 bonus 25 nexus. Hal ini dapat membantu meningkatkan peluangmu untuk meraih kemenangan yang lebih besar. Dengan demikian, bermain di situs slot depo 25 bonus 25 bebas ip dapat memberikan pengalaman bermain yang menguntungkan dan menyenangkan :<br />
  2333. <br />
  2334. Bonus New Member To Rendah<br />
  2335. Bonus New Member 100% To 3X<br />
  2336. Bonus New Member 100% To 5X<br />
  2337. Bonus New Member 100% To 7X<br />
  2338. Bonus New Member 100% To 10X<br />
  2339. Bonus New Member 100% TO 14X<br />
  2340. Bonus New Member 100% To 18X<br />
  2341. Depo 20 Bonus 20<br />
  2342. Depo 25 Bonus 25<br />
  2343. Depo 50 Bonus 50<br />
  2344. Depo 100 Bonus 100<br />
  2345. Deposit 20 Bonus 20<br />
  2346. Deposit 25 Bonus 25<br />
  2347. Deposit 50 Bonus 50<br />
  2348. Deposit 100 Bonus 100<br />
  2349. Situs Slot Bonus New Member 100% To Kecil<br />
  2350. Situs Slot Bonus New Member 100% To 2X Pragmatic Play<br />
  2351. Situs Slot Bonus New Member 100% To 5X Pg Soft<br />
  2352. Situs Slot Bonus New Member 100% To 8X Joker Gaming<br />
  2353. Situs Slot Bonus New Member 100% To 10X Spadegaming<br />
  2354. Situs Slot Bonus New Member 100% To 14X Habanero<br />
  2355. Situs Slot Bonus New Member 100% To 18X CQ9<br />
  2356. Situs Bonus New Member 100% To 3X<br />
  2357. Situs Bonus New Member 100% To 5X<br />
  2358. Situs Bonus New Member 100% To 8X<br />
  2359. Situs Bonus New Member 100% To 10X<br />
  2360. Situs Bonus New Member 100% To 14X<br />
  2361. Situs Bonus New Member 100% To 18X<br />
  2362. Bonus freebet 25rb / 25.000<br />
  2363. Bonus freebet 30rb / 30.000<br />
  2364. Bonus freebet 50rb/ 50.000<br />
  2365. Bonus freebet 100rb / 100k<br />
  2366. Bonus freebet 200rb / 200k<br />
  2367. Bonus freebet 300rb / 300k<br />
  2368. Bonus freebet 500rb / 500k<br />
  2369. Bonus freebet 1jt/ 1000k<br />
  2370. Bonus freebet tanpa TO<br />
  2371. Dengan banyaknya bonus yang tersedia di Slot To Rendah, anda memiliki peluang untuk merasakan jackpot besar dan memperoleh banyak bonus di situs tersebut. Sensasi Depo 25 Bonus 25 dengan tingkat winrate yang tinggi juga telah menanti kamu di situs Depo 25 Bonus 25. Selain itu, situs Depo 50 Bonus 50 juga menawarkan pelayanan nomor 1 kepada pemain dalam bermain di situs tersebut.</div>
  2372.  
  2373. ]]></content:encoded>
  2374. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2375. <dc:creator>KuraKura12</dc:creator>
  2376. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347662</guid>
  2377. </item>
  2378. <item>
  2379. <title><![CDATA[[req] Need help making an edited version of the Parkour Fortress Redux Plugin]]></title>
  2380. <link>https://forums.alliedmods.net/showthread.php?t=347661&amp;goto=newpost</link>
  2381. <pubDate>Sun, 12 May 2024 02:36:17 GMT</pubDate>
  2382. <description><![CDATA[Hi, I'm trying to make a changed version of Parkour Fortress to run on my server. The changes that I'm trying to make are the following:
  2383. Remove...]]></description>
  2384. <content:encoded><![CDATA[<div>Hi, I'm trying to make a changed version of Parkour Fortress to run on my server. The changes that I'm trying to make are the following:<br />
  2385. <br />
  2386. Remove the feature that forces the players to play scout<br />
  2387. Remove the weapon restrictions<br />
  2388. Remove the super jump<br />
  2389. Disable health regeneration.<br />
  2390. <br />
  2391. I don't think this should be super hard, as it's only disabling features, not adding anything new. But I myself don't know how to do this. Can anyone help?</div>
  2392.  
  2393. ]]></content:encoded>
  2394. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  2395. <dc:creator>stupid_cake</dc:creator>
  2396. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347661</guid>
  2397. </item>
  2398. <item>
  2399. <title><![CDATA[[Solved] To teleport the entire team to the coordinates I specified]]></title>
  2400. <link>https://forums.alliedmods.net/showthread.php?t=347660&amp;goto=newpost</link>
  2401. <pubDate>Sun, 12 May 2024 01:07:47 GMT</pubDate>
  2402. <description><![CDATA[Greetings to everyone, my issue is as follows: I've created coordinates equal to the number of player slots on a specific map, and I'm aiming to...]]></description>
  2403. <content:encoded><![CDATA[<div>Greetings to everyone, my issue is as follows: I've created coordinates equal to the number of player slots on a specific map, and I'm aiming to teleport players to these coordinates, but it's not working properly. Thank you in advance for your help.<br />
  2404. <br />
  2405. <div style="margin:20px; margin-top:5px">
  2406. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  2407. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;amxmodx&gt;<br />
  2408. #include &lt;amxmisc&gt;<br />
  2409. #include &lt;hamsandwich&gt;<br />
  2410. #include &lt;cstrike&gt;<br />
  2411. #include &lt;engine&gt;<br />
  2412. #include &lt;fakemeta&gt;<br />
  2413. #include &lt;fun&gt;<br />
  2414. <br />
  2415. new Float:pozCT[10][3] =<br />
  2416. {<br />
  2417. &nbsp; &nbsp; {-312.9, 443.24, -469.18 },<br />
  2418. &nbsp; &nbsp; {-184.9, 443.24, -469.18 },<br />
  2419. &nbsp; &nbsp; {-56.9, 443.24, -469.18 },<br />
  2420. &nbsp; &nbsp; {71.1, 443.24, -469.18 },<br />
  2421. &nbsp; &nbsp; {199.1, 443.24, -469.18 },<br />
  2422. &nbsp; &nbsp; {-312.9, 315.24, -469.18 },<br />
  2423. &nbsp; &nbsp; {-184.9, 315.24, -469.18 },<br />
  2424. &nbsp; &nbsp; {-56.9, 315.24, -469.18 },<br />
  2425. &nbsp; &nbsp; {71.1, 315.24, -469.18 },<br />
  2426. &nbsp; &nbsp; {199.1, 315.24, -469.18 }<br />
  2427. };<br />
  2428. <br />
  2429. new Float:pozTT[10][3] =<br />
  2430. {<br />
  2431. &nbsp; &nbsp; {-312.9, -964.76, -469.18 },<br />
  2432. &nbsp; &nbsp; {-184.9, -964.76, -469.18},<br />
  2433. &nbsp; &nbsp; {-56.9, -964.76, -469.18},<br />
  2434. &nbsp; &nbsp; {71.1, -964.76, -469.18},<br />
  2435. &nbsp; &nbsp; {199.1, -964.76, -469.18},<br />
  2436. &nbsp; &nbsp; {-312.9, -836.76, -469.18},<br />
  2437. &nbsp; &nbsp; {-184.9, -836.76, -469.18},<br />
  2438. &nbsp; &nbsp; {-56.9, -836.76, -469.18},<br />
  2439. &nbsp; &nbsp; {71.1, -836.766, -469.18},<br />
  2440. &nbsp; &nbsp; {199.1, -836.76, -469.18}<br />
  2441. };<br />
  2442. <br />
  2443. new Float:angelCT[3] = {0.0, 270.0, 0.0 };<br />
  2444. new Float:angelTT[3] = {0.0, 90.0, 0.0 };<br />
  2445. <br />
  2446. new Float:vel[3] = {0.0, 0.0, 0.0 };<br />
  2447. <br />
  2448. public plugin_init() {<br />
  2449. &nbsp; &nbsp; register_plugin(&quot;tele&quot;, &quot;1.0&quot;, &quot;Author&quot;)<br />
  2450. &nbsp; &nbsp; register_clcmd(&quot;say /knife&quot;, &quot;cmdKnife&quot;)<br />
  2451. }<br />
  2452. <br />
  2453. <br />
  2454. <br />
  2455. public cmdKnife(id)<br />
  2456. {<br />
  2457. &nbsp; &nbsp; <br />
  2458. &nbsp; &nbsp; new players[ 32 ], players_count<br />
  2459. &nbsp; &nbsp; new TT = 0, CT = 0<br />
  2460. &nbsp; &nbsp; get_players( players, players_count )<br />
  2461. &nbsp; &nbsp; for( new i; i &lt; players_count; i++ )<br />
  2462. &nbsp; &nbsp; {<br />
  2463. &nbsp; &nbsp; &nbsp; &nbsp; switch( get_user_team( i ) )<br />
  2464. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  2465. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1:<br />
  2466. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  2467. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TT++<br />
  2468. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_SetOrigin, i , pozTT[i]);<br />
  2469. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(i, pev_angles, angelTT);<br />
  2470. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(i, pev_fixangle, 1);<br />
  2471. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_velocity(i,vel)<br />
  2472. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  2473. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2:<br />
  2474. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  2475. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CT++<br />
  2476. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_SetOrigin, i , pozCT[i]);<br />
  2477. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(i, pev_angles, angelCT);<br />
  2478. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(i, pev_fixangle, 1);<br />
  2479. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_velocity(i,vel)<br />
  2480. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  2481. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  2482. &nbsp; &nbsp; }<br />
  2483. &nbsp; &nbsp; <br />
  2484. }</code><hr />
  2485. </div></div>
  2486.  
  2487. ]]></content:encoded>
  2488. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  2489. <dc:creator>vres</dc:creator>
  2490. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347660</guid>
  2491. </item>
  2492. <item>
  2493. <title><![CDATA[[Solved] [req] hemorrhage]]></title>
  2494. <link>https://forums.alliedmods.net/showthread.php?t=347659&amp;goto=newpost</link>
  2495. <pubDate>Sun, 12 May 2024 00:52:07 GMT</pubDate>
  2496. <description>So, how tf do you get some nice and fatal bullet wounds and your HP just keep being still? Nonsense! You gotta bleed to death.
  2497. The plugin request:...</description>
  2498. <content:encoded><![CDATA[<div>So, how tf do you get some nice and fatal bullet wounds and your HP just keep being still? Nonsense! You gotta bleed to death.<br />
  2499. <br />
  2500. The plugin request: When HP goes below &quot;x&quot;, -1hp every &quot;y&quot; seconds</div>
  2501.  
  2502. ]]></content:encoded>
  2503. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  2504. <dc:creator>blanko</dc:creator>
  2505. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347659</guid>
  2506. </item>
  2507. <item>
  2508. <title>expresison has no effect</title>
  2509. <link>https://forums.alliedmods.net/showthread.php?t=347657&amp;goto=newpost</link>
  2510. <pubDate>Sat, 11 May 2024 20:59:41 GMT</pubDate>
  2511. <description><![CDATA[It's giving an error on line 20 and I can't compile
  2512. #include <amxmodx>
  2513. // Define os IDs de menus
  2514. enum {
  2515.    MENU_DEMO_SELECTOR,
  2516. };
  2517. //...]]></description>
  2518. <content:encoded><![CDATA[<div>It's giving an error on line 20 and I can't compile<br />
  2519. <br />
  2520. #include &lt;amxmodx&gt;<br />
  2521. <br />
  2522. // Define os IDs de menus<br />
  2523. enum {<br />
  2524.    MENU_DEMO_SELECTOR,<br />
  2525. };<br />
  2526. <br />
  2527. // Função para mostrar o menu de seleção de jogadores<br />
  2528. public show_demo_selector_menu(id) {<br />
  2529.    new const menuTitle[] = &quot;Selecione um jogador:&quot;;<br />
  2530.    new const menuPrompt[] = &quot;Selecione o jogador que deseja gravar a demo:&quot;;<br />
  2531.    new playersMenuItems[32][32];<br />
  2532.    new numPlayers = 0;<br />
  2533. <br />
  2534.    // Adiciona os jogadores ao menu<br />
  2535.    new maxPlayers = get_maxplayers();<br />
  2536.    new i;<br />
  2537.    for (i = 1; i &lt;= maxPlayers; i++) {<br />
  2538.        if (is_user_connected(i)) {<br />
  2539.            format(playersMenuItems[numPlayers], sizeof(playersMenuItems[numPlayers]), &quot;%s&quot;, get_user_name(i));<br />
  2540.            numPlayers++;<br />
  2541.        }<br />
  2542.    }<br />
  2543. <br />
  2544.    // Mostra o menu<br />
  2545.    show_menu(id, MENU_DEMO_SELECTOR, menuTitle, menuPrompt, playersMenuItems, numPlayers);<br />
  2546. }<br />
  2547. <br />
  2548. // Função para tratar as seleções do menu<br />
  2549. public client_menu_handler(id, menu, item) {<br />
  2550.    if (menu == MENU_DEMO_SELECTOR) {<br />
  2551.        new const playerName[32];<br />
  2552.        get_user_name(item + 1, playerName, sizeof(playerName));<br />
  2553. <br />
  2554.        // Solicita o nome da demo<br />
  2555.        client_print(id, print_chat, &quot;Digite o nome da demo para o jogador %s:&quot;, playerName);<br />
  2556.        client_cmd(id, &quot;amx_input %d &quot;Nome da demo&quot;&quot;, id);<br />
  2557.    }<br />
  2558. }<br />
  2559. <br />
  2560. // Função chamada quando o jogador insere o nome da demo<br />
  2561. public client_cmd(id, cmd[]) {<br />
  2562.    new playerName[32];<br />
  2563.    new demoName[64];<br />
  2564.    new demoPath[128];<br />
  2565. <br />
  2566.    if (equal(cmd, &quot;Nome da demo&quot;)) {<br />
  2567.        read_args(playerName, sizeof(playerName));<br />
  2568.        read_args(demoName, sizeof(demoName));<br />
  2569. <br />
  2570.        // Formata o caminho do arquivo de demo<br />
  2571.        format(demoPath, sizeof(demoPath), &quot;demos/%s.dem&quot;, demoName);<br />
  2572. <br />
  2573.        // Grava a demo<br />
  2574.        client_cmd(id, &quot;amx_record &quot;%s&quot;&quot;, demoPath);<br />
  2575.        client_print(id, print_chat, &quot;Demo para o jogador %s está sendo gravada como &quot;%s&quot;.&quot;, playerName, demoName);<br />
  2576.    }<br />
  2577. }<br />
  2578. <br />
  2579. // Função chamada quando o plugin é inicializado<br />
  2580. public plugin_init() {<br />
  2581.    register_plugin(&quot;Demo Recorder&quot;, &quot;1.0&quot;, &quot;Author&quot;);<br />
  2582.    register_clcmd(&quot;say /recorddemo&quot;, &quot;cmd_recorddemo&quot;);<br />
  2583. }<br />
  2584. <br />
  2585. // Comando de chat para abrir o menu de seleção de jogadores<br />
  2586. public cmd_recorddemo(id) {<br />
  2587.    if (!is_user_admin(id)) {<br />
  2588.        client_print(id, print_chat, &quot;Apenas administradores podem usar este comando.&quot;);<br />
  2589.        return PLUGIN_HANDLED;<br />
  2590.    }<br />
  2591. <br />
  2592.    show_demo_selector_menu(id);<br />
  2593.    return PLUGIN_HANDLED;<br />
  2594. }</div>
  2595.  
  2596. ]]></content:encoded>
  2597. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  2598. <dc:creator>igorzeni</dc:creator>
  2599. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347657</guid>
  2600. </item>
  2601. <item>
  2602. <title>Buku Tafsir Mimpi Togel Sydney 4D 10 perak MAGNUMTOGEL</title>
  2603. <link>https://forums.alliedmods.net/showthread.php?t=347651&amp;goto=newpost</link>
  2604. <pubDate>Sat, 11 May 2024 06:59:16 GMT</pubDate>
  2605. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  2606. ATAU
  2607. KETIK GOOGLE >> MAGNUMTOGEL.COM
  2608. Keyword Terkait :
  2609. magumtogel
  2610. magnumtoto...]]></description>
  2611. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  2612. ATAU<br />
  2613. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  2614. <br />
  2615. Keyword Terkait :<br />
  2616. magumtogel<br />
  2617. magnumtoto<br />
  2618. magnumtogel88<br />
  2619. admin magnumtogel<br />
  2620. link alternatif magnumtogel<br />
  2621. link resmi magnumtogel<br />
  2622. link gacor magnumtogel<br />
  2623. cs admin magnumtogel<br />
  2624. cs terbaik aktif 24 jam magnumtogel<br />
  2625. rtp magnumtogel<br />
  2626. bocoran magnumtogel<br />
  2627. magnumtogel anti nawala<br />
  2628. Apk magnumtogel<br />
  2629. Apk anti nawala<br />
  2630. Freebet 30k<br />
  2631. Freebet 20k<br />
  2632. Freebet slot<br />
  2633. Apk magnumtogel toto<br />
  2634. Link apk magnumtogel<br />
  2635. Magnumtogel live<br />
  2636. Prediksi magnumtogel<br />
  2637. Prediksi magnumtoto<br />
  2638. Prediksi master togel magnumtogel<br />
  2639. Prediksi togel harian<br />
  2640. Livedraw magnumtogel<br />
  2641. Livedraw togel hk<br />
  2642. buku tafsir togel sydney</div>
  2643.  
  2644. ]]></content:encoded>
  2645. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2646. <dc:creator>LebahSange</dc:creator>
  2647. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347651</guid>
  2648. </item>
  2649. <item>
  2650. <title>WSOSLOT88 : Agen Bandar Slot Bonus New Member 100% Tanpa TO</title>
  2651. <link>https://forums.alliedmods.net/showthread.php?t=347650&amp;goto=newpost</link>
  2652. <pubDate>Sat, 11 May 2024 04:22:24 GMT</pubDate>
  2653. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  2654. ATAU
  2655. KETIK GOOGLE >> WSOSLOT88.COM
  2656. bermain di situs depo 25 bonus 25 to rendah juga...]]></description>
  2657. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  2658. ATAU<br />
  2659. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  2660. <br />
  2661. bermain di situs depo 25 bonus 25 to rendah juga memberikan banyak keuntungan tambahan. Ada bocoran game yang sedang gacor yang siap menanti saat kamu bermain di situs depo 25 bonus 25 nexus. Hal ini dapat membantu meningkatkan peluangmu untuk meraih kemenangan yang lebih besar. Dengan demikian, bermain di situs slot depo 25 bonus 25 bebas ip dapat memberikan pengalaman bermain yang menguntungkan dan menyenangkan :<br />
  2662. <br />
  2663. Bonus New Member To Rendah<br />
  2664. Bonus New Member 100% To 3X<br />
  2665. Bonus New Member 100% To 5X<br />
  2666. Bonus New Member 100% To 7X<br />
  2667. Bonus New Member 100% To 10X<br />
  2668. Bonus New Member 100% TO 14X<br />
  2669. Bonus New Member 100% To 18X<br />
  2670. Depo 20 Bonus 20<br />
  2671. Depo 25 Bonus 25<br />
  2672. Depo 50 Bonus 50<br />
  2673. Depo 100 Bonus 100<br />
  2674. Deposit 20 Bonus 20<br />
  2675. Deposit 25 Bonus 25<br />
  2676. Deposit 50 Bonus 50<br />
  2677. Deposit 100 Bonus 100<br />
  2678. Situs Slot Bonus New Member 100% To Kecil<br />
  2679. Situs Slot Bonus New Member 100% To 2X Pragmatic Play<br />
  2680. Situs Slot Bonus New Member 100% To 5X Pg Soft<br />
  2681. Situs Slot Bonus New Member 100% To 8X Joker Gaming<br />
  2682. Situs Slot Bonus New Member 100% To 10X Spadegaming<br />
  2683. Situs Slot Bonus New Member 100% To 14X Habanero<br />
  2684. Situs Slot Bonus New Member 100% To 18X CQ9<br />
  2685. Situs Bonus New Member 100% To 3X<br />
  2686. Situs Bonus New Member 100% To 5X<br />
  2687. Situs Bonus New Member 100% To 8X<br />
  2688. Situs Bonus New Member 100% To 10X<br />
  2689. Situs Bonus New Member 100% To 14X<br />
  2690. Situs Bonus New Member 100% To 18X<br />
  2691. Bonus freebet 25rb / 25.000<br />
  2692. Bonus freebet 30rb / 30.000<br />
  2693. Bonus freebet 50rb/ 50.000<br />
  2694. Bonus freebet 100rb / 100k<br />
  2695. Bonus freebet 200rb / 200k<br />
  2696. Bonus freebet 300rb / 300k<br />
  2697. Bonus freebet 500rb / 500k<br />
  2698. Bonus freebet 1jt/ 1000k<br />
  2699. Bonus freebet tanpa TO<br />
  2700. Dengan banyaknya bonus yang tersedia di Slot To Rendah, anda memiliki peluang untuk merasakan jackpot besar dan memperoleh banyak bonus di situs tersebut. Sensasi Depo 25 Bonus 25 dengan tingkat winrate yang tinggi juga telah menanti kamu di situs Depo 25 Bonus 25. Selain itu, situs Depo 50 Bonus 50 juga menawarkan pelayanan nomor 1 kepada pemain dalam bermain di situs tersebut.</div>
  2701.  
  2702. ]]></content:encoded>
  2703. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2704. <dc:creator>KuraKura12</dc:creator>
  2705. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347650</guid>
  2706. </item>
  2707. <item>
  2708. <title>Trying to find mvm wave restart plugin</title>
  2709. <link>https://forums.alliedmods.net/showthread.php?t=347649&amp;goto=newpost</link>
  2710. <pubDate>Sat, 11 May 2024 01:54:55 GMT</pubDate>
  2711. <description><![CDATA[Hello does anyone have this mvm wave restart/fail plugin?
  2712. https://youtu.be/5qcChO_Lh44?si=tlJAYheOOC8FqHHq&t=191]]></description>
  2713. <content:encoded><![CDATA[<div>Hello does anyone have this mvm wave restart/fail plugin?<br />
  2714. <br />
  2715. <a href="https://youtu.be/5qcChO_Lh44?si=tlJAYheOOC8FqHHq&amp;t=191" target="_blank" rel="nofollow noopener">https://youtu.be/5qcChO_Lh44?si=tlJAYheOOC8FqHHq&amp;t=191</a></div>
  2716.  
  2717. ]]></content:encoded>
  2718. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=60">Plugin/Gameplay Ideas and Requests</category>
  2719. <dc:creator>hanspeterwurst</dc:creator>
  2720. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347649</guid>
  2721. </item>
  2722. <item>
  2723. <title>discord unban request</title>
  2724. <link>https://forums.alliedmods.net/showthread.php?t=347648&amp;goto=newpost</link>
  2725. <pubDate>Fri, 10 May 2024 21:48:21 GMT</pubDate>
  2726. <description>Hello, as the title suggests
  2727. is it possible to join the community again ?</description>
  2728. <content:encoded><![CDATA[<div>Hello, as the title suggests<br />
  2729. is it possible to join the community again ?</div>
  2730.  
  2731. ]]></content:encoded>
  2732. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=15">Off-Topic</category>
  2733. <dc:creator>LeOp4rD</dc:creator>
  2734. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347648</guid>
  2735. </item>
  2736. <item>
  2737. <title>Proxy Check (AS)</title>
  2738. <link>https://forums.alliedmods.net/showthread.php?t=347647&amp;goto=newpost</link>
  2739. <pubDate>Fri, 10 May 2024 20:02:11 GMT</pubDate>
  2740. <description><![CDATA[*Proxy & AS Check/Register
  2741. *
  2742. not a plugin submission, just another example on how to work with EzHTTP
  2743. Made this a long time ago due a group of...]]></description>
  2744. <content:encoded><![CDATA[<div><b><div align="center"><font size="6"><font color="Red">Proxy &amp; AS Check/Register</font></font></div></b><div align="center"><br />
  2745. <i><font size="2">not a plugin submission, just another example on how to work with EzHTTP</font></i></div><br />
  2746. <br />
  2747. Made this a long time ago due a group of cheaters that would terrorize public servers. This system helped hold them a little bit for some more time and definitely was useful.<br />
  2748. <br />
  2749. Basically, it uses the same API as DJEarthQuake's <a href="https://forums.alliedmods.net/showthread.php?t=322186" target="_blank" rel="noopener">Proxy Snort</a> uses. It gets the user IP and checks whether it results in Proxy or not. Check <a href="https://proxycheck.io/" target="_blank" rel="nofollow noopener">Proxy Check official site</a> to learn more about the API Key.<br />
  2750. <br />
  2751. When a player joins, the plugin will use EasyHTTP to make a HTTP request on the site and get the status of the user's IP as JSON:<br />
  2752. <br />
  2753. <div style="margin:20px; margin-top:5px">
  2754. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  2755. <div class="alt2">
  2756. <hr />
  2757. <code style="white-space:nowrap">
  2758. <div dir="ltr" style="text-align:left;">
  2759. <!-- php buffer start --><code><span style="color: #000000">
  2760. <span style="color: #0000BB"></span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"status"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"ok"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"131.87.133.121"</span><span style="color: #007700">:&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"asn"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"AS721"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"range"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"131.87.133.0/18"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"provider"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"DoD&nbsp;Network&nbsp;Information&nbsp;Center"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"organisation"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"DoD&nbsp;Network&nbsp;Information&nbsp;Center"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"continent"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"North&nbsp;America"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"continentcode"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"NA"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"country"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"United&nbsp;States"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"isocode"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"US"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"region"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"Ohio"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"regioncode"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"OH"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"timezone"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"America/New_York"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"city"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"Whitehall"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"postcode"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"43218"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"latitude"</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">39.9747</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"longitude"</span><span style="color: #007700">:&nbsp;-</span><span style="color: #0000BB">82.8947</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"proxy"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"no"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"type"</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">"Business"</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"risk"</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />}&nbsp;
  2761. <br /></span><span style="color: #0000BB"></span>
  2762. </span>
  2763. </code><!-- php buffer end -->
  2764. </div>
  2765. </code>
  2766. <hr />
  2767. </div>
  2768. </div>If either status is not &quot;ok&quot; or proxy returns &quot;yes&quot;, the user connection on the server is blocked (not considering status denied, which is the response when the API is not valid).<br />
  2769. In case of the connection is permitted, the user's <a href="https://en.wikipedia.org/wiki/Autonomous_system_(Internet)#:~:text=An%20autonomous%20system%20(AS)%20is,routing%20policy%20to%20the%20Internet." target="_blank" rel="nofollow noopener">AS</a> (asn in the json) gets registered inside the array for the user to choose what they want to do with it (In this example it is used as a more complex Ban System whereas it bans the AS instead of SteamID or IP which can be easily changed nowdays). <br />
  2770. <br />
  2771. Keep in mind that it is not 100% safe, mfs still find a way to change their AS somehow, lets see who gets tired first :twisted:<br />
  2772. <br />
  2773. You MUST use <a href="https://github.com/Next21Team/AmxxEasyHttp" target="_blank" rel="nofollow noopener">EzHTTP</a> for it to run properly. As I mentioned in some previous posts, it makes the life easier.<br />
  2774. <br />
  2775. There is a simple API with two natives<br />
  2776. <br />
  2777. <div style="margin:20px; margin-top:5px">
  2778. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  2779. <div class="alt2">
  2780. <hr />
  2781. <code style="white-space:nowrap">
  2782. <div dir="ltr" style="text-align:left;">
  2783. <!-- php buffer start --><code><span style="color: #000000">
  2784. <span style="color: #0000BB"></span><span style="color: #FF8000">/*&nbsp;Native&nbsp;that&nbsp;get&nbsp;user's&nbsp;AS&nbsp;*/<br /></span><span style="color: #0000BB">native&nbsp;proxy_get_user_as</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szUserAS</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">iLen</span><span style="color: #007700">)<br /><br /></span><span style="color: #FF8000">/*&nbsp;Finds&nbsp;user's&nbsp;AS&nbsp;by&nbsp;IP&nbsp;*/<br /></span><span style="color: #0000BB">native&nbsp;proxy_get_as_byip</span><span style="color: #007700">(</span><span style="color: #0000BB">szIP</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">szUserAS</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">iLen</span><span style="color: #007700">)&nbsp;
  2785. <br /></span><span style="color: #0000BB"></span>
  2786. </span>
  2787. </code><!-- php buffer end -->
  2788. </div>
  2789. </code>
  2790. <hr />
  2791. </div>
  2792. </div><br />
  2793. <b><font color="Red">Commands avaliable:</font></b><br />
  2794. <br />
  2795. amx_ban_as - Ban AS<br />
  2796. amx_unban_as - Unban AS<br />
  2797. amx_as_menu - Opens players's AS menu (press to ban)<br />
  2798. <br />
  2799. Still working on it and accepting ideas on how to improve it. Cheers :)</div>
  2800.  
  2801.  
  2802. <br />
  2803. <div style="padding:6px">
  2804.  
  2805.  
  2806.  
  2807.  
  2808. <fieldset class="fieldset">
  2809. <legend>Attached Files</legend>
  2810. <table cellpadding="0" cellspacing="3" border="0">
  2811. <tr>
  2812. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/inc.gif" alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  2813. <td>
  2814. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204358&amp;d=1715371038">as.inc</a> (242 Bytes)
  2815. </td>
  2816. </tr><tr>
  2817. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  2818. <td>
  2819. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204362"><strong>Get Plugin</strong></a> or
  2820. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204362&amp;d=1715451873">Get Source</a> (proxyChecker.sma - 7.7 KB)
  2821. </td>
  2822. </tr>
  2823. </table>
  2824. </fieldset>
  2825.  
  2826. </div>
  2827. ]]></content:encoded>
  2828. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=83">Code Snippets/Tutorials</category>
  2829. <dc:creator>EFFx</dc:creator>
  2830. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347647</guid>
  2831. </item>
  2832. <item>
  2833. <title><![CDATA[Checking if a process is running on the player's computer]]></title>
  2834. <link>https://forums.alliedmods.net/showthread.php?t=347645&amp;goto=newpost</link>
  2835. <pubDate>Fri, 10 May 2024 12:18:33 GMT</pubDate>
  2836. <description><![CDATA[Let's say there is an anti-cheat that I want the players on the server to run before the game. Is there any way to check without any external...]]></description>
  2837. <content:encoded><![CDATA[<div>Let's say there is an anti-cheat that I want the players on the server to run before the game. Is there any way to check without any external software whether the anti-cheat process is running on the player's computer? <br />
  2838. In other words, I want to check if a specific process is running on the player's computer.<br />
  2839. Thanks</div>
  2840.  
  2841. ]]></content:encoded>
  2842. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  2843. <dc:creator>versation</dc:creator>
  2844. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347645</guid>
  2845. </item>
  2846. <item>
  2847. <title>Agen BO Togel SGP 4D Bet 10 perak Termurah MAGNUMTOGEL</title>
  2848. <link>https://forums.alliedmods.net/showthread.php?t=347644&amp;goto=newpost</link>
  2849. <pubDate>Fri, 10 May 2024 07:15:19 GMT</pubDate>
  2850. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  2851. ATAU
  2852. KETIK GOOGLE >> MAGNUMTOGEL.COM
  2853. Keyword Terkait :
  2854. magumtogel
  2855. magnumtoto...]]></description>
  2856. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  2857. ATAU<br />
  2858. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  2859. <br />
  2860. Keyword Terkait :<br />
  2861. magumtogel<br />
  2862. magnumtoto<br />
  2863. magnumtogel88<br />
  2864. admin magnumtogel<br />
  2865. link alternatif magnumtogel<br />
  2866. link resmi magnumtogel<br />
  2867. link gacor magnumtogel<br />
  2868. cs admin magnumtogel<br />
  2869. cs terbaik aktif 24 jam magnumtogel<br />
  2870. rtp magnumtogel<br />
  2871. bocoran magnumtogel<br />
  2872. magnumtogel anti nawala<br />
  2873. Apk magnumtogel<br />
  2874. Apk anti nawala<br />
  2875. Freebet 30k<br />
  2876. Freebet 20k<br />
  2877. Freebet slot<br />
  2878. Apk magnumtogel toto<br />
  2879. Link apk magnumtogel<br />
  2880. Magnumtogel live<br />
  2881. Prediksi magnumtogel<br />
  2882. Prediksi magnumtoto<br />
  2883. Prediksi master togel magnumtogel<br />
  2884. Prediksi togel harian<br />
  2885. Livedraw magnumtogel<br />
  2886. Livedraw togel hk<br />
  2887. bo togel sgp</div>
  2888.  
  2889. ]]></content:encoded>
  2890. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2891. <dc:creator>LebahSange</dc:creator>
  2892. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347644</guid>
  2893. </item>
  2894. <item>
  2895. <title>Daftar Akun Pro Slot Taiwan Terbaik Super Gacor No.1 WSOSLOT88</title>
  2896. <link>https://forums.alliedmods.net/showthread.php?t=347643&amp;goto=newpost</link>
  2897. <pubDate>Fri, 10 May 2024 05:10:59 GMT</pubDate>
  2898. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  2899. ATAU
  2900. KETIK GOOGLE >> WSOSLOT88.COM
  2901. WsoSlot88 adalah situs slot gacor penyedia server Taiwan...]]></description>
  2902. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  2903. ATAU<br />
  2904. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  2905. <br />
  2906. WsoSlot88 adalah situs slot gacor penyedia server Taiwan serta daftar akun pro Taiwan resmi dengan link login super gacor. Slot Server Taiwan sudah di gemari oleh kalangan remaja hingga dewasa yang bermain slot Taiwan super gacor. Dalam server Taiwan banyak pilihan permain yang bisa anda coba mulai dari slot gacor, judi bola, sbobet, casino online, dll yang tersedia di slot Taiwan no 1.<br />
  2907. <br />
  2908. Sebagai salah satu penyedia slot server Taiwan kini situs WsoSlot88 sudah terkenal menjadi situs slot gacor yang paling gacor dan super gacor dibanding situs lainnya. Tidak heran jika slot server Taiwan sudah bekerja sama dengan situs WsoSlot88 yang menyediakan seluruh permainan slot gacor sehingga bermain disini membuat anda tidak rungkad dan dijamin bermain slot server Taiwan super gacor.<br />
  2909. <br />
  2910. Untuk melakukan permainan slot Taiwan daftar akun pro Taiwan resmi di situs WsoSlot88 dan anda akan langsung bisa memainkan setiap permainannya. Minimal deposit Rp,10.000 untuk bermain slot Taiwan dan anda akan berkesempatan besar untuk mendapatkan bonus-bonus yang di berikan oleh WsoSlot88 dalam situs slot server Taiwan no 1 super gacor terbaru 2024.</div>
  2911.  
  2912. ]]></content:encoded>
  2913. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  2914. <dc:creator>KuraKura12</dc:creator>
  2915. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347643</guid>
  2916. </item>
  2917. <item>
  2918. <title>Help with a plugin please.</title>
  2919. <link>https://forums.alliedmods.net/showthread.php?t=347634&amp;goto=newpost</link>
  2920. <pubDate>Thu, 09 May 2024 16:16:53 GMT</pubDate>
  2921. <description><![CDATA[Hello i am working on a small plugin for my kids server.
  2922. All I'm trying to do is.
  2923. Implement into the sm_admin menu for easy use.
  2924. the I'm trying to...]]></description>
  2925. <content:encoded><![CDATA[<div>Hello i am working on a small plugin for my kids server.<br />
  2926. All I'm trying to do is.<br />
  2927. Implement into the sm_admin menu for easy use.<br />
  2928. the I'm trying to be able to change the tf_bot_quota x, and add bots x, and kick bot individually or all.<br />
  2929. I keep getting these compiling issues:<br />
  2930. <br />
  2931. (23) : error 001: expected token: &quot;;&quot;, but found &quot;-identifier-&quot;<br />
  2932. (34) : error 002: only a single statement (or expression) can follow each &quot;case&quot;<br />
  2933. (34) : error 036: empty statement<br />
  2934. (35) : warning 217: inconsistent indentation (did you mix tabs and spaces?)<br />
  2935. (35) : error 014: invalid statement; not in switch<br />
  2936. (35) : error 001: expected token: &quot;;&quot;, but found &quot;:&quot;<br />
  2937. (35) : error 029: invalid expression, assumed zero<br />
  2938. <br />
  2939. Thank you for your help.<br />
  2940. This is my code:<br />
  2941. <br />
  2942. #include &lt;sourcemod&gt;<br />
  2943. #include &lt;tf2&gt;<br />
  2944. <br />
  2945. public Plugin myPlugin = {<br />
  2946.    name = &quot;TF2BotControl&quot;,<br />
  2947.    author = &quot;P0k3sm0t&quot;,<br />
  2948.    description = &quot;TF2 Bot Control Plugin&quot;,<br />
  2949.    version = &quot;1.0&quot;,<br />
  2950. };<br />
  2951. <br />
  2952. public void OnPluginStart() {<br />
  2953.    RegisterPlugin(myPlugin);<br />
  2954. }<br />
  2955. <br />
  2956. public Action OnAdminMenuToggled(int client, bool open) {<br />
  2957.    if (open) {<br />
  2958.        DisplayBotControlMenu(client);<br />
  2959.    }<br />
  2960.    return Plugin_Continue;<br />
  2961. }<br />
  2962. <br />
  2963. public void DisplayBotControlMenu(int client) {<br />
  2964.    new Handle menuHandle = CreateMenu(&quot;Bot Control&quot;, 0, MenuCallback);<br />
  2965.    AddMenuItem(menuHandle, &quot;BotQuota&quot;, &quot;Set the bot quota&quot;, &quot;menu_quota&quot;);<br />
  2966.    AddMenuItem(menuHandle, &quot;AddBot&quot;, &quot;Add bots to the server&quot;, &quot;menu_addbot&quot;);<br />
  2967.    AddMenuItem(menuHandle, &quot;KickBot&quot;, &quot;Kick bots from the server&quot;, &quot;menu_kickbot&quot;);<br />
  2968.    ShowMenu(client, menuHandle);<br />
  2969. }<br />
  2970. <br />
  2971. public Action MenuCallback(Handle menu, int client, int item, int action) {<br />
  2972.    switch (action) {<br />
  2973.        case 1: // BotQuota<br />
  2974.            ShowBotQuotaMenu(client);<br />
  2975.            break;<br />
  2976.        case 2: // AddBot<br />
  2977.            ShowAddBotMenu(client);<br />
  2978.            break;<br />
  2979.        case 3: // KickBot<br />
  2980.            ShowKickBotMenu(client);<br />
  2981.            break;<br />
  2982.        default:<br />
  2983.            break;<br />
  2984.    }<br />
  2985.    return Plugin_Continue;<br />
  2986. }<br />
  2987. <br />
  2988. public void ShowBotQuotaMenu(int client) {<br />
  2989.    new Handle menuHandle = CreateMenu(&quot;Bot Quota&quot;, 0, QuotaMenuCallback);<br />
  2990.    AddMenuItem(menuHandle, &quot;BotQuota 8&quot;, &quot;&quot;, &quot;quota_8&quot;);<br />
  2991.    AddMenuItem(menuHandle, &quot;BotQuota 10&quot;, &quot;&quot;, &quot;quota_10&quot;);<br />
  2992.    AddMenuItem(menuHandle, &quot;BotQuota 12&quot;, &quot;&quot;, &quot;quota_12&quot;);<br />
  2993.    AddMenuItem(menuHandle, &quot;BotQuota 14&quot;, &quot;&quot;, &quot;quota_14&quot;);<br />
  2994.    AddMenuItem(menuHandle, &quot;BotQuota 16&quot;, &quot;&quot;, &quot;quota_16&quot;);<br />
  2995.    AddMenuItem(menuHandle, &quot;BotQuota 18&quot;, &quot;&quot;, &quot;quota_18&quot;);<br />
  2996.    AddMenuItem(menuHandle, &quot;BotQuota 20&quot;, &quot;&quot;, &quot;quota_20&quot;);<br />
  2997.    AddMenuItem(menuHandle, &quot;Back&quot;, &quot;&quot;, &quot;back&quot;);<br />
  2998.    ShowMenu(client, menuHandle);<br />
  2999. }<br />
  3000. <br />
  3001. public Action QuotaMenuCallback(Handle menu, int client, int item, int action) {<br />
  3002.    switch (action) {<br />
  3003.        case 1: // BotQuota 8<br />
  3004.            SetBotQuota(8);<br />
  3005.            break;<br />
  3006.        case 2: // BotQuota 10<br />
  3007.            SetBotQuota(10);<br />
  3008.            break;<br />
  3009.        case 3: // BotQuota 12<br />
  3010.            SetBotQuota(12);<br />
  3011.            break;<br />
  3012.        case 4: // BotQuota 14<br />
  3013.            SetBotQuota(14);<br />
  3014.            break;<br />
  3015.        case 5: // BotQuota 16<br />
  3016.            SetBotQuota(16);<br />
  3017.            break;<br />
  3018.        case 6: // BotQuota 18<br />
  3019.            SetBotQuota(18);<br />
  3020.            break;<br />
  3021.        case 7: // BotQuota 20<br />
  3022.            SetBotQuota(20);<br />
  3023.            break;<br />
  3024.        case 8: // Back<br />
  3025.            DisplayBotControlMenu(client);<br />
  3026.            break;<br />
  3027.        default: // Handle unexpected actions<br />
  3028.            break;<br />
  3029.    }<br />
  3030.    return Plugin_Continue;<br />
  3031. }<br />
  3032. <br />
  3033. public void SetBotQuota(int quota) {<br />
  3034.    // Set the bot quota using tf_bot_quota cvar<br />
  3035.    SetConVarInt(&quot;tf_bot_quota&quot;, quota);<br />
  3036. }<br />
  3037. <br />
  3038. public void ShowAddBotMenu(int client) {<br />
  3039.    new Handle menuHandle = CreateMenu(&quot;Add Bot&quot;, 0, AddBotMenuCallback);<br />
  3040.    for (int i = 1; i &lt;= 10; i++) {<br />
  3041.        char buffer[10];<br />
  3042.        format(buffer, sizeof(buffer), &quot;AddBot %d&quot;, i);<br />
  3043.        AddMenuItem(menuHandle, buffer, &quot;&quot;, &quot;addbot_&quot; + i);<br />
  3044.    }<br />
  3045.    AddMenuItem(menuHandle, &quot;Back&quot;, &quot;&quot;, &quot;back&quot;);<br />
  3046.    ShowMenu(client, menuHandle);<br />
  3047. }<br />
  3048. <br />
  3049. public Action AddBotMenuCallback(Handle menu, int client, int item, int action) {<br />
  3050.    if (action &gt;= 1 &amp;&amp; action &lt;= 10) {<br />
  3051.        int numBots = action;<br />
  3052.        for (int i = 0; i &lt; numBots; i++) {<br />
  3053.            // Execute tf_bot_add command to add a bot<br />
  3054.            ServerCommand(&quot;tf_bot_add&quot;);<br />
  3055.        }<br />
  3056.    } else if (action == 11) { // Back<br />
  3057.        DisplayBotControlMenu(client);<br />
  3058.    }<br />
  3059.    return Plugin_Continue;<br />
  3060. }<br />
  3061. <br />
  3062. public void ShowKickBotMenu(int client) {<br />
  3063.    new Handle menuHandle = CreateMenu(&quot;Kick Bot&quot;, 0, KickBotMenuCallback);<br />
  3064.    // Get list of bots on the server and add options to kick them individually<br />
  3065.    // For example:<br />
  3066.    foreach(int botIndex; 1 &lt;= MaxClients; botIndex++) {<br />
  3067.        if (IsClientInGame(botIndex) &amp;&amp; IsClientBot(botIndex)) {<br />
  3068.            char botName[32];<br />
  3069.            GetClientName(botIndex, botName, sizeof(botName));<br />
  3070.            AddMenuItem(menuHandle, botName, &quot;&quot;, &quot;kickbot_&quot; + botIndex);<br />
  3071.        }<br />
  3072.    }<br />
  3073.    // Add option to kick all bots<br />
  3074.    AddMenuItem(menuHandle, &quot;Kick all Bots&quot;, &quot;&quot;, &quot;kick_all_bots&quot;);<br />
  3075.    AddMenuItem(menuHandle, &quot;Back&quot;, &quot;&quot;, &quot;back&quot;);<br />
  3076.    ShowMenu(client, menuHandle);<br />
  3077. }<br />
  3078. <br />
  3079. public Action KickBotMenuCallback(Handle menu, int client, int item, int action) {<br />
  3080.    if (action &gt; 0 &amp;&amp; action &lt;= MaxClients) {<br />
  3081.        // Kick individual bot<br />
  3082.        int botIndex = action;<br />
  3083.        char command[32];<br />
  3084.        format(command, sizeof(command), &quot;tf_bot_kick %d&quot;, botIndex);<br />
  3085.        ServerCommand(command);<br />
  3086.    } else if (action == (MaxClients + 1)) {<br />
  3087.        // Kick all bots<br />
  3088.        ServerCommand(&quot;tf_bot_kick all&quot;);<br />
  3089.    } else if (action == (MaxClients + 2)) { // Back<br />
  3090.        DisplayBotControlMenu(client);<br />
  3091.    }<br />
  3092.    return Plugin_Continue;<br />
  3093. }<br />
  3094. <br />
  3095. Not sure why it put smillyfaces in there lol.</div>
  3096.  
  3097.  
  3098. <br />
  3099. <div style="padding:6px">
  3100.  
  3101.  
  3102.  
  3103.  
  3104. <fieldset class="fieldset">
  3105. <legend>Attached Files</legend>
  3106. <table cellpadding="0" cellspacing="3" border="0">
  3107. <tr>
  3108. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  3109. <td>
  3110. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204346"><strong>Get Plugin</strong></a> or
  3111. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204346&amp;d=1715271337">Get Source</a> (BotQuota.sp - 4.9 KB)
  3112. </td>
  3113. </tr>
  3114. </table>
  3115. </fieldset>
  3116.  
  3117. </div>
  3118. ]]></content:encoded>
  3119. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  3120. <dc:creator>P0k3sm0t</dc:creator>
  3121. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347634</guid>
  3122. </item>
  3123. <item>
  3124. <title><![CDATA[[Solved] Stale Variable problem]]></title>
  3125. <link>https://forums.alliedmods.net/showthread.php?t=347630&amp;goto=newpost</link>
  3126. <pubDate>Thu, 09 May 2024 13:17:21 GMT</pubDate>
  3127. <description><![CDATA[Hi, I have a problem.
  3128. I have this global saved,  
  3129. PHP:
  3130. ---------
  3131. new_g_cName[33][32]
  3132. ---------
  3133. , it holds the names of players.]]></description>
  3134. <content:encoded><![CDATA[<div>Hi, I have a problem.<br />
  3135. <br />
  3136. I have this global saved, <div style="margin:20px; margin-top:5px">
  3137. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  3138. <div class="alt2">
  3139. <hr />
  3140. <code style="white-space:nowrap">
  3141. <div dir="ltr" style="text-align:left;">
  3142. <!-- php buffer start --><code><span style="color: #000000">
  3143. <span style="color: #0000BB">new_g_cName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;&nbsp;
  3144. <br /></span><span style="color: #0000BB"></span>
  3145. </span>
  3146. </code><!-- php buffer end -->
  3147. </div>
  3148. </code>
  3149. <hr />
  3150. </div>
  3151. </div>, it holds the names of players.<br />
  3152. <br />
  3153. <br />
  3154. <div style="margin:20px; margin-top:5px">
  3155. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  3156. <div class="alt2">
  3157. <hr />
  3158. <code style="white-space:nowrap">
  3159. <div dir="ltr" style="text-align:left;">
  3160. <!-- php buffer start --><code><span style="color: #000000">
  3161. <span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">)
  3162. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_cName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">g_cName</span><span style="color: #007700">&#91;&#93;));&nbsp;
  3163. <br /></span><span style="color: #0000BB"></span>
  3164. </span>
  3165. </code><!-- php buffer end -->
  3166. </div>
  3167. </code>
  3168. <hr />
  3169. </div>
  3170. </div><br />
  3171. <div style="margin:20px; margin-top:5px">
  3172. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  3173. <div class="alt2">
  3174. <hr />
  3175. <code style="white-space:nowrap">
  3176. <div dir="ltr" style="text-align:left;">
  3177. <!-- php buffer start --><code><span style="color: #000000">
  3178. <span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">client_infochanged</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  3179. <br />{
  3180. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_user_connected</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">g_bFake</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)
  3181. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;
  3182. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">verify_name</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  3183. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">MakeUserAdmin</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  3184. <br />}&nbsp;
  3185. <br /></span><span style="color: #0000BB"></span>
  3186. </span>
  3187. </code><!-- php buffer end -->
  3188. </div>
  3189. </code>
  3190. <hr />
  3191. </div>
  3192. </div>verify_name(id) function:<br />
  3193. <br />
  3194. <div style="margin:20px; margin-top:5px">
  3195. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  3196. <div class="alt2">
  3197. <hr />
  3198. <code style="white-space:nowrap">
  3199. <div dir="ltr" style="text-align:left;">
  3200. <!-- php buffer start --><code><span style="color: #000000">
  3201. <span style="color: #0000BB">verify_name</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  3202. <br />{
  3203. <br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;
  3204. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">);
  3205. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3206. <br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ignore</span><span style="color: #007700">;
  3207. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ignore&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;
  3208. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3209. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">g_sizeof_names_new</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)
  3210. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  3211. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">containi</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_names_new</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;)&nbsp;!=&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">)
  3212. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  3213. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ignore&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;
  3214. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
  3215. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  3216. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  3217. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3218. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">ignore</span><span style="color: #007700">)
  3219. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;
  3220. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3221. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">29</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)
  3222. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">replace_all</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_filter_chars</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">""</span><span style="color: #007700">);
  3223. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3224. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">g_sizeof_names</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)
  3225. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  3226. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">containi</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_names</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;)&nbsp;!=&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;!</span><span style="color: #0000BB">g_bFake</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;)
  3227. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  3228. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;&#91;%d&#93;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_names_new</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">random_num</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_sizeof_names_new</span><span style="color: #007700">)&#93;,&nbsp;</span><span style="color: #0000BB">g_names_changed</span><span style="color: #007700">);
  3229. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">);
  3230. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_cmd</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name&nbsp;^"</span><span style="color: #007700">%</span><span style="color: #0000BB">s</span><span style="color: #007700">^</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">);
  3231. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_names_changed</span><span style="color: #007700">++;
  3232. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  3233. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  3234. <br />}&nbsp;
  3235. <br /></span><span style="color: #0000BB"></span>
  3236. </span>
  3237. </code><!-- php buffer end -->
  3238. </div>
  3239. </code>
  3240. <hr />
  3241. </div>
  3242. </div>ChangeNick(iPlayer) function:<br />
  3243. <br />
  3244. <div style="margin:20px; margin-top:5px">
  3245. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  3246. <div class="alt2">
  3247. <hr />
  3248. <code style="white-space:nowrap">
  3249. <div dir="ltr" style="text-align:left;">
  3250. <!-- php buffer start --><code><span style="color: #000000">
  3251. <span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">ChangeNick</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">)
  3252. <br />{
  3253. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">GetAccess</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ADMIN_KICK</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">))
  3254. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;
  3255. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  3256. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">cArg</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;
  3257. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;
  3258. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cArg</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sizeof</span><span style="color: #007700">(</span><span style="color: #0000BB">cArg</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  3259. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sizeof</span><span style="color: #007700">(</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">)-</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  3260. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">GetTarget</span><span style="color: #007700">(</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cArg</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">FLAG_CHECK_IMMUNITY</span><span style="color: #007700">);
  3261. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  3262. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">)
  3263. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;
  3264. <br />
  3265. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">PrintToChat</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,</span><span style="color: #DD0000">"^x01&#91;ADMIN&#93;^x04&nbsp;%s^x01:&nbsp;changed&nbsp;^x04%s^x01's&nbsp;nickname&nbsp;to&nbsp;^x03%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_cName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">g_cName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">);
  3266. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_user_info</span><span style="color: #007700">(</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">);
  3267. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_cmd</span><span style="color: #007700">(</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"name&nbsp;^"</span><span style="color: #007700">%</span><span style="color: #0000BB">s</span><span style="color: #007700">^</span><span style="color: #DD0000">""</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cNickname</span><span style="color: #007700">);
  3268. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;
  3269. <br />}&nbsp;
  3270. <br /></span><span style="color: #0000BB"></span>
  3271. </span>
  3272. </code><!-- php buffer end -->
  3273. </div>
  3274. </code>
  3275. <hr />
  3276. </div>
  3277. </div>No matter what I try, g_cName[] remains the same, i.e., with the value received in client_putinserver. So, if I enter with the name ABC and change it later to ASD, it still prints ABC.<br />
  3278. <br />
  3279. Apart from ChangeNick and verify_name, there is no other function that affects the variable.</div>
  3280.  
  3281. ]]></content:encoded>
  3282. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  3283. <dc:creator>N3v3rM1nd</dc:creator>
  3284. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347630</guid>
  3285. </item>
  3286. <item>
  3287. <title>Agen Togel Jepang Keluaran Togel Tercepat di Indonesia MAGNUMTOGEL</title>
  3288. <link>https://forums.alliedmods.net/showthread.php?t=347613&amp;goto=newpost</link>
  3289. <pubDate>Thu, 09 May 2024 06:43:38 GMT</pubDate>
  3290. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  3291. ATAU
  3292. KETIK GOOGLE >> MAGNUMTOGEL.COM
  3293. Keyword Terkait :
  3294. magumtogel
  3295. magnumtoto...]]></description>
  3296. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  3297. ATAU<br />
  3298. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  3299. <br />
  3300. Keyword Terkait :<br />
  3301. magumtogel<br />
  3302. magnumtoto<br />
  3303. magnumtogel88<br />
  3304. admin magnumtogel<br />
  3305. link alternatif magnumtogel<br />
  3306. link resmi magnumtogel<br />
  3307. link gacor magnumtogel<br />
  3308. cs admin magnumtogel<br />
  3309. cs terbaik aktif 24 jam magnumtogel<br />
  3310. rtp magnumtogel<br />
  3311. bocoran magnumtogel<br />
  3312. magnumtogel anti nawala<br />
  3313. Apk magnumtogel<br />
  3314. Apk anti nawala<br />
  3315. Freebet 30k<br />
  3316. Freebet 20k<br />
  3317. Freebet slot<br />
  3318. Apk magnumtogel toto<br />
  3319. Link apk magnumtogel<br />
  3320. Magnumtogel live<br />
  3321. Prediksi magnumtogel<br />
  3322. Prediksi magnumtoto<br />
  3323. Prediksi master togel magnumtogel<br />
  3324. Prediksi togel harian<br />
  3325. Livedraw magnumtogel<br />
  3326. Livedraw togel hk<br />
  3327. togel jepang<br />
  3328. situs togel jepang</div>
  3329.  
  3330. ]]></content:encoded>
  3331. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  3332. <dc:creator>LebahSange</dc:creator>
  3333. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347613</guid>
  3334. </item>
  3335. <item>
  3336. <title>WSOSLOT88 : Daftar Situs Togel BBFS 10 Digit 10 perak Bebas Invest</title>
  3337. <link>https://forums.alliedmods.net/showthread.php?t=347612&amp;goto=newpost</link>
  3338. <pubDate>Thu, 09 May 2024 04:13:19 GMT</pubDate>
  3339. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  3340. ATAU
  3341. KETIK GOOGLE >> WSOSLOT88.COM
  3342. Wsoslot88 menyediakan Daftar Togel BBFS 10 Digit Menang...]]></description>
  3343. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  3344. ATAU<br />
  3345. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  3346. <br />
  3347. Wsoslot88 menyediakan Daftar Togel BBFS 10 Digit Menang Berapapun Pasti diBayar Terbaru bet 100 perak diskon terbesar dengan prize 12345 bolak balik lurus dibayar. Situs togel online terlengkap dan terpercaya memiliki kurang lebih 70 pasaran togel online resmi dan terlengkap di indonesia.<br />
  3348. <br />
  3349. Togel online sekarang menjadi primadona para pecinta togel online karena permainan yang sangat mudah dan lengkap terutama bbfs dan diskon yang besar menjadi daya tarik untuk para bettor. Dikarena pasaran yang semakin banyak sehingga me wanti-wanti situs situs bodong, oleh karena itu kami sebagai agen togel Wsoslot88 menyediakan platform permainan togel yang aman dan terpercaya.<br />
  3350. <br />
  3351. 15 Daftar Togel Deposit LinkAja 5000 Tanpa Potongan Resmi Terpercaya 2023 Agen 10 Situs Judi Bandar Togel Online Terpercaya Terbesar 2023 Situs Toto sebagai situs togel terpercaya dan situs togel resmi toto di Indonesia bersama dengan bersama bandar togel hadiah 4d 10 juta rupiah dan sedikitnya bet 100 perak rupiah. situs togel resmi sekarang sebagai 10 situs togel terpercaya dan termaksud udah terbesar di Indonesia bersama dengan bersama sedia kan 10 pasaran togel resmi terpercaya dan terbesar di global misalnya : togel online Singapore, togel online hongkong, togel online Sydney, togel online toto macau, togel online Taiwan, togel online china, togel online Cambodia, togel online jepang, togel online Havana dan termasuk togel online Budapest. website togel saat ini udah yaitu bandar togel online yang sahih-sahih terpercaya bersama dengan bersama selama-lamanya membayar kemenangan beberapa pemain togelers di Indonesia.<br />
  3352. <br />
  3353. 10 situs togel terpercaya sekarang merupakan tak betul satu bandar togel terpercaya yang sudah menggapai lisensi resmi PAGCOR disebabkan udah selama-lamanya membayar kemenangan didapatkan peserta maka dari itu berasal asal dari ini akibatkan otorisasi togel kelas internasional udah berikan lisensi resmi ini buat situs bo togel terpercaya yang telah sahih-sahih terpercaya. bandar togel hadiah 4d 10 juta terpercaya saat ini merupakan situs judi togel online terpercaya berasal dari Indonesia yang tergolong telah resmi sedia kan perjudian online yang lain seperti judi slot online, judi tembak ikan online, judi live kasino, judi taruhan bola online buat beberapa togelers yang lagi tunggu keluaran hasil taruahn togel online. Karena itu berasal datang dari itu main di situs togel terbesar dan terpercaya udah yang pasti jadi wejangan buat beberapa peserta.</div>
  3354.  
  3355. ]]></content:encoded>
  3356. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  3357. <dc:creator>KuraKura12</dc:creator>
  3358. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347612</guid>
  3359. </item>
  3360. <item>
  3361. <title>GUNMENU</title>
  3362. <link>https://forums.alliedmods.net/showthread.php?t=347609&amp;goto=newpost</link>
  3363. <pubDate>Wed, 08 May 2024 22:03:03 GMT</pubDate>
  3364. <description><![CDATA[#include <amxmodx>
  3365. #include <amxmisc>
  3366. #include <hamsandwich>
  3367. #include <cstrike>
  3368. #include <fun>
  3369. #define PLUGIN "Vip GunMenu"
  3370. #define VERSION...]]></description>
  3371. <content:encoded><![CDATA[<div>#include &lt;amxmodx&gt;<br />
  3372. #include &lt;amxmisc&gt;<br />
  3373. #include &lt;hamsandwich&gt;<br />
  3374. #include &lt;cstrike&gt;<br />
  3375. #include &lt;fun&gt;<br />
  3376. <br />
  3377. #define PLUGIN &quot;Vip GunMenu&quot;<br />
  3378. #define VERSION &quot;1.0&quot;<br />
  3379. #define AUTHOR &quot;SenaTor&quot;<br />
  3380. <br />
  3381. #define ADMIN_ACCESS ADMIN_CHAT<br />
  3382. new bool:imaC4[ 33 ];<br />
  3383. <br />
  3384. new menu;<br />
  3385. <br />
  3386. new cvar_second;<br />
  3387. <br />
  3388. public plugin_init()<br />
  3389. {<br />
  3390. register_plugin(&quot;Gun Menu&quot;, &quot;1.0&quot;, &quot;26-{indra}&quot;)<br />
  3391. register_plugin(PLUGIN, VERSION, AUTHOR)<br />
  3392. RegisterHam(Ham_Spawn, &quot;player&quot;, &quot;fw_PlayerSpawn_Post&quot;, 1)<br />
  3393. <br />
  3394. cvar_second = register_cvar(&quot;Show_Menu_seconds&quot;, &quot;0&quot;)<br />
  3395. <br />
  3396. }<br />
  3397. public fw_PlayerSpawn_Post(id)<br />
  3398. { <br />
  3399. if (!is_user_alive(id))<br />
  3400. return;<br />
  3401. <br />
  3402. set_task(get_pcvar_float(cvar_second), &quot;Vip_menu&quot;, id)<br />
  3403. }<br />
  3404. <br />
  3405. public Vip_menu(id)<br />
  3406. {<br />
  3407. if (!is_user_alive(id))<br />
  3408. return<br />
  3409. <br />
  3410. new flags = get_user_flags(id)<br />
  3411. <br />
  3412. menu = menu_create(&quot;[VIP \r[Gun] \wMenu]&quot;, &quot;VIP_handler&quot;)<br />
  3413. <br />
  3414. <br />
  3415. <br />
  3416. if(flags &amp; ADMIN_CHAT)<br />
  3417. menu_additem( menu, &quot;\w[M4A1] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3418. else<br />
  3419. menu_additem( menu, &quot;\d[M4A1] + Deagle + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3420. <br />
  3421. <br />
  3422. <br />
  3423. if(flags &amp; ADMIN_CHAT)<br />
  3424. menu_additem( menu, &quot;\w[AK47] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3425. else<br />
  3426. menu_additem( menu, &quot;\d[AK47] + Deagle + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3427. <br />
  3428. <br />
  3429. if(flags &amp; ADMIN_CHAT)<br />
  3430. menu_additem( menu, &quot;\w[AWP] \y+ \wDeagle \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3431. else<br />
  3432. menu_additem( menu, &quot;\d[AWP] + Deagle + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3433. <br />
  3434. if(flags &amp; ADMIN_CHAT)<br />
  3435. menu_additem( menu, &quot;\w[SG552] \y+ \wP228 \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3436. else<br />
  3437. menu_additem( menu, &quot;\d[SG522] + P225 + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3438. <br />
  3439. if(flags &amp; ADMIN_CHAT)<br />
  3440. menu_additem( menu, &quot;\w[AUG] \y+ \wUSP \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3441. else<br />
  3442. menu_additem( menu, &quot;\d[AUG] + USP + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3443. <br />
  3444. if(flags &amp; ADMIN_CHAT)<br />
  3445. menu_additem( menu, &quot;\w[FAMAS] \y+ \wFiveSeven \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3446. else<br />
  3447. menu_additem( menu, &quot;\d[FAMAS] + FiveSeven + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3448. <br />
  3449. if(flags &amp; ADMIN_CHAT)<br />
  3450. menu_additem( menu, &quot;\w[GALIL] \y+ \wElite \y+ \wiTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3451. else<br />
  3452. menu_additem( menu, &quot;\d[GALIL] + Elite + iTem Pack \r[Only VIP]&quot;, &quot;&quot;, ADMIN_ACCESS)<br />
  3453. <br />
  3454. <br />
  3455. <br />
  3456. menu_display(id, menu, 0)<br />
  3457. }<br />
  3458. public VIP_handler(id, EXIT, item)<br />
  3459. {<br />
  3460. if (!is_user_alive(id))<br />
  3461. return PLUGIN_HANDLED <br />
  3462. <br />
  3463. if(item == MENU_EXIT)<br />
  3464. {<br />
  3465. menu_destroy(EXIT);<br />
  3466. return PLUGIN_HANDLED;<br />
  3467. }<br />
  3468. <br />
  3469. switch(item)<br />
  3470. {<br />
  3471. case 0:<br />
  3472. {<br />
  3473. if( !is_user_alive( id ) ) <br />
  3474. return PLUGIN_CONTINUE;<br />
  3475. else {<br />
  3476. <br />
  3477. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3478. imaC4[ id ] = true;<br />
  3479. else<br />
  3480. imaC4[ id ] = false;<br />
  3481. <br />
  3482. strip_user_weapons( id );<br />
  3483.        give_item(id, &quot;weapon_m4a1&quot;);<br />
  3484.        cs_set_user_bpammo(id, CSW_M4A1, 90);<br />
  3485.        give_item(id, &quot;weapon_deagle&quot;);<br />
  3486.        cs_set_user_bpammo(id, CSW_DEAGLE, 35);<br />
  3487.        give_item(id,&quot;weapon_knife&quot;);<br />
  3488.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3489.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3490.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3491.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3492.        give_item(id, &quot;item_kevlar&quot;);<br />
  3493.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3494. <br />
  3495. if( imaC4[ id ] ) {<br />
  3496. <br />
  3497. give_item( id, &quot;weapon_c4&quot; );<br />
  3498. cs_set_user_plant( id );<br />
  3499. }<br />
  3500. }<br />
  3501. }<br />
  3502. case 1:<br />
  3503. {<br />
  3504. if( !is_user_alive( id ) ) <br />
  3505. return PLUGIN_CONTINUE;<br />
  3506. else {<br />
  3507. <br />
  3508. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3509. imaC4[ id ] = true;<br />
  3510. else<br />
  3511. imaC4[ id ] = false;<br />
  3512. <br />
  3513. strip_user_weapons( id );<br />
  3514.        give_item(id, &quot;weapon_ak47&quot;);<br />
  3515.        cs_set_user_bpammo(id, CSW_AK47, 90);<br />
  3516.        give_item(id, &quot;weapon_deagle&quot;);<br />
  3517.        cs_set_user_bpammo(id, CSW_DEAGLE, 35);<br />
  3518.        give_item(id,&quot;weapon_knife&quot;);<br />
  3519.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3520.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3521.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3522.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3523.        give_item(id, &quot;item_kevlar&quot;);<br />
  3524.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3525. <br />
  3526. if( imaC4[ id ] ) {<br />
  3527. <br />
  3528. give_item( id, &quot;weapon_c4&quot; );<br />
  3529. cs_set_user_plant( id );<br />
  3530. }<br />
  3531. }<br />
  3532. }<br />
  3533. case 2:<br />
  3534. {<br />
  3535. if( !is_user_alive( id ) ) <br />
  3536. return PLUGIN_CONTINUE;<br />
  3537. else {<br />
  3538. <br />
  3539. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3540. imaC4[ id ] = true;<br />
  3541. else<br />
  3542. imaC4[ id ] = false;<br />
  3543. <br />
  3544. strip_user_weapons( id );<br />
  3545.        give_item(id, &quot;weapon_awp&quot;);<br />
  3546.        cs_set_user_bpammo(id, CSW_AWP, 30);<br />
  3547.        give_item(id, &quot;weapon_deagle&quot;);<br />
  3548.        cs_set_user_bpammo(id, CSW_DEAGLE, 35);<br />
  3549.        give_item(id,&quot;weapon_knife&quot;);<br />
  3550.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3551.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3552.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3553.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3554.        give_item(id, &quot;item_kevlar&quot;);<br />
  3555.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3556. <br />
  3557. if( imaC4[ id ] ) {<br />
  3558. <br />
  3559. give_item( id, &quot;weapon_c4&quot; );<br />
  3560. cs_set_user_plant( id );<br />
  3561. }<br />
  3562. }<br />
  3563. }<br />
  3564. case 3:<br />
  3565. {<br />
  3566. if( !is_user_alive( id ) ) <br />
  3567. return PLUGIN_CONTINUE;<br />
  3568. else {<br />
  3569. <br />
  3570. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3571. imaC4[ id ] = true;<br />
  3572. else<br />
  3573. imaC4[ id ] = false;<br />
  3574. <br />
  3575. strip_user_weapons( id );<br />
  3576.        give_item(id, &quot;weapon_sg552&quot;);<br />
  3577.        cs_set_user_bpammo(id, CSW_SG552, 90);<br />
  3578.        give_item(id, &quot;weapon_p228&quot;);<br />
  3579.        cs_set_user_bpammo(id, CSW_P228, 52);<br />
  3580.        give_item(id,&quot;weapon_knife&quot;);<br />
  3581.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3582.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3583.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3584.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3585.        give_item(id, &quot;item_kevlar&quot;);<br />
  3586.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3587. <br />
  3588. if( imaC4[ id ] ) {<br />
  3589. <br />
  3590. give_item( id, &quot;weapon_c4&quot; );<br />
  3591. cs_set_user_plant( id );<br />
  3592. }<br />
  3593. }<br />
  3594. }<br />
  3595. case 4:<br />
  3596. {<br />
  3597. if( !is_user_alive( id ) ) <br />
  3598. return PLUGIN_CONTINUE;<br />
  3599. else {<br />
  3600. <br />
  3601. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3602. imaC4[ id ] = true;<br />
  3603. else<br />
  3604. imaC4[ id ] = false;<br />
  3605. <br />
  3606. strip_user_weapons( id );<br />
  3607.        give_item(id, &quot;weapon_aug&quot;);<br />
  3608.        cs_set_user_bpammo(id, CSW_AUG, 90);<br />
  3609.        give_item(id, &quot;weapon_usp&quot;);<br />
  3610.        cs_set_user_bpammo(id, CSW_USP, 24);<br />
  3611.        give_item(id,&quot;weapon_knife&quot;);<br />
  3612.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3613.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3614.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3615.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3616.        give_item(id, &quot;item_kevlar&quot;);<br />
  3617.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3618. <br />
  3619. if( imaC4[ id ] ) {<br />
  3620. <br />
  3621. give_item( id, &quot;weapon_c4&quot; );<br />
  3622. cs_set_user_plant( id );<br />
  3623. }<br />
  3624. }<br />
  3625. }<br />
  3626. case 5:<br />
  3627. {<br />
  3628. if( !is_user_alive( id ) ) <br />
  3629. return PLUGIN_CONTINUE;<br />
  3630. else {<br />
  3631. <br />
  3632. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3633. imaC4[ id ] = true;<br />
  3634. else<br />
  3635. imaC4[ id ] = false;<br />
  3636. <br />
  3637. strip_user_weapons( id );<br />
  3638.        give_item(id, &quot;weapon_famas&quot;);<br />
  3639.        cs_set_user_bpammo(id, CSW_FAMAS, 90);<br />
  3640.        give_item(id, &quot;weapon_fiveseven&quot;);<br />
  3641.        cs_set_user_bpammo(id, CSW_FIVESEVEN, 40);<br />
  3642.        give_item(id,&quot;weapon_knife&quot;);<br />
  3643.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3644.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3645.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3646.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3647.        give_item(id, &quot;item_kevlar&quot;);<br />
  3648.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3649. <br />
  3650. if( imaC4[ id ] ) {<br />
  3651. <br />
  3652. give_item( id, &quot;weapon_c4&quot; );<br />
  3653. cs_set_user_plant( id );<br />
  3654. }<br />
  3655. }<br />
  3656. }<br />
  3657. case 6:<br />
  3658. {<br />
  3659. if( !is_user_alive( id ) ) <br />
  3660. return PLUGIN_CONTINUE;<br />
  3661. else {<br />
  3662. <br />
  3663. if( user_has_weapon( id, CSW_C4 ) &amp;&amp; get_user_team( id ) == 1 )<br />
  3664. imaC4[ id ] = true;<br />
  3665. else<br />
  3666. imaC4[ id ] = false;<br />
  3667. <br />
  3668. strip_user_weapons( id );<br />
  3669.        give_item(id, &quot;weapon_galil&quot;);<br />
  3670.        cs_set_user_bpammo(id, CSW_GALIL, 90);<br />
  3671.        give_item(id, &quot;weapon_elite&quot;);<br />
  3672.        cs_set_user_bpammo(id, CSW_ELITE, 40);<br />
  3673.        give_item(id,&quot;weapon_knife&quot;);<br />
  3674.        give_item(id, &quot;weapon_hegrenade&quot;);<br />
  3675.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3676.        give_item(id, &quot;weapon_flashbang&quot;);<br />
  3677.        give_item(id, &quot;weapon_smokegrenade&quot;);<br />
  3678.        give_item(id, &quot;item_kevlar&quot;);<br />
  3679.        give_item(id, &quot;item_assaultsuit&quot;);<br />
  3680. <br />
  3681. if( imaC4[ id ] ) {<br />
  3682. <br />
  3683. give_item( id, &quot;weapon_c4&quot; );<br />
  3684. cs_set_user_plant( id );<br />
  3685. }<br />
  3686. }<br />
  3687. }<br />
  3688. <br />
  3689. <br />
  3690. }<br />
  3691. return PLUGIN_HANDLED;<br />
  3692. }</div>
  3693.  
  3694. ]]></content:encoded>
  3695. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=7">General</category>
  3696. <dc:creator>itsme1</dc:creator>
  3697. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347609</guid>
  3698. </item>
  3699. <item>
  3700. <title>Removing spread in CS:S</title>
  3701. <link>https://forums.alliedmods.net/showthread.php?t=347607&amp;goto=newpost</link>
  3702. <pubDate>Wed, 08 May 2024 19:53:18 GMT</pubDate>
  3703. <description>Hello, as stated in the title. I am trying to remove spread for all weapons on my cs:s server.
  3704. I have seen other cs:s servers do this. So I am...</description>
  3705. <content:encoded><![CDATA[<div>Hello, as stated in the title. I am trying to remove spread for all weapons on my cs:s server.<br />
  3706. <br />
  3707. I have seen other cs:s servers do this. So I am wondering how I can also do this?<br />
  3708. <br />
  3709. I looked around the forums, and found this code and tried it:<br />
  3710. <div style="margin:20px; margin-top:5px">
  3711. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3712. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#pragma semicolon 1<br />
  3713. <br />
  3714. #include &lt;sourcemod&gt;<br />
  3715. #include &lt;sdktools&gt;<br />
  3716. <br />
  3717. #pragma newdecls required<br />
  3718. <br />
  3719. public Plugin myinfo = <br />
  3720. {<br />
  3721. &nbsp; &nbsp; &nbsp; &nbsp; name = &quot;No Spread&quot;,<br />
  3722. &nbsp; &nbsp; &nbsp; &nbsp; author = &quot;godzcsgo&quot;,<br />
  3723. &nbsp; &nbsp; &nbsp; &nbsp; description = &quot;Removes spread from all weapons.&quot;,<br />
  3724. &nbsp; &nbsp; &nbsp; &nbsp; version = &quot;1.0.0&quot;,<br />
  3725. &nbsp; &nbsp; &nbsp; &nbsp; url = &quot;&quot;<br />
  3726. };<br />
  3727. <br />
  3728. public Action OnPlayerRunCmd(int iClient, int &amp;iButtons, int &amp;iImpulse, float fVel[3], float fAngle[3], int &amp;iWeapon, int &amp;iSubType, int &amp;iCmdnNum, int &amp;iTickCount, int &amp;iSeed)<br />
  3729. {<br />
  3730. &nbsp; &nbsp; if (IsPlayerAlive(iClient)) {<br />
  3731. &nbsp; &nbsp; &nbsp; &nbsp; iSeed = 0;<br />
  3732. &nbsp; &nbsp; &nbsp; &nbsp; return Plugin_Changed;<br />
  3733. &nbsp; &nbsp; }<br />
  3734. <br />
  3735. &nbsp; &nbsp; return Plugin_Continue;<br />
  3736. }</code><hr />
  3737. </div>But I am not sure it works? Can anyone confirm this is the right way to do it.<br />
  3738. <br />
  3739. Thanks.<br />
  3740. <br />
  3741. Edit:<br />
  3742. <br />
  3743. Found something about modifying the m_fAccuracyPenalty, I did this but there still seems to be spread.<br />
  3744. <br />
  3745. Updated code:<br />
  3746. <div style="margin:20px; margin-top:5px">
  3747. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3748. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">public void OnPluginStart() {<br />
  3749. &nbsp; &nbsp; for (int client = 1; client &lt;= MaxClients; client++) {<br />
  3750. &nbsp; &nbsp; &nbsp; &nbsp; if (IsClientInGame(client)) {<br />
  3751. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (IsPlayerAlive(client)) {<br />
  3752. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SDKHook(client, SDKHook_PreThink, NoSpread);<br />
  3753. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SDKHook(client, SDKHook_PreThinkPost, NoSpread);<br />
  3754. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SDKHook(client, SDKHook_PostThink, NoSpread);<br />
  3755. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SDKHook(client, SDKHook_PostThinkPost, NoSpread);<br />
  3756. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3757. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3758. &nbsp; &nbsp; }<br />
  3759. }<br />
  3760. <br />
  3761. public Action NoSpread(int client) {<br />
  3762. &nbsp; &nbsp; if (client &lt;= 0 || client &gt; MaxClients || !IsClientInGame(client) || GetClientTeam(client) &lt; 2 || !IsPlayerAlive(client)) {<br />
  3763. &nbsp; &nbsp; &nbsp; &nbsp; return Plugin_Continue;<br />
  3764. &nbsp; &nbsp; }<br />
  3765. <br />
  3766. &nbsp; &nbsp; int buttons = GetClientButtons(client);<br />
  3767. &nbsp; &nbsp; float game_time = GetGameTime();<br />
  3768. <br />
  3769. &nbsp; &nbsp; if (buttons &amp; IN_ATTACK) {<br />
  3770. &nbsp; &nbsp; &nbsp; &nbsp; int active_weapon = GetEntPropEnt(client, Prop_Send, &quot;m_hActiveWeapon&quot;);<br />
  3771. &nbsp; &nbsp; &nbsp; &nbsp; if (!IsValidEdict(active_weapon) || !IsValidEntity(active_weapon) || (active_weapon == -1)) return Plugin_Continue;<br />
  3772. <br />
  3773. &nbsp; &nbsp; &nbsp; &nbsp; if (game_time &lt; GetEntPropFloat(active_weapon, Prop_Send, &quot;m_flNextPrimaryAttack&quot;)) return Plugin_Continue;<br />
  3774. &nbsp; &nbsp; &nbsp; &nbsp; if (game_time &lt; GetEntPropFloat(client, Prop_Send, &quot;m_flNextAttack&quot;)) return Plugin_Continue;<br />
  3775. <br />
  3776. &nbsp; &nbsp; &nbsp; &nbsp; int clip_ammo = GetEntProp(active_weapon, Prop_Send, &quot;m_iClip1&quot;);<br />
  3777. &nbsp; &nbsp; &nbsp; &nbsp; if (!clip_ammo) return Plugin_Continue;<br />
  3778. <br />
  3779. &nbsp; &nbsp; &nbsp; &nbsp; float spread = 0.0;<br />
  3780. &nbsp; &nbsp; &nbsp; &nbsp; SetEntPropFloat(active_weapon, Prop_Send, &quot;m_fAccuracyPenalty&quot;, spread);<br />
  3781. <br />
  3782. &nbsp; &nbsp; &nbsp; &nbsp; float new_spread = GetEntPropFloat(active_weapon, Prop_Send, &quot;m_fAccuracyPenalty&quot;);<br />
  3783. &nbsp; &nbsp; &nbsp; &nbsp; PrintToServer(&quot;Spread: %f&quot;, new_spread);<br />
  3784. <br />
  3785. &nbsp; &nbsp; &nbsp; &nbsp; return Plugin_Changed;<br />
  3786. &nbsp; &nbsp; }<br />
  3787. <br />
  3788. &nbsp; &nbsp; return Plugin_Continue;<br />
  3789. }</code><hr />
  3790. </div></div>
  3791.  
  3792. ]]></content:encoded>
  3793. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  3794. <dc:creator>godzcsgo</dc:creator>
  3795. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347607</guid>
  3796. </item>
  3797. <item>
  3798. <title>Server-side custom skins on cs2 with metamod?</title>
  3799. <link>https://forums.alliedmods.net/showthread.php?t=347606&amp;goto=newpost</link>
  3800. <pubDate>Wed, 08 May 2024 18:18:42 GMT</pubDate>
  3801. <description>hi.
  3802. does anyone know if its possible to have a server side custom skin on cs2 (not a full skinchanger, just to be able to load some custom skin as...</description>
  3803. <content:encoded><![CDATA[<div>hi.<br />
  3804. does anyone know if its possible to have a server side custom skin on cs2 (not a full skinchanger, just to be able to load some custom skin as default, for instance). What direction could one go? Has anyone tried w Metasource plugins or CounterStrikeSharp plugins? I've seen somethin called cs2-weapon-skin but i wonder if there is more out there.<br />
  3805. <br />
  3806. Just interested in testing some custom skins we made with blender on a ws server for me and my friends.<br />
  3807. <br />
  3808. im really sorry for the noob questions, and thank you in advance.</div>
  3809.  
  3810. ]]></content:encoded>
  3811. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=76">Metamod:Source Plugins</category>
  3812. <dc:creator>C19H20FNO3</dc:creator>
  3813. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347606</guid>
  3814. </item>
  3815. <item>
  3816. <title><![CDATA[[Solved] Colors not working properly in CS:S]]></title>
  3817. <link>https://forums.alliedmods.net/showthread.php?t=347604&amp;goto=newpost</link>
  3818. <pubDate>Wed, 08 May 2024 17:52:46 GMT</pubDate>
  3819. <description>I am trying to modify the basechat script, and change the colors. I found a couple of threads on here listing the available color hex codes.
  3820. Code...</description>
  3821. <content:encoded><![CDATA[<div>I am trying to modify the basechat script, and change the colors. I found a couple of threads on here listing the available color hex codes.<br />
  3822. <br />
  3823. Code I have changed:<br />
  3824. <div style="margin:20px; margin-top:5px">
  3825. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3826. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">void SendChatToAdmins(int from, const char[] message)<br />
  3827. {<br />
  3828. &nbsp; &nbsp; &nbsp; &nbsp; char szTag[32];<br />
  3829. &nbsp; &nbsp; &nbsp; &nbsp; CS_GetClientClanTag(from, szTag, sizeof(szTag));<br />
  3830. <br />
  3831. &nbsp; &nbsp; &nbsp; &nbsp; int fromAdmin = CheckCommandAccess(from, &quot;sm_chat&quot;, ADMFLAG_CHAT);<br />
  3832. &nbsp; &nbsp; &nbsp; &nbsp; for (int i = 1; i &lt;= MaxClients; i++)<br />
  3833. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3834. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (IsClientInGame(i) &amp;&amp; (from == i || CheckCommandAccess(i, &quot;sm_chat&quot;, ADMFLAG_CHAT)))<br />
  3835. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3836. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (g_GameEngine == Engine_CSGO)<br />
  3837. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PrintToChat(i, &quot;\x07[STAFF ONLY] %s | %N : %s &quot;, szTag, from, message);<br />
  3838. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  3839. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PrintToChat(i, &quot;\x07[STAFF ONLY] %s | %N : %s &quot;, szTag, from, message);<br />
  3840. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3841. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3842. }</code><hr />
  3843. </div>But when using this in-game, the result is:<br />
  3844. It's cutting off the &quot;STAFF&quot; part, aswell as the color is dark blue and not red as it should be.<br />
  3845. <br />
  3846. <div style="margin:20px; margin-top:5px">
  3847. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3848. <hr /><code style="margin:0px" dir="ltr" style="text-align:left"> ONLY] [Owner] | painless : testing</code><hr />
  3849. </div>I am new to scripting, and just asking for some guidance as to why this is not working properly.<br />
  3850. <br />
  3851. Regards.<br />
  3852. <br />
  3853. Solution:<br />
  3854. <br />
  3855. Included multicolors, and used CPrintToChat and {darkred}</div>
  3856.  
  3857. ]]></content:encoded>
  3858. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  3859. <dc:creator>godzcsgo</dc:creator>
  3860. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347604</guid>
  3861. </item>
  3862. <item>
  3863. <title>Plugin Random Player</title>
  3864. <link>https://forums.alliedmods.net/showthread.php?t=347603&amp;goto=newpost</link>
  3865. <pubDate>Wed, 08 May 2024 16:49:54 GMT</pubDate>
  3866. <description>Hellos
  3867. I would also like a radom player plugin, that is, for tero to choose a radom player and give 200 hp + 100 ap and for ct to give a radom...</description>
  3868. <content:encoded><![CDATA[<div>Hellos<br />
  3869. <br />
  3870. I would also like a radom player plugin, that is, for tero to choose a radom player and give 200 hp + 100 ap and for ct to give a radom player 250 hp + 150 ap, yes I would like a radom player (tero and ct) to appear after 60 sec.</div>
  3871.  
  3872. ]]></content:encoded>
  3873. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  3874. <dc:creator>MrPower</dc:creator>
  3875. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347603</guid>
  3876. </item>
  3877. <item>
  3878. <title><![CDATA[[ANY?] Advanced DevZones AntiCamp]]></title>
  3879. <link>https://forums.alliedmods.net/showthread.php?t=347602&amp;goto=newpost</link>
  3880. <pubDate>Wed, 08 May 2024 11:15:07 GMT</pubDate>
  3881. <description>_Advanced DevZones AntiCamp_ (v0.2 - 08.05.24)
  3882. _DESCRIPTION_
  3883. This plugin is the advanced version of already published Dev Zones Anticamp...</description>
  3884. <content:encoded><![CDATA[<div><div align="center"><u><font size="5">Advanced DevZones AntiCamp</font></u><font size="5"> (v0.2 - 08.05.24)</font></div><br />
  3885. <font size="5"><u>DESCRIPTION</u></font><br />
  3886. <br />
  3887. This plugin is the advanced version of already published <a href="https://forums.alliedmods.net/showthread.php?t=224839" target="_blank" rel="noopener">Dev Zones Anticamp</a> plugin.<br />
  3888. Players are killed if they do not leave an area that their team must leave within a set number of seconds.<br />
  3889. <br />
  3890. <font color="Red"><font size="3">You need DevZones to use this plugin !</font></font><br />
  3891. <a href="https://forums.alliedmods.net/showthread.php?t=224839" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=224839</a><br />
  3892. <br />
  3893. <font size="5"><u>BUGS</u></font><br />
  3894. <br />
  3895. None. yet<br />
  3896. <br />
  3897. <br />
  3898. <font size="5"><u>USAGE</u></font><br />
  3899. Put <u><b>anticamp</b></u> in front of the zone name so plugin recognizes the zone.<br />
  3900. <ul><li>If you want the zone to affect only the CT team, add<b><u> :ct</u></b> to the end of the zone name.</li>
  3901. <li>If you want the zone to affect only the T team, add <u><b>:t</b></u> to the end of the zone name.</li>
  3902. <li>If you want the zone to affect all teams, either add <u><b>:all</b></u> to the end of the zone name or leave it blank.</li>
  3903. </ul><a href="https://youtu.be/C-bY5ZdGFuk?si=Y3FTzju3Wl_pOgME" target="_blank" rel="nofollow noopener">https://youtu.be/C-bY5ZdGFuk?si=Y3FTzju3Wl_pOgME</a><br />
  3904. <br />
  3905. <font size="5"><u>CHANGELOG</u></font><br />
  3906. <div style="margin:20px; margin-top:5px">
  3907. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3908. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">.</code><hr />
  3909. </div><br />
  3910. <font size="5"><u>CVARS</u></font><br />
  3911. <div style="margin:20px; margin-top:5px">
  3912. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3913. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">// 1-&gt;Plugin enabled, 0-&gt;Plugin disabled<br />
  3914. // -<br />
  3915. // Default: &quot;1&quot;<br />
  3916. // Minimum: &quot;0.000000&quot;<br />
  3917. // Maximum: &quot;1.000000&quot;<br />
  3918. sm_vxanticamp_enable &quot;1&quot;<br />
  3919. <br />
  3920. // Time before camp time gets reset after leaving a zone<br />
  3921. // -<br />
  3922. // Default: &quot;15&quot;<br />
  3923. sm_vxanticamp_lefttime &quot;15&quot;<br />
  3924. <br />
  3925. // Allowed camp time<br />
  3926. // -<br />
  3927. // Default: &quot;30&quot;<br />
  3928. // Minimum: &quot;10.000000&quot;<br />
  3929. sm_vxanticamp_time &quot;30&quot;</code><hr />
  3930. </div><br />
  3931. <font size="5"><u>PHRASES</u></font><br />
  3932. <div style="margin:20px; margin-top:5px">
  3933. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  3934. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;Phrases&quot;<br />
  3935. {<br />
  3936. &nbsp; &nbsp; &nbsp; &nbsp; &quot;inAntiCampZone&quot;<br />
  3937. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3938. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;#format&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;{1:d}&quot;<br />
  3939. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;en&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;!!!You Are Within AntiCamp Zone!!!\nYou have {1} seconds to leave the zone&quot;<br />
  3940. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;tr&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;!!!AntiCamp Alan&#305;ndas&#305;n!!!\nAlan&#305; terketmek için kalan süren: {1}&quot;<br />
  3941. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3942. &nbsp; &nbsp; &nbsp; &nbsp; &quot;Smote&quot;<br />
  3943. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3944. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;en&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;You got smote for not leaving the AntiCamp zone!&quot;<br />
  3945. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;tr&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;AntiCamp alan&#305;n&#305; terk etmedi&#287;in için çarp&#305;ld&#305;n!&quot;<br />
  3946. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3947. &nbsp; &nbsp; &nbsp; &nbsp; &quot;Smotetext&quot;<br />
  3948. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3949. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;#format&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;{1:s}&quot;<br />
  3950. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;tr&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;{green}{1} {default}anticamp alan&#305;ndan ayr&#305;lmad&#305; için çarp&#305;ld&#305;!&quot;<br />
  3951. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;en&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;{green}{1} {default}got smote for not leaving the AntiCamp zone!&quot;<br />
  3952. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3953. &nbsp; &nbsp; &nbsp; &nbsp; &quot;LeftZone&quot;<br />
  3954. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  3955. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;#format&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;{1:0.0f}&quot;<br />
  3956. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;tr&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;AntiCamp Alan&#305;ndan Ayr&#305;ld&#305;n\nCamp Süresinin s&#305;f&#305;rlanmas&#305; için {1} saniye beklemelisin.&quot;<br />
  3957. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;en&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;You Left The Zone\nYou have to wait {1} seconds before your Camp time gets reset.&quot;<br />
  3958. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  3959. }</code><hr />
  3960. </div></div>
  3961.  
  3962.  
  3963. <br />
  3964. <div style="padding:6px">
  3965.  
  3966.  
  3967.  
  3968.  
  3969. <fieldset class="fieldset">
  3970. <legend>Attached Files</legend>
  3971. <table cellpadding="0" cellspacing="3" border="0">
  3972. <tr>
  3973. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  3974. <td>
  3975. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204325"><strong>Get Plugin</strong></a> or
  3976. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204325&amp;d=1715166526">Get Source</a> (vx_anticamp.sp - 7.6 KB)
  3977. </td>
  3978. </tr><tr>
  3979. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  3980. <td>
  3981. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204326&amp;d=1715166526">vx_anticamp.smx</a> (17.7 KB)
  3982. </td>
  3983. </tr><tr>
  3984. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  3985. <td>
  3986. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204327&amp;d=1715166567">vx_anticamp.phrases.txt</a> (812 Bytes)
  3987. </td>
  3988. </tr>
  3989. </table>
  3990. </fieldset>
  3991.  
  3992. </div>
  3993. ]]></content:encoded>
  3994. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  3995. <dc:creator>The SoupSpy</dc:creator>
  3996. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347602</guid>
  3997. </item>
  3998. <item>
  3999. <title>Server crashes amx_giveexp command on War3ft</title>
  4000. <link>https://forums.alliedmods.net/showthread.php?t=347601&amp;goto=newpost</link>
  4001. <pubDate>Wed, 08 May 2024 09:15:57 GMT</pubDate>
  4002. <description><![CDATA[Can it be fixed when I use the admin command "amx_givexp" to give someone EXP and the server crashes?
  4003. admin.inl
  4004. PHP:
  4005. ---------
  4006. /*
  4007. * Admin...]]></description>
  4008. <content:encoded><![CDATA[<div>Can it be fixed when I use the admin command &quot;amx_givexp&quot; to give someone EXP and the server crashes?<br />
  4009. <br />
  4010. admin.inl<br />
  4011. <div style="margin:20px; margin-top:5px">
  4012. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  4013. <div class="alt2">
  4014. <hr />
  4015. <code style="white-space:nowrap">
  4016. <div dir="ltr" style="text-align:left;">
  4017. <!-- php buffer start --><code><span style="color: #000000">
  4018. <span style="color: #0000BB"></span><span style="color: #FF8000">/*<br />*&nbsp;&nbsp;&nbsp;&nbsp;Admin&nbsp;Functions<br />*/<br /><br />//&nbsp;Advanced&nbsp;Swear&nbsp;Filter&nbsp;and&nbsp;Punishment&nbsp;plugin&nbsp;uses&nbsp;this&nbsp;function<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">ADMIN_ServerHandler</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;WC3&nbsp;is&nbsp;loaded<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">WC3_Check</span><span style="color: #007700">()&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szArg2</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">id&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg1&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg2&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"amx_takexp"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">*=&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">p_data</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">P_XP</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"changexp"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">p_data</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">P_XP</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_SetXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;This&nbsp;will&nbsp;handle&nbsp;every&nbsp;admin&nbsp;client&nbsp;command<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">ADMIN_Handler</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;WC3&nbsp;is&nbsp;loaded<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!</span><span style="color: #0000BB">WC3_Check</span><span style="color: #007700">()&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_disable"</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_enable"</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;WC3&nbsp;has&nbsp;been&nbsp;disabled&nbsp;by&nbsp;an&nbsp;admin&nbsp;of&nbsp;this&nbsp;server"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;the&nbsp;user&nbsp;is&nbsp;an&nbsp;admin<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!(</span><span style="color: #0000BB">get_user_flags</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">XP_GetAdminFlag</span><span style="color: #007700">()))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_console</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%L"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"YOU_HAVE_NO_ACCESS"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;OK&nbsp;we're&nbsp;free&nbsp;to&nbsp;go!!!<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szArg2</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_argv</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Give&nbsp;the&nbsp;user&nbsp;XP<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_givexp"</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"amx_givexp"</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">read_argc</span><span style="color: #007700">()&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">3&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Format:&nbsp;%s&nbsp;&lt;name|#id|auth|@TEAM|@ALL&gt;&nbsp;&lt;xp&gt;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_GiveXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg2&nbsp;</span><span style="color: #007700">)&nbsp;);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Set&nbsp;the&nbsp;level&nbsp;of&nbsp;a&nbsp;user's&nbsp;race<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_setlevel"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">read_argc</span><span style="color: #007700">()&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">3&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Format:&nbsp;%s&nbsp;&lt;name|#id|auth|@TEAM|@ALL&gt;&nbsp;&lt;level&gt;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg2&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">11&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Error,&nbsp;level&nbsp;must&nbsp;be&nbsp;in&nbsp;between&nbsp;(or&nbsp;equal&nbsp;to)&nbsp;0&nbsp;and&nbsp;10"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_SetLevel</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Give&nbsp;the&nbsp;user&nbsp;an&nbsp;item<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_giveitem"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">read_argc</span><span style="color: #007700">()&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">3&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Format:&nbsp;%s&nbsp;&lt;name|#id|auth|@TEAM|@ALL&gt;&nbsp;&lt;item&nbsp;id&nbsp;or&nbsp;name&gt;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iItemID</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">is_str_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg2&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArg2&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">17&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Error,&nbsp;item&nbsp;id&nbsp;must&nbsp;be&nbsp;in&nbsp;between&nbsp;(or&nbsp;equal&nbsp;to)&nbsp;0&nbsp;and&nbsp;17"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_GiveItem</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArg1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Enable&nbsp;the&nbsp;plugin<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_enable"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Plugin&nbsp;was&nbsp;already&nbsp;enabled,&nbsp;why&nbsp;re-enable?<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">warcraft3&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;The&nbsp;plugin&nbsp;was&nbsp;already&nbsp;enabled!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Enable&nbsp;the&nbsp;plugin!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">warcraft3&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Plugin&nbsp;enabled!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Disable&nbsp;the&nbsp;plugin<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"wc3_disable"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Plugin&nbsp;was&nbsp;already&nbsp;enabled,&nbsp;why&nbsp;re-enable?<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">warcraft3&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;The&nbsp;plugin&nbsp;was&nbsp;already&nbsp;disabled!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Disable&nbsp;the&nbsp;plugin!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;What&nbsp;needs&nbsp;to&nbsp;happen&nbsp;here?<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;all&nbsp;skills&nbsp;set&nbsp;to&nbsp;0&nbsp;for&nbsp;each&nbsp;player<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;call&nbsp;SHARED_SetGravity<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;call&nbsp;SHARED_SetInvis<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;call&nbsp;SHARED_SetSpeed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;stop&nbsp;tasks&nbsp;-&nbsp;like&nbsp;money&nbsp;task&nbsp;for&nbsp;dod<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;ULT_ClearIcons(&nbsp;id&nbsp;)<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">warcraft3&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Plugin&nbsp;disabled!"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szArgs</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">read_args</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szArgs</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">127&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Log</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCmd</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szArgs&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Actually&nbsp;set&nbsp;the&nbsp;user's&nbsp;XP<br /></span><span style="color: #0000BB">ADMIN_SetXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">p_data</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">P_XP</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">iXP</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">XP_Check</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_task</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">0.3</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"WC3_GetUserInput"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TASK_GETINPUT&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Set&nbsp;the&nbsp;user's&nbsp;level<br /></span><span style="color: #0000BB">ADMIN_SetLevel</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">)<br />{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">XP_GetByLevel</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Do&nbsp;this&nbsp;while&nbsp;we&nbsp;continue&nbsp;having&nbsp;a&nbsp;target!<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">while&nbsp;(&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">FindTarget</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">)&nbsp;)&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_SetXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_chat</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;The&nbsp;admin&nbsp;has&nbsp;set&nbsp;your&nbsp;race's&nbsp;level&nbsp;to&nbsp;%d"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iLevel&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;No&nbsp;target&nbsp;found&nbsp;:/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_NoTargetFound</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">==&nbsp;-</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">)&nbsp;);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Give&nbsp;the&nbsp;user&nbsp;some&nbsp;XP<br /></span><span style="color: #0000BB">ADMIN_GiveXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Do&nbsp;this&nbsp;while&nbsp;we&nbsp;continue&nbsp;having&nbsp;a&nbsp;target!<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">while&nbsp;(&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">FindTarget</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">)&nbsp;)&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_SetXP</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">p_data</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">P_XP</span><span style="color: #007700">&#93;&nbsp;+&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_chat</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;%L"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"THE_ADMIN_GAVE_YOU_EXPERIENCE"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iXP&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;No&nbsp;target&nbsp;found&nbsp;:/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_NoTargetFound</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">==&nbsp;-</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">)&nbsp;);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Give&nbsp;the&nbsp;user&nbsp;an&nbsp;item<br /></span><span style="color: #0000BB">ADMIN_GiveItem</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szItemName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">LANG_GetItemName&nbsp;</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iItemID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szItemName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Do&nbsp;this&nbsp;while&nbsp;we&nbsp;continue&nbsp;having&nbsp;a&nbsp;target!<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">while&nbsp;(&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">FindTarget</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">)&nbsp;)&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_chat</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;The&nbsp;admin&nbsp;has&nbsp;given&nbsp;you&nbsp;the&nbsp;item&nbsp;'%s'"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szItemName&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ITEM_GiveItem</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iItemID&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;No&nbsp;target&nbsp;found&nbsp;:/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">bTargetFound&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_NoTargetFound</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;(&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">==&nbsp;-</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">)&nbsp;);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Find&nbsp;a&nbsp;user&nbsp;based&nbsp;on&nbsp;szTarget<br /></span><span style="color: #0000BB">FindTarget</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">iLastID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;&#93;&nbsp;)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Then&nbsp;we&nbsp;want&nbsp;to&nbsp;basically&nbsp;return&nbsp;everyone!<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">equali</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"@ALL"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">iTotalPlayers</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_players</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iTotalPlayers&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Loop&nbsp;through&nbsp;and&nbsp;search&nbsp;for&nbsp;the&nbsp;next&nbsp;target<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;(&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">iTotalPlayers</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Target&nbsp;found,&nbsp;so&nbsp;lets&nbsp;return&nbsp;the&nbsp;next&nbsp;one&nbsp;(if&nbsp;possible)!!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #0000BB">iLastID&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">iTotalPlayers&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">+</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;No&nbsp;target&nbsp;was&nbsp;found&nbsp;so&nbsp;return&nbsp;the&nbsp;first&nbsp;one<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iTotalPlayers&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">iLastID&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Find&nbsp;a&nbsp;target&nbsp;based&nbsp;on&nbsp;the&nbsp;team<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #DD0000">'@'&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">=&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Counter-Strike&nbsp;and&nbsp;Condition&nbsp;Zero&nbsp;Checks<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_CSTRIKE&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_CZERO&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equali</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"@T"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">TEAM_T</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equali</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"@CT"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">TEAM_CT</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Day&nbsp;of&nbsp;Defeat&nbsp;check<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_DOD&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equali</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"@ALLIES"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ALLIES</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">equali</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"@AXIS"&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">AXIS</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;a&nbsp;team&nbsp;was&nbsp;found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">!=&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">iTotalPlayers</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iFirstPlayer&nbsp;</span><span style="color: #007700">=&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bSaveNext&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_players</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iTotalPlayers&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Loop&nbsp;through&nbsp;and&nbsp;search&nbsp;for&nbsp;the&nbsp;next&nbsp;target<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">for&nbsp;(&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">iTotalPlayers</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;they're&nbsp;on&nbsp;the&nbsp;same&nbsp;team<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iTeam&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">get_user_team</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&nbsp;)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;This&nbsp;is&nbsp;the&nbsp;next&nbsp;available&nbsp;player<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">bSaveNext&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;this&nbsp;is&nbsp;the&nbsp;previous&nbsp;target,&nbsp;we&nbsp;need&nbsp;to&nbsp;get&nbsp;the&nbsp;next&nbsp;one!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #0000BB">iLastID&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">bSaveNext&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Save&nbsp;the&nbsp;FIRST&nbsp;player&nbsp;on&nbsp;this&nbsp;team<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iFirstPlayer&nbsp;</span><span style="color: #007700">==&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iFirstPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">i</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;No&nbsp;target&nbsp;was&nbsp;found&nbsp;so&nbsp;return&nbsp;the&nbsp;first&nbsp;one&nbsp;that&nbsp;matches&nbsp;the&nbsp;team&nbsp;(the&nbsp;target&nbsp;could&nbsp;still&nbsp;be&nbsp;-1&nbsp;if&nbsp;iFirstPlayer&nbsp;wasn't&nbsp;found)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iLastID&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">iFirstPlayer</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Otherwise&nbsp;search&nbsp;for&nbsp;a&nbsp;player<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Initial&nbsp;search&nbsp;is&nbsp;by&nbsp;player&nbsp;name<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">find_player</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"a"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;not&nbsp;found,&nbsp;search&nbsp;by&nbsp;partial&nbsp;match<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">find_player</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"bl"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Then&nbsp;Multiple&nbsp;clients&nbsp;found<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">find_player</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"blj"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;-</span><span style="color: #0000BB">2</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;not&nbsp;found,&nbsp;search&nbsp;by&nbsp;auth&nbsp;id<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">find_player</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"c"&nbsp;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;not&nbsp;found,&nbsp;search&nbsp;by&nbsp;user&nbsp;id<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;!</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Make&nbsp;sure&nbsp;we&nbsp;have&nbsp;a&nbsp;user&nbsp;id<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #DD0000">'#'&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">find_player</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"k"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">str_to_num</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Yay&nbsp;we&nbsp;have&nbsp;a&nbsp;match!!!<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">iLastID&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #0000BB">iPlayer&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">iPlayer</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">iTarget</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">ADMIN_NoTargetFound</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">bMulti&nbsp;</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Multiple&nbsp;clients&nbsp;found<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">bMulti&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;There&nbsp;is&nbsp;more&nbsp;than&nbsp;one&nbsp;client&nbsp;matching&nbsp;'%s'"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Unable&nbsp;to&nbsp;find&nbsp;target(s)&nbsp;'%s'"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTarget&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;List&nbsp;what&nbsp;the&nbsp;available&nbsp;targets&nbsp;are<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_CSTRIKE&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_CZERO&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Available&nbsp;targets&nbsp;are:&nbsp;@ALL,&nbsp;@CT,&nbsp;@T&nbsp;or&nbsp;the&nbsp;player's&nbsp;name/auth/#id"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">g_MOD&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">GAME_DOD&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Available&nbsp;targets&nbsp;are:&nbsp;@ALL,&nbsp;@ALLIES,&nbsp;@AXIS&nbsp;or&nbsp;the&nbsp;player's&nbsp;name/auth/#id"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_MODclient&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Function&nbsp;will&nbsp;print&nbsp;to&nbsp;server&nbsp;console&nbsp;or&nbsp;client&nbsp;console&nbsp;based&nbsp;on&nbsp;the&nbsp;ID&nbsp;number<br /></span><span style="color: #0000BB">ADMIN_Print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">text</span><span style="color: #007700">&#91;&#93;,&nbsp;{</span><span style="color: #0000BB">Float</span><span style="color: #007700">,</span><span style="color: #0000BB">_</span><span style="color: #007700">}:...)<br />{&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;format&nbsp;the&nbsp;text&nbsp;as&nbsp;needed<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">szFormattedText</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">format_args</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szFormattedText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">127</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">server_print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szFormattedText&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_console</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szFormattedText&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Gets&nbsp;rid&nbsp;of&nbsp;compiler&nbsp;warning<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">text</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;&nbsp;<br /><br /></span><span style="color: #FF8000">//&nbsp;Adapted&nbsp;from&nbsp;war3x's&nbsp;log&nbsp;file&nbsp;(I&nbsp;was&nbsp;lazy)<br /></span><span style="color: #0000BB">ADMIN_Log</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">&#91;&#93;,&nbsp;{</span><span style="color: #0000BB">Float</span><span style="color: #007700">,</span><span style="color: #0000BB">_</span><span style="color: #007700">}:...&nbsp;)<br />{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_configsdir</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">127&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">127</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s/war3ft/wc3_admin.log"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szLogFile&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szFormattedText</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">format_args</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szFormattedText</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">127</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;!</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile&nbsp;</span><span style="color: #007700">)&nbsp;)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_file</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"WC3&nbsp;:&nbsp;Frozen&nbsp;Throne"</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_file</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Logging&nbsp;of&nbsp;admin&nbsp;commands"</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_file</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"&nbsp;"</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szAdminName</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szSteamID</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">13</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szAdminName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_authid</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szSteamID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_team</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">12&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">copy</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szAdminName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"SERVER"&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">copy</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szSteamID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"SERVER"&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szCurrentTime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_time</span><span style="color: #007700">(&nbsp;</span><span style="color: #DD0000">"L&nbsp;%m/%d/%Y&nbsp;%H:%M:%:S"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCurrentTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">31&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szLogEntry</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">256</span><span style="color: #007700">&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogEntry</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"%s&nbsp;Cmd:&nbsp;^"</span><span style="color: #007700">%</span><span style="color: #0000BB">s</span><span style="color: #007700">&lt;%</span><span style="color: #0000BB">d</span><span style="color: #007700">&gt;&lt;%</span><span style="color: #0000BB">s</span><span style="color: #007700">&gt;&lt;%</span><span style="color: #0000BB">s</span><span style="color: #007700">&gt;^</span><span style="color: #DD0000">"&nbsp;'%s&nbsp;%s'"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCurrentTime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szAdminName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_user_userid</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">szSteamID</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szTeam</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szFormattedText&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_file</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szLogFile</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szLogEntry</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Gets&nbsp;rid&nbsp;of&nbsp;compiler&nbsp;warning<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(&nbsp;</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">0</span><span style="color: #007700">&#93;&nbsp;==&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;
  4019. <br /></span><span style="color: #0000BB"></span>
  4020. </span>
  4021. </code><!-- php buffer end -->
  4022. </div>
  4023. </code>
  4024. <hr />
  4025. </div>
  4026. </div></div>
  4027.  
  4028.  
  4029. <br />
  4030. <div style="padding:6px">
  4031.  
  4032.  
  4033.  
  4034.  
  4035. <fieldset class="fieldset">
  4036. <legend>Attached Files</legend>
  4037. <table cellpadding="0" cellspacing="3" border="0">
  4038. <tr>
  4039. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4040. <td>
  4041. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204324"><strong>Get Plugin</strong></a> or
  4042. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204324&amp;d=1715159632">Get Source</a> (war3ft.sma - 20.4 KB)
  4043. </td>
  4044. </tr>
  4045. </table>
  4046. </fieldset>
  4047.  
  4048. </div>
  4049. ]]></content:encoded>
  4050. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  4051. <dc:creator>.:cs.stambeto:.</dc:creator>
  4052. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347601</guid>
  4053. </item>
  4054. <item>
  4055. <title>sb_takecontrol without cheats</title>
  4056. <link>https://forums.alliedmods.net/showthread.php?t=347600&amp;goto=newpost</link>
  4057. <pubDate>Wed, 08 May 2024 08:55:24 GMT</pubDate>
  4058. <description><![CDATA[Allows use sb_takecontrol command without sv_cheats 1. Only L4D2 Support.
  4059. code:  
  4060. #include <sourcemod>
  4061. #define PLUGIN_VERSION  "0.0.1"
  4062. public...]]></description>
  4063. <content:encoded><![CDATA[<div>Allows use sb_takecontrol command without sv_cheats 1. Only L4D2 Support.<br />
  4064. <br />
  4065. code: <br />
  4066. #include &lt;sourcemod&gt;<br />
  4067. #define PLUGIN_VERSION  &quot;0.0.1&quot;<br />
  4068. <br />
  4069. public OnPluginStart(){<br />
  4070. int flags=GetCommandFlags(&quot;sb_takecontrol&quot;);<br />
  4071. SetCommandFlags(&quot;sb_takecontrol&quot;, flags &amp; ~FCVAR_CHEAT);<br />
  4072. }</div>
  4073.  
  4074.  
  4075. <br />
  4076. <div style="padding:6px">
  4077.  
  4078.  
  4079.  
  4080.  
  4081. <fieldset class="fieldset">
  4082. <legend>Attached Files</legend>
  4083. <table cellpadding="0" cellspacing="3" border="0">
  4084. <tr>
  4085. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4086. <td>
  4087. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204322"><strong>Get Plugin</strong></a> or
  4088. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204322&amp;d=1715158415">Get Source</a> (sb_tk.sp - 189 Bytes)
  4089. </td>
  4090. </tr><tr>
  4091. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4092. <td>
  4093. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204323&amp;d=1715158415">sb_tk.smx</a> (3.5 KB)
  4094. </td>
  4095. </tr>
  4096. </table>
  4097. </fieldset>
  4098.  
  4099. </div>
  4100. ]]></content:encoded>
  4101. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  4102. <dc:creator>unskillx</dc:creator>
  4103. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347600</guid>
  4104. </item>
  4105. <item>
  4106. <title>linux x64</title>
  4107. <link>https://forums.alliedmods.net/showthread.php?t=347599&amp;goto=newpost</link>
  4108. <pubDate>Tue, 07 May 2024 21:13:57 GMT</pubDate>
  4109. <description>Need people to test this and say whether it works or not.
  4110. You need to put the gamedata in gamedata/custom or it will keep getting auto-updated to...</description>
  4111. <content:encoded><![CDATA[<div>Need people to test this and say whether it works or not.<br />
  4112. <br />
  4113. You need to put the gamedata in gamedata/custom or it will keep getting auto-updated to remove the linux64 entry, and then remove it later if it ever gets updated.</div>
  4114.  
  4115.  
  4116. <br />
  4117. <div style="padding:6px">
  4118.  
  4119.  
  4120.  
  4121.  
  4122. <fieldset class="fieldset">
  4123. <legend>Attached Files</legend>
  4124. <table cellpadding="0" cellspacing="3" border="0">
  4125. <tr>
  4126. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/so.gif" alt="File Type: so" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4127. <td>
  4128. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204315&amp;d=1715116192">tf2items.ext.2.tf2.so</a> (816.6 KB)
  4129. </td>
  4130. </tr><tr>
  4131. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4132. <td>
  4133. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204316&amp;d=1715116307">tf2.items.txt</a> (163 Bytes)
  4134. </td>
  4135. </tr><tr>
  4136. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/gz.gif" alt="File Type: gz" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4137. <td>
  4138. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204317&amp;d=1715116368">source.tar.gz</a> (170.0 KB)
  4139. </td>
  4140. </tr>
  4141. </table>
  4142. </fieldset>
  4143.  
  4144. </div>
  4145. ]]></content:encoded>
  4146. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=146">TF2Items</category>
  4147. <dc:creator>bottiger</dc:creator>
  4148. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347599</guid>
  4149. </item>
  4150. <item>
  4151. <title>Link Togel Asli Terpercaya Bandar Togel Terbesar di ASIA MAGNUMTOGEL</title>
  4152. <link>https://forums.alliedmods.net/showthread.php?t=347583&amp;goto=newpost</link>
  4153. <pubDate>Tue, 07 May 2024 06:15:57 GMT</pubDate>
  4154. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  4155. ATAU
  4156. KETIK GOOGLE >> MAGNUMTOGEL.COM
  4157. Keyword Terkait :
  4158. magumtogel
  4159. magnumtoto...]]></description>
  4160. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  4161. ATAU<br />
  4162. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  4163. <br />
  4164. Keyword Terkait :<br />
  4165. magumtogel<br />
  4166. magnumtoto<br />
  4167. magnumtogel88<br />
  4168. admin magnumtogel<br />
  4169. link alternatif magnumtogel<br />
  4170. link resmi magnumtogel<br />
  4171. link gacor magnumtogel<br />
  4172. cs admin magnumtogel<br />
  4173. cs terbaik aktif 24 jam magnumtogel<br />
  4174. rtp magnumtogel<br />
  4175. bocoran magnumtogel<br />
  4176. magnumtogel anti nawala<br />
  4177. Apk magnumtogel<br />
  4178. Apk anti nawala<br />
  4179. Freebet 30k<br />
  4180. Freebet 20k<br />
  4181. Freebet slot<br />
  4182. Apk magnumtogel toto<br />
  4183. Link apk magnumtogel<br />
  4184. Magnumtogel live<br />
  4185. Prediksi magnumtogel<br />
  4186. Prediksi magnumtoto<br />
  4187. Prediksi master togel magnumtogel<br />
  4188. Prediksi togel harian<br />
  4189. Livedraw magnumtogel<br />
  4190. Livedraw togel hk</div>
  4191.  
  4192. ]]></content:encoded>
  4193. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4194. <dc:creator>LebahSange</dc:creator>
  4195. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347583</guid>
  4196. </item>
  4197. <item>
  4198. <title><![CDATA[[L4D/L4D2]FragsChecker]]></title>
  4199. <link>https://forums.alliedmods.net/showthread.php?t=347582&amp;goto=newpost</link>
  4200. <pubDate>Tue, 07 May 2024 05:52:39 GMT</pubDate>
  4201. <description>Description:
  4202. I will short discuss how this plugin works.
  4203. This plugin checks players frags, kills for l4d is (Boomer,Smoker,Hunter), for l4d2...</description>
  4204. <content:encoded><![CDATA[<div>Description:<br />
  4205. I will short discuss how this plugin works.<br />
  4206. This plugin checks players frags, kills for l4d is (Boomer,Smoker,Hunter), for l4d2 (Boomer,Smoker,Hunter,Spitter,Jockey,Charger) special infected, don't works with witch and tank.<br />
  4207. -----------------------------------------------<br />
  4208. How To Install?<br />
  4209. 1.First L4D_FragsChecker.sp -&gt; comile sp file to smx.<br />
  4210. 2.Put your L4D_FragsChecker.sp file to plugins folder.<br />
  4211. 3.Run.<br />
  4212. or you can download smx, and put right away to plugin folder. :)<br />
  4213. -----------------------------------------------<br />
  4214. Commands for use in-game:<br />
  4215. write in chat-game: /frags or !frags<br />
  4216. You will see a list of kills at the bottom.<br />
  4217. <br />
  4218. <br />
  4219. Fixed many bugs. Enjoy guys. :)<br />
  4220. -----------------------------------------------<br />
  4221. This plugin works to all versions of sourcemod. So yo can test it to your game.</div>
  4222.  
  4223.  
  4224. <br />
  4225. <div style="padding:6px">
  4226.  
  4227.  
  4228.  
  4229.  
  4230. <fieldset class="fieldset">
  4231. <legend>Attached Files</legend>
  4232. <table cellpadding="0" cellspacing="3" border="0">
  4233. <tr>
  4234. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4235. <td>
  4236. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204353"><strong>Get Plugin</strong></a> or
  4237. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204353&amp;d=1715359303">Get Source</a> (L4D_FragsChecker.sp - 5.4 KB)
  4238. </td>
  4239. </tr><tr>
  4240. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4241. <td>
  4242. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204354&amp;d=1715359303">L4D_FragsChecker.smx</a> (5.8 KB)
  4243. </td>
  4244. </tr>
  4245. </table>
  4246. </fieldset>
  4247.  
  4248. </div>
  4249. ]]></content:encoded>
  4250. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  4251. <dc:creator>marcel1231</dc:creator>
  4252. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347582</guid>
  4253. </item>
  4254. <item>
  4255. <title>WSOSLOT88 : Agen Freebet Slot Gratis 30k Tanpa Deposit</title>
  4256. <link>https://forums.alliedmods.net/showthread.php?t=347581&amp;goto=newpost</link>
  4257. <pubDate>Tue, 07 May 2024 03:36:49 GMT</pubDate>
  4258. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  4259. ATAU
  4260. KETIK GOOGLE >> WSOSLOT88.COM
  4261. Selamat datang di situs slot gacor hari ini WsoSlot88...]]></description>
  4262. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  4263. ATAU<br />
  4264. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  4265. <br />
  4266. Selamat datang di situs slot gacor hari ini WsoSlot88 yang sudah lama menjadi pilihan utama bagi para pecinta game judi slot online Indonesia. Saat ini memang game slot online sudah menjadi game judi paling viral dan paling diminati oleh para penggiat judi online dunia maupun di Indonesia. Permainan slot sendiri memang banyak sekali kelebihan yang dimiliki apabila dibandingkan dengan game judi lainnya seperti Judi Bola, Poker Online, Togel Online dan Live Casino. Sebagai situs slot terpercaya WsoSlot88 pastinya tidak ketinggalan untuk menyediakan layanan game judi slot gacor yang dapat anda mainkan secara aman dan nyaman.<br />
  4267. WsoSlot88 sendiri sudah berpengalaman dalam bidang game judi online selama 10 tahun dan telah menjadi situs slot gacor terbaik di tahun 2023 - 2024. Maka dari itu apabila anda sedang mencari situs slot online terpercaya maka anda bisa memilih kami sebagai sarana tempat bermain yang pastinya aman. Selain ini WsoSlot88 juga memiliki lisensi resmi dari Pagcor dan Comission bet yang menandakan bahwa sebuah situs sudah terpercaya dan legal.<br />
  4268. Daftar 5 Situs Slot Gacor Terpercaya Pilihan Terbaik Tahun Ini<br />
  4269. Saat menjelang tahun 2024 tentunya seluruh provider slot online saling berlomba untuk menjadi yang terbaik. Namun disini kami akan memberikan 5 daftar situs slot gacor yang pastinya wajib dicoba untuk anda mainkan, berikut listnya:<br />
  4270. Slot Gacor Hari Ini PRAGMATIC PLAY (RTP 97.59%)<br />
  4271. Slot Gacor Terpercaya PG SOFT (RTP 98.51%)<br />
  4272. Situs Slot Gacor MICROGAMING (RTP 96.27%)<br />
  4273. Slot Online Terpercaya (RTP 97.50%)<br />
  4274. Slot Gacor Hari Ini HABANERO (RTP 94.60%)<br />
  4275. 10 Daftar Game Slot Gacor Hari Ini Paling Sering Jackpot Maxwin 2024<br />
  4276. Selanjutnya WsoSlot88 ingin memberikan bocoran 10 game slot gacor hari ini dengan tingkat kemenangan paling tinggi ditahun 2024, apa saja itu? berikut listnya:<br />
  4277. Gates Of Olympus (Pragmatic Play)<br />
  4278. Sweet Bonanza (Pragmatic Play)<br />
  4279. KOI GATE (Habanero)<br />
  4280. Black Panther (Spadegaming)<br />
  4281. Lucky Necko (Microgaming)<br />
  4282. Roma Legacy (Joker Gaming)<br />
  4283. Mahjong Ways (PG SOFT)<br />
  4284. Fa Cai Shen (PG SOFT)<br />
  4285. Lucky Twins Wild (Microgaming)<br />
  4286. Starlight Princess 1000 (Pragmatic Play)</div>
  4287.  
  4288. ]]></content:encoded>
  4289. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4290. <dc:creator>KuraKura12</dc:creator>
  4291. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347581</guid>
  4292. </item>
  4293. <item>
  4294. <title>Game</title>
  4295. <link>https://forums.alliedmods.net/showthread.php?t=347579&amp;goto=newpost</link>
  4296. <pubDate>Mon, 06 May 2024 17:02:36 GMT</pubDate>
  4297. <description><![CDATA[Looking for an exceptional online gaming experience in Australia? I've got you covered! I've stumbled upon a platform that is truly captivating. It...]]></description>
  4298. <content:encoded><![CDATA[<div>Looking for an exceptional online gaming experience in Australia? I've got you covered! I've stumbled upon a platform that is truly captivating. It offers an extensive range of games tailored to suit all types of players. The intuitive user interface makes discovering new games and navigating the platform incredibly easy. Trust me, as a gaming enthusiast, I was thoroughly impressed by the authentic experience this site provides, particularly at <a href="https://regent-play.casinologinaustralia.com" target="_blank" rel="nofollow noopener">https://regent-play.casinologinaustralia.com</a>. It's definitely worth checking out if you're searching for a high-quality online casino experience down under.</div>
  4299.  
  4300. ]]></content:encoded>
  4301. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=7">General</category>
  4302. <dc:creator>jdeqwe</dc:creator>
  4303. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347579</guid>
  4304. </item>
  4305. <item>
  4306. <title>Suggested setting in AMX Mod X or third-party plugin.</title>
  4307. <link>https://forums.alliedmods.net/showthread.php?t=347575&amp;goto=newpost</link>
  4308. <pubDate>Mon, 06 May 2024 07:15:09 GMT</pubDate>
  4309. <description><![CDATA[I have an ongoing issue on my dedicated CS CZ server that I haven't been able to solve (and I've done all the basic troubleshooting), but want to...]]></description>
  4310. <content:encoded><![CDATA[<div>I have an ongoing issue on my dedicated CS CZ server that I haven't been able to solve (and I've done all the basic troubleshooting), but want to know if there is some kind of workaround. <br />
  4311. <br />
  4312. Randomly when a map change occurs on my server (any map). The bots AND players will be stuck at their spawn points. They are able to stab or shoot, but cannot move. AMX Mod X 1.9 starts to classify players and bots as afk and boots bots and players then readds the bots per my bot configuration, sometimes. Sometimes the players and bots simply stick to the spawnpoints and are never deemed AFK. Due to this issue, most players leave my server. <br />
  4313. <br />
  4314. A manual change of the map or a server reset resolves the issue but the problem will ultimately reoccur. However, I must make this action and I cannot monitor the server everytime this happens. So, is there some way I can program AMX Mod X to automatically change to a random different map or go to the next map when all or a certain number of players or bots are classified as afk or fail to move from their spawnpoints. Or is there a plugin available regarding this issue? Thanks for any help!</div>
  4315.  
  4316. ]]></content:encoded>
  4317. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=7">General</category>
  4318. <dc:creator>Fiercetree</dc:creator>
  4319. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347575</guid>
  4320. </item>
  4321. <item>
  4322. <title>BO Togel BBFS 10 Digit 10 Perak Termurah di Indonesia MAGNUMTOGEL</title>
  4323. <link>https://forums.alliedmods.net/showthread.php?t=347574&amp;goto=newpost</link>
  4324. <pubDate>Mon, 06 May 2024 07:08:35 GMT</pubDate>
  4325. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  4326. ATAU
  4327. KETIK GOOGLE >> MAGNUMTOGEL.COM <<
  4328. Keyword Terkait :
  4329. magumtogel
  4330. magnumtoto...]]></description>
  4331. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  4332. ATAU<br />
  4333. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM &lt;&lt;<br />
  4334. <br />
  4335. Keyword Terkait :<br />
  4336. magumtogel<br />
  4337. magnumtoto<br />
  4338. magnumtogel88<br />
  4339. admin magnumtogel<br />
  4340. link alternatif magnumtogel<br />
  4341. link resmi magnumtogel<br />
  4342. link gacor magnumtogel<br />
  4343. cs admin magnumtogel<br />
  4344. cs terbaik aktif 24 jam magnumtogel<br />
  4345. rtp magnumtogel<br />
  4346. bocoran magnumtogel<br />
  4347. magnumtogel anti nawala<br />
  4348. Apk magnumtogel<br />
  4349. Apk anti nawala<br />
  4350. Freebet 30k<br />
  4351. Freebet 20k<br />
  4352. Freebet slot<br />
  4353. Apk magnumtogel toto<br />
  4354. Link apk magnumtogel<br />
  4355. Magnumtogel live<br />
  4356. Prediksi magnumtogel<br />
  4357. Prediksi magnumtoto<br />
  4358. Prediksi master togel magnumtogel<br />
  4359. Prediksi togel harian<br />
  4360. Livedraw magnumtogel<br />
  4361. Livedraw togel hk<br />
  4362. bo togel bbfs 10 digit 10 perak<br />
  4363. bbfs 10 digit 10 perak</div>
  4364.  
  4365. ]]></content:encoded>
  4366. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4367. <dc:creator>LebahSange</dc:creator>
  4368. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347574</guid>
  4369. </item>
  4370. <item>
  4371. <title>Daftar Situs Blackjack Terbaik Casino Live Terbesar WSOSLOT88</title>
  4372. <link>https://forums.alliedmods.net/showthread.php?t=347573&amp;goto=newpost</link>
  4373. <pubDate>Mon, 06 May 2024 03:52:00 GMT</pubDate>
  4374. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  4375. ATAU
  4376. KETIK GOOGLE >> WSOSLOT88.COM
  4377. WsoSlot88 adalah sebuah situs judi live casino online...]]></description>
  4378. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  4379. ATAU<br />
  4380. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  4381. <br />
  4382. WsoSlot88 adalah sebuah situs judi live casino online uang asli terbaik dan terpercaya tahun 2023. Bagi ada yang tertarik untuk bermain permainan di stasiun online, tentu sekarang bisa bergabung bersama pilihan situs agen judi Casino yang resmi dan terpercaya di Indonesia. Diantaranya yaitu di mana anda menjadi pemain bisa langsung bergabung bersama situs online live WsoSlot88. Di sini kami menghadirkan terhadap variasi pada agen baccarat yang pertaruhan menuju di online lengkap mulai dari judi bacarat online, judi rolet online, judi dadu online dan banyak lagi variasi games online lainnya tersedia.<br />
  4383. <br />
  4384. Casino Online sendiri Memang jadi pilihan game yang cukup ramai dan banyak peminatnya saat ini terutama Indonesia. Banyak sekali para pecinta taruhan Indonesia yang tertarik untuk mencoba bermain di dan memainkan permainan judi casino online tersebut. Apalagi sistem mainnya Sekarang sudah menggunakan sistem main online live WsoSlot88 online secara streaming. Siapapun kemudian bisa memainkan permainan taruhan game rolet online, judi judi baccarat, dan lain sebagainya menggunakan smartphone ataupun juga komputer laptop. Sistem permainannya sendiri saat ini kemudian juga hadir secara terintegrasi menggunakan satu user ID. Daftar akun satu kali, anda sudah bisa menikmati ragam variasi Permainan mulai dari baccarat online terpercaya uang asli, rolet online terpercaya, sicbo dan banyak lagi lainnya.</div>
  4385.  
  4386. ]]></content:encoded>
  4387. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4388. <dc:creator>KuraKura12</dc:creator>
  4389. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347573</guid>
  4390. </item>
  4391. <item>
  4392. <title>MetaMod:Source not loading (Linux listenserver only) dod:s, CSS, HL2:DM, TF2.</title>
  4393. <link>https://forums.alliedmods.net/showthread.php?t=347569&amp;goto=newpost</link>
  4394. <pubDate>Mon, 06 May 2024 01:46:26 GMT</pubDate>
  4395. <description><![CDATA[This issue is..  
  4396. 1. Only Linux - multipule distro's, with multipule hardware configs
  4397. 2. *_Only a Listen server runnng Linux native _*
  4398. 3. dod:s,...]]></description>
  4399. <content:encoded><![CDATA[<div>This issue is.. <br />
  4400. 1. Only Linux - multipule distro's, with multipule hardware configs<br />
  4401. 2. <b><u>Only a Listen server runnng Linux native </u></b><br />
  4402. 3. dod:s, CSS, HL2:DM and TF2. <br />
  4403. 4. CS2 is not affected, it&#8217;s Linux native listenserver allows MetaMod:source to load. <br />
  4404. 5. Also left for dead 2, it does load but has errors with &quot;meta&quot; commands printouts in the console. <br />
  4405. <br />
  4406. My main concern here is Day of Defeat Source and HL2:DM as the only bot system available is RCBot2 (third party MetaMod:source plugin)<br />
  4407. <br />
  4408. The issue is that MetaMod:source does not load and has this error in the console...<br />
  4409. <div style="margin:20px; margin-top:5px">
  4410. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4411. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">Failed to load plugin &quot;addons/metamod/bin/server&quot;<br />
  4412. &nbsp;failed to dlopen /home/kim/.local/share/Steam/steamapps/common/Day of Defeat Source/dod/addons/metamod/bin/linux64/server.so error=/home/kim/.local/share/Steam/steamapps/common/Day of Defeat Source/dod/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64<br />
  4413. Unable to load plugin &quot;addons/metamod/bin/linux64/server&quot;</code><hr />
  4414. </div>Further, in the addons/metamod/bin folder the file &#8220;metamod-fatal.log&#8221; returns this line on every startup&#8230;<br />
  4415. <br />
  4416. <div style="margin:20px; margin-top:5px">
  4417. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4418. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">L 05/01/2024 - 22:00:08: Detected engine 14 but could not load: libvstdlib_srv.so: cannot open shared object file: No such file or directory</code><hr />
  4419. </div>So I looked for that file, it isn't in dod:s, TF2, CSS or HL2:DM.<br />
  4420. <br />
  4421. However I did find it in the HL2 mod &quot;Synergy&quot; here...<br />
  4422. home/&lt;user&gt;/.steam/steam/steamapps/common/Synergy/bin is the location on a typical Linux install and libvstdlib_srv.so is there.<br />
  4423. <br />
  4424. There is a lot of other files with a &quot;&lt;filename&gt;_srv.so&quot; as well that are in Synergey and Left for Dead 2 and not in the other &quot;game title/bin&quot; folder e.g. for DoD:S ...<br />
  4425. <div style="margin:20px; margin-top:5px">
  4426. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4427. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">&quot;/home/&lt;user&gt;/.steam/steam/steamapps/common/Day of Defeat Source/bin&quot;</code><hr />
  4428. </div>I noted that placing 2 files from Synergy/bin to Day of Defeat Source/bin allowed MetaModSouce to start and load RCBot2.<br />
  4429. <br />
  4430. libvstdlib_srv.so (the file missing) and another not referenced by MetaMod &#8220;libtier0_srv.so&quot;<br />
  4431. Those two files allowed RCBot2 to function correctly.<br />
  4432. <br />
  4433. But&#8230; when you place in &#8220;Meta&#8221; you can see the console has the version in the auto-complete area of the console input, but it doesn&#8217;t print out in console.<br />
  4434. <br />
  4435. So&#8230; placing in two files and metamod loads and loads the plugin RCBot2.<br />
  4436. No errors in the console or the gameplay for RCBot2, plays OK.<br />
  4437. <br />
  4438. What is happening here?<br />
  4439. <br />
  4440. Is this a MetaMod:Source issue or a Valve issue? <br />
  4441. <br />
  4442. I got the bot plugin to work, metamod has some obvious errors, I have not installed SourceMod just yet. That would be another can of worms I would say.<br />
  4443. <br />
  4444. Remember, this is only Linux listenservers and only affects dod:s, CSS, TF2, HL2:DM that I know of.<br />
  4445. It also doesn&#8217;t seem to be tied to a particular Linux distro or 32bit dependencies like a lot of similar errors.<br />
  4446. The MetaMod:Source plugin 'RCBot2&quot; on a Linux dedicated server...works as it does on a Windows Listenserver and dedicated server. <a href="https://github.com/APGRoboCop/rcbot2/releases/tag/v1.7-beta2" target="_blank" rel="nofollow noopener">https://github.com/APGRoboCop/rcbot2...tag/v1.7-beta2</a><br />
  4447. <br />
  4448. <b>It may not seem important but the players of dods and HL2:DM don&#8217;t have a BOT system, RCBot2 is the only bot, it would be nice if Linux users can have what Windows users have, especially since those two run great on native Linux.<br />
  4449. So, running MetaMod:Source on a <u>Linux</u> listen server for dod:s and HL2:DM is a big deal.</b><br />
  4450. <br />
  4451. <b>To reproduce this (dod:s)...</b><br />
  4452. 1. Place a stable or dev MetaMod:Source in the mod folder normally (make sure &quot;-insecure&quot; is in the launch options)<br />
  4453. 2. Start a listen server<br />
  4454. 3. On game start up note the error at the top of the dev' console<br />
  4455. 4. Type &quot;meta&quot; it returns a unknown command... even after starting a map.<br />
  4456. 5. Open the file &#8220;metamod-fatal.log&#8221; and view thye error.<br />
  4457. <br />
  4458. <b>A &quot;fix&quot; of sorts...</b><br />
  4459. 1. Add the two files &quot;libvstdlib_srv.so&quot; and &quot;libtier0_srv.so&quot; from the Synergy/bin folder to Day of Defeat Source/bin folder.<br />
  4460. 2. Start dod:s and open the dev' console, type in &quot;meta version&quot;<br />
  4461. <br />
  4462. <b>Note1: </b>As you type the auto-complete (box below the input line) <u>is showing the MetaMod:source version.</u><br />
  4463. <br />
  4464. <b>Note2: </b>When pressing submit it will not print that version in the console and does not return &quot;unknown command&quot;<br />
  4465. <br />
  4466. <b>Note 3: </b>Also if the RCBot2 plugin is installed correctly... the plugin runs normally.<br />
  4467. Note &quot;normally&quot; means that you have to edit &quot;config.ini&quot; in &quot;...\Day of Defeat Source\dod\addons\rcbot2\config&quot; to start bots...<br />
  4468. <div style="margin:20px; margin-top:5px">
  4469. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4470. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#<br />
  4471. rcbot config min_bots -1<br />
  4472. rcbot config max_bots 16<br />
  4473. #</code><hr />
  4474. </div>The plugin ships with a default command of &quot;rcbotd&quot; (dedicated server command) and &quot;rcbot&quot; is used for loading bots on listen servers.<br />
  4475. <br />
  4476. <br />
  4477. Any help of what to do next or some insight is appreciated!</div>
  4478.  
  4479. ]]></content:encoded>
  4480. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=74">Metamod:Source Questions</category>
  4481. <dc:creator>INsane_dod</dc:creator>
  4482. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347569</guid>
  4483. </item>
  4484. <item>
  4485. <title>error 017: undefined symbol</title>
  4486. <link>https://forums.alliedmods.net/showthread.php?t=347568&amp;goto=newpost</link>
  4487. <pubDate>Sun, 05 May 2024 23:02:53 GMT</pubDate>
  4488. <description>Hello, i cannot compile this code, i get the following message, please help
  4489. PHP:
  4490. ---------
  4491. Welcome to the AMX Mod X 1.8.1-300 Compiler....</description>
  4492. <content:encoded><![CDATA[<div>Hello, i cannot compile this code, i get the following message, please help<br />
  4493. <br />
  4494. <br />
  4495. <div style="margin:20px; margin-top:5px">
  4496. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  4497. <div class="alt2">
  4498. <hr />
  4499. <code style="white-space:nowrap">
  4500. <div dir="ltr" style="text-align:left;">
  4501. <!-- php buffer start --><code><span style="color: #000000">
  4502. <span style="color: #0000BB">Welcome&nbsp;to&nbsp;the&nbsp;AMX&nbsp;Mod&nbsp;X&nbsp;1.8.1</span><span style="color: #007700">-</span><span style="color: #0000BB">300&nbsp;Compiler</span><span style="color: #007700">.
  4503. <br /></span><span style="color: #0000BB">Copyright&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">c</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">1997</span><span style="color: #007700">-</span><span style="color: #0000BB">2013&nbsp;ITB&nbsp;CompuPhase</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AMX&nbsp;Mod&nbsp;X&nbsp;Team
  4504. <br />
  4505. <br />1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">36</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"CS_TEAM_CT"
  4506. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">38</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"CS_TEAM_T"
  4507. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">50</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;088</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">number&nbsp;of&nbsp;arguments&nbsp;does&nbsp;not&nbsp;match&nbsp;definition
  4508. <br />1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">54</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">warning&nbsp;213</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">tag&nbsp;mismatch
  4509. <br />1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">58</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"server_command"
  4510. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">60</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">warning&nbsp;213</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">tag&nbsp;mismatch
  4511. <br />1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">67</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"server_command"
  4512. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">71</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"server_command"
  4513. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">82</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"server_command"
  4514. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">88</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;059</span><span style="color: #007700">:&nbsp;function&nbsp;</span><span style="color: #0000BB">argument&nbsp;may&nbsp;not&nbsp;have&nbsp;a&nbsp;</span><span style="color: #007700">default&nbsp;</span><span style="color: #0000BB">value&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">variable&nbsp;</span><span style="color: #DD0000">"active"</span><span style="color: #007700">)
  4515. <br /></span><span style="color: #0000BB">1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">90</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">warning&nbsp;213</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">tag&nbsp;mismatch
  4516. <br />1.sma</span><span style="color: #007700">(</span><span style="color: #0000BB">99</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">error&nbsp;017</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">undefined&nbsp;symbol&nbsp;</span><span style="color: #DD0000">"get_args"
  4517. <br />
  4518. <br /></span><span style="color: #0000BB">9&nbsp;Errors</span><span style="color: #007700">.
  4519. <br /></span><span style="color: #0000BB">Could&nbsp;not&nbsp;locate&nbsp;output&nbsp;file&nbsp;1.amx&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">compile&nbsp;failed</span><span style="color: #007700">)&nbsp;
  4520. <br /></span><span style="color: #0000BB"></span>
  4521. </span>
  4522. </code><!-- php buffer end -->
  4523. </div>
  4524. </code>
  4525. <hr />
  4526. </div>
  4527. </div>Here code:<br />
  4528. <br />
  4529. <div style="margin:20px; margin-top:5px">
  4530. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  4531. <div class="alt2">
  4532. <hr />
  4533. <code style="white-space:nowrap">
  4534. <div dir="ltr" style="text-align:left;">
  4535. <!-- php buffer start --><code><span style="color: #000000">
  4536. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;
  4537. <br />#include&nbsp;&lt;engine&gt;
  4538. <br />#include&nbsp;&lt;amxconst&gt;
  4539. <br />
  4540. <br />#define&nbsp;PLUGIN_VERSION&nbsp;"1.0"
  4541. <br />#define&nbsp;PLUGIN_NAME&nbsp;"Warmup&nbsp;Knife&nbsp;Round"
  4542. <br />#define&nbsp;MUSIC_FILE&nbsp;"your_music_file.mp3"
  4543. <br />#define&nbsp;WARMUP_TIME&nbsp;60
  4544. <br />#define&nbsp;MAX_SPEED&nbsp;500
  4545. <br />
  4546. <br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">g_szMusic</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">MUSIC_FILE</span><span style="color: #007700">;
  4547. <br />new&nbsp;</span><span style="color: #0000BB">g_fRoundStartTime</span><span style="color: #007700">;
  4548. <br />new&nbsp;</span><span style="color: #0000BB">g_bWarmupActive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;
  4549. <br />
  4550. <br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;{
  4551. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #0000BB">PLUGIN_NAME</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Author"</span><span style="color: #007700">);
  4552. <br />
  4553. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"HLTV"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Event_HLTV"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">);
  4554. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"player_connect"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Event_PlayerConnect"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">);
  4555. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"round_start"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Event_RoundStart"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">);
  4556. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"round_end"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Event_RoundEnd"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"b"</span><span style="color: #007700">);
  4557. <br />}
  4558. <br />
  4559. <br />public&nbsp;</span><span style="color: #0000BB">Event_PlayerConnect</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{
  4560. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;!=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{
  4561. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">check_start_warmup</span><span style="color: #007700">();
  4562. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  4563. <br />}
  4564. <br />
  4565. <br />public&nbsp;</span><span style="color: #0000BB">check_start_warmup</span><span style="color: #007700">()&nbsp;{
  4566. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">teamCTPlayers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  4567. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">teamTPlayers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;
  4568. <br />
  4569. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(new&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">get_maxplayers</span><span style="color: #007700">();&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)&nbsp;{
  4570. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">is_user_connected</span><span style="color: #007700">(</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">is_user_bot</span><span style="color: #007700">(</span><span style="color: #0000BB">i</span><span style="color: #007700">))&nbsp;{
  4571. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">CS_TEAM_CT</span><span style="color: #007700">)&nbsp;{
  4572. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">teamCTPlayers</span><span style="color: #007700">++;
  4573. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;if&nbsp;(</span><span style="color: #0000BB">get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">CS_TEAM_T</span><span style="color: #007700">)&nbsp;{
  4574. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">teamTPlayers</span><span style="color: #007700">++;
  4575. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  4576. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  4577. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  4578. <br />
  4579. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">teamCTPlayers&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">teamTPlayers&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;!</span><span style="color: #0000BB">g_bWarmupActive</span><span style="color: #007700">)&nbsp;{
  4580. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">start_warmup_round</span><span style="color: #007700">();
  4581. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  4582. <br />}
  4583. <br />
  4584. <br />public&nbsp;</span><span style="color: #0000BB">start_warmup_round</span><span style="color: #007700">()&nbsp;{
  4585. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_string</span><span style="color: #007700">(</span><span style="color: #DD0000">"mp_roundtime"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">format</span><span style="color: #007700">(</span><span style="color: #DD0000">"%d"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">WARMUP_TIME</span><span style="color: #007700">));
  4586. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_string</span><span style="color: #007700">(</span><span style="color: #DD0000">"mp_freezetime"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">);
  4587. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_string</span><span style="color: #007700">(</span><span style="color: #DD0000">"mp_round_restart_delay"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"10"</span><span style="color: #007700">);
  4588. <br />
  4589. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_cvar_float</span><span style="color: #007700">(</span><span style="color: #DD0000">"sv_maxspeed"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MAX_SPEED</span><span style="color: #007700">);
  4590. <br />
  4591. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">play_music</span><span style="color: #007700">();
  4592. <br />
  4593. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">server_command</span><span style="color: #007700">(</span><span style="color: #DD0000">"sv_restartround&nbsp;1"</span><span style="color: #007700">);
  4594. <br />
  4595. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_fRoundStartTime&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_gametime</span><span style="color: #007700">();
  4596. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_bWarmupActive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;
  4597. <br />}
  4598. <br />
  4599. <br />public&nbsp;</span><span style="color: #0000BB">play_music</span><span style="color: #007700">()&nbsp;{
  4600. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">256</span><span style="color: #007700">&#93;;
  4601. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">formatex</span><span style="color: #007700">(</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sizeof</span><span style="color: #007700">(</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">),&nbsp;</span><span style="color: #DD0000">"mp3&nbsp;play&nbsp;%s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_szMusic</span><span style="color: #007700">);
  4602. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">server_command</span><span style="color: #007700">(</span><span style="color: #0000BB">szCommand</span><span style="color: #007700">);
  4603. <br />}
  4604. <br />
  4605. <br />public&nbsp;</span><span style="color: #0000BB">Event_HLTV</span><span style="color: #007700">()&nbsp;{
  4606. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">server_command</span><span style="color: #007700">(</span><span style="color: #DD0000">"mp3&nbsp;stop"</span><span style="color: #007700">);
  4607. <br />}
  4608. <br />
  4609. <br />public&nbsp;</span><span style="color: #0000BB">Event_RoundStart</span><span style="color: #007700">()&nbsp;{
  4610. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_activity</span><span style="color: #007700">();
  4611. <br />}
  4612. <br />
  4613. <br />public&nbsp;</span><span style="color: #0000BB">Event_RoundEnd</span><span style="color: #007700">()&nbsp;{
  4614. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_activity</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);
  4615. <br />
  4616. <br />&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;(new&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)&nbsp;{
  4617. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">server_command</span><span style="color: #007700">(</span><span style="color: #DD0000">"sv_restartround&nbsp;1"</span><span style="color: #007700">);
  4618. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  4619. <br />
  4620. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_bWarmupActive&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;
  4621. <br />}
  4622. <br />
  4623. <br />public&nbsp;</span><span style="color: #0000BB">show_activity</span><span style="color: #007700">(</span><span style="color: #0000BB">active&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;{
  4624. <br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">active&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">g_bWarmupActive</span><span style="color: #007700">)&nbsp;{
  4625. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">timeRemaining&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">WARMUP_TIME&nbsp;</span><span style="color: #007700">-&nbsp;(</span><span style="color: #0000BB">get_gametime</span><span style="color: #007700">()&nbsp;-&nbsp;</span><span style="color: #0000BB">g_fRoundStartTime</span><span style="color: #007700">);
  4626. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_activity_text</span><span style="color: #007700">(</span><span style="color: #DD0000">"Time&nbsp;Remaining:&nbsp;%d"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">timeRemaining</span><span style="color: #007700">);
  4627. <br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{
  4628. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_activity_text</span><span style="color: #007700">(</span><span style="color: #DD0000">""</span><span style="color: #007700">);
  4629. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  4630. <br />}
  4631. <br />
  4632. <br />public&nbsp;</span><span style="color: #0000BB">show_activity_text</span><span style="color: #007700">(const&nbsp;</span><span style="color: #0000BB">msg</span><span style="color: #007700">&#91;&#93;,&nbsp;</span><span style="color: #0000BB">any</span><span style="color: #007700">:...)&nbsp;{
  4633. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">sBuffer</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">128</span><span style="color: #007700">&#93;;
  4634. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">format</span><span style="color: #007700">(</span><span style="color: #0000BB">sBuffer</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">sizeof</span><span style="color: #007700">(</span><span style="color: #0000BB">sBuffer</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">msg</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_args</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">));
  4635. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_begin</span><span style="color: #007700">(</span><span style="color: #0000BB">MSG_ONE_UNRELIABLE</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_user_msgid</span><span style="color: #007700">(</span><span style="color: #DD0000">"SayText"</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">_</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">);
  4636. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  4637. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">);
  4638. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">);
  4639. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_byte</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">);
  4640. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">write_string</span><span style="color: #007700">(</span><span style="color: #0000BB">sBuffer</span><span style="color: #007700">);
  4641. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">message_end</span><span style="color: #007700">();
  4642. <br />}&nbsp;
  4643. <br /></span><span style="color: #0000BB"></span>
  4644. </span>
  4645. </code><!-- php buffer end -->
  4646. </div>
  4647. </code>
  4648. <hr />
  4649. </div>
  4650. </div></div>
  4651.  
  4652. ]]></content:encoded>
  4653. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  4654. <dc:creator>fjlep</dc:creator>
  4655. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347568</guid>
  4656. </item>
  4657. <item>
  4658. <title>Create buy zone on aim fy maps</title>
  4659. <link>https://forums.alliedmods.net/showthread.php?t=347567&amp;goto=newpost</link>
  4660. <pubDate>Sun, 05 May 2024 20:44:00 GMT</pubDate>
  4661. <description><![CDATA[Who can help me,how to create buy zone on maps that don't have it,like fy and aim maps?]]></description>
  4662. <content:encoded><![CDATA[<div>Who can help me,how to create buy zone on maps that don't have it,like fy and aim maps?</div>
  4663.  
  4664. ]]></content:encoded>
  4665. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  4666. <dc:creator>SaraAki</dc:creator>
  4667. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347567</guid>
  4668. </item>
  4669. <item>
  4670. <title>winning hud</title>
  4671. <link>https://forums.alliedmods.net/showthread.php?t=347566&amp;goto=newpost</link>
  4672. <pubDate>Sun, 05 May 2024 20:28:06 GMT</pubDate>
  4673. <description>Hello ,how i can make this code from biohazard.sma :
  4674. Code:
  4675. ---------
  4676. public msg_textmsg(msgid, dest, id)
  4677. {
  4678. if(get_msg_arg_int(1) != 4)...</description>
  4679. <content:encoded><![CDATA[<div>Hello ,how i can make this code from biohazard.sma :<br />
  4680. <div style="margin:20px; margin-top:5px">
  4681. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4682. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">public msg_textmsg(msgid, dest, id)<br />
  4683. {<br />
  4684. &nbsp; &nbsp; &nbsp; &nbsp; if(get_msg_arg_int(1) != 4)<br />
  4685. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />
  4686. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4687. &nbsp; &nbsp; &nbsp; &nbsp; static txtmsg[25], winmsg[32]<br />
  4688. &nbsp; &nbsp; &nbsp; &nbsp; get_msg_arg_string(2, txtmsg, 24)<br />
  4689. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4690. &nbsp; &nbsp; &nbsp; &nbsp; if(equal(txtmsg[1], &quot;Game_bomb_drop&quot;))<br />
  4691. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  4692. <br />
  4693. &nbsp; &nbsp; &nbsp; &nbsp; else if(equal(txtmsg[1], &quot;Terrorists_Win&quot;))<br />
  4694. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  4695. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatex(winmsg, 31, &quot;%L&quot;, LANG_SERVER, &quot;WIN_TXT_ZOMBIES&quot;)<br />
  4696. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_msg_arg_string(2, winmsg)<br />
  4697. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  4698. &nbsp; &nbsp; &nbsp; &nbsp; else if(equal(txtmsg[1], &quot;Target_Saved&quot;) || equal(txtmsg[1], &quot;CTs_Win&quot;))<br />
  4699. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  4700. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatex(winmsg, 31, &quot;%L&quot;, LANG_SERVER, &quot;WIN_TXT_SURVIVORS&quot;)<br />
  4701. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_msg_arg_string(2, winmsg)<br />
  4702. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  4703. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />
  4704. }</code><hr />
  4705. </div>To work with this plugin?: <br />
  4706. <div style="margin:20px; margin-top:5px">
  4707. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4708. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;amxmodx&gt;<br />
  4709. #include &lt;fakemeta&gt;<br />
  4710. #include &lt;fakemeta_util&gt;<br />
  4711. #include &lt;zp_dsohud&gt;<br />
  4712. #include &lt;zombieplague&gt;<br />
  4713. <br />
  4714. // Win sprites dirs'<br />
  4715. new const g_zombie_win[] = &quot;sprites/zombie_plague/zombie_win.spr&quot;<br />
  4716. new const g_human_win[] = &quot;sprites/zombie_plague/human_win.spr&quot;<br />
  4717. <br />
  4718. new g_maxplayers<br />
  4719. <br />
  4720. public plugin_init()<br />
  4721. {<br />
  4722. &nbsp; &nbsp; &nbsp; &nbsp; register_plugin(&quot;[ZP] Advanced Win Msgs.&quot;, &quot;1.0&quot;, &quot;@bdul!&quot;);<br />
  4723. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4724. &nbsp; &nbsp; &nbsp; &nbsp; // Round start event<br />
  4725. &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;HLTV&quot;, &quot;event_round_start&quot;, &quot;a&quot;, &quot;1=0&quot;, &quot;2=0&quot;)<br />
  4726. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4727. &nbsp; &nbsp; &nbsp; &nbsp; // Retrieve max players<br />
  4728. &nbsp; &nbsp; &nbsp; &nbsp; g_maxplayers = get_maxplayers()<br />
  4729. }<br />
  4730. <br />
  4731. // Prechache the sprites<br />
  4732. public plugin_precache()<br />
  4733. {<br />
  4734. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(g_zombie_win)<br />
  4735. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(g_human_win)<br />
  4736. }<br />
  4737. <br />
  4738. // Remove win sprites on new round<br />
  4739. public event_round_start()<br />
  4740. {<br />
  4741. &nbsp; &nbsp; &nbsp; &nbsp; static id<br />
  4742. &nbsp; &nbsp; &nbsp; &nbsp; for (id = 1; id &lt;= g_maxplayers; id++)<br />
  4743. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_remove_hud_sprite(id)<br />
  4744. }<br />
  4745. <br />
  4746. public zp_round_ended(win_team)<br />
  4747. {<br />
  4748. &nbsp; &nbsp; &nbsp; &nbsp; // No one won ?<br />
  4749. &nbsp; &nbsp; &nbsp; &nbsp; if (win_team == WIN_NO_ONE)<br />
  4750. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  4751. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4752. &nbsp; &nbsp; &nbsp; &nbsp; // Set the sprites on players HUD<br />
  4753. &nbsp; &nbsp; &nbsp; &nbsp; static id<br />
  4754. &nbsp; &nbsp; &nbsp; &nbsp; for (id = 1; id &lt;= g_maxplayers; id++)<br />
  4755. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  4756. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (win_team == WIN_HUMANS)<br />
  4757. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_display_hud_sprite(id, g_human_win, 0.04)<br />
  4758. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  4759. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_display_hud_sprite(id, g_zombie_win, 0.05)<br />
  4760. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  4761. }</code><hr />
  4762. </div>This is what i try  but don't work (in game appear default text &quot;ct win&quot; and &quot; tero win&quot;<br />
  4763. <div style="margin:20px; margin-top:5px">
  4764. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  4765. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;amxmodx&gt;<br />
  4766. #include &lt;fakemeta&gt;<br />
  4767. #include &lt;fakemeta_util&gt;<br />
  4768. #include &lt;zp_dsohud&gt;<br />
  4769. #include &lt;biohazard&gt;<br />
  4770. <br />
  4771. // Win sprites dirs'<br />
  4772. new const g_zombie_win[] = &quot;sprites/zombie_plague/zombie_win.spr&quot;<br />
  4773. new const g_human_win[] = &quot;sprites/zombie_plague/human_win.spr&quot;<br />
  4774. <br />
  4775. new g_maxplayers<br />
  4776. <br />
  4777. public plugin_init()<br />
  4778. {<br />
  4779. &nbsp; &nbsp; &nbsp; &nbsp; register_plugin(&quot;[ZP] Advanced Win Msgs.&quot;, &quot;1.0&quot;, &quot;@bdul!&quot;);<br />
  4780. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4781. &nbsp; &nbsp; &nbsp; &nbsp; // Round start event<br />
  4782. &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;HLTV&quot;, &quot;event_round_start&quot;, &quot;a&quot;, &quot;1=0&quot;, &quot;2=0&quot;)<br />
  4783. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  4784. &nbsp; &nbsp; &nbsp; &nbsp; // Retrieve max players<br />
  4785. &nbsp; &nbsp; &nbsp; &nbsp; g_maxplayers = get_maxplayers()<br />
  4786. }<br />
  4787. <br />
  4788. // Prechache the sprites<br />
  4789. public plugin_precache()<br />
  4790. {<br />
  4791. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(g_zombie_win)<br />
  4792. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(g_human_win)<br />
  4793. }<br />
  4794. <br />
  4795. // Remove win sprites on new round<br />
  4796. public event_round_start()<br />
  4797. {<br />
  4798. &nbsp; &nbsp; &nbsp; &nbsp; static id<br />
  4799. &nbsp; &nbsp; &nbsp; &nbsp; for (id = 1; id &lt;= g_maxplayers; id++)<br />
  4800. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_remove_hud_sprite(id)<br />
  4801. }<br />
  4802. <br />
  4803. public zp_round_ended(win_team)<br />
  4804. {<br />
  4805. &nbsp; &nbsp; &nbsp; &nbsp; static txtmsg[25]<br />
  4806. &nbsp; &nbsp; &nbsp; &nbsp; // Set the sprites on players HUD<br />
  4807. &nbsp; &nbsp; &nbsp; &nbsp; static id<br />
  4808. &nbsp; &nbsp; &nbsp; &nbsp; for (id = 1; id &lt;= g_maxplayers; id++)<br />
  4809. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  4810. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (equal(txtmsg[1], &quot;Target_Saved&quot;) || equal(txtmsg[1], &quot;CTs_Win&quot;))<br />
  4811. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_display_hud_sprite(id, g_human_win, 0.04)<br />
  4812. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  4813. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zp_display_hud_sprite(id, g_zombie_win, 0.05)<br />
  4814. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  4815. }</code><hr />
  4816. </div></div>
  4817.  
  4818. ]]></content:encoded>
  4819. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  4820. <dc:creator>xAlecsu</dc:creator>
  4821. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347566</guid>
  4822. </item>
  4823. <item>
  4824. <title>Parashute Only for Bots</title>
  4825. <link>https://forums.alliedmods.net/showthread.php?t=347564&amp;goto=newpost</link>
  4826. <pubDate>Sun, 05 May 2024 15:12:27 GMT</pubDate>
  4827. <description>I found this plugin down there.  
  4828. https://forums.alliedmods.net/showthread.php?t=202853
  4829. This plugin is using Parachute admins only. I want to make...</description>
  4830. <content:encoded><![CDATA[<div>I found this plugin down there. <br />
  4831. <a href="https://forums.alliedmods.net/showthread.php?t=202853" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=202853</a><br />
  4832. <br />
  4833. This plugin is using Parachute admins only. I want to make it BOTS ONLY. I think it should be a little tweaks, but I'm noob in scripting. Hoping for you help. Have a nice Day.<br />
  4834. <div style="margin:20px; margin-top:5px">
  4835. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  4836. <div class="alt2">
  4837. <hr />
  4838. <code style="white-space:nowrap">
  4839. <div dir="ltr" style="text-align:left;">
  4840. <!-- php buffer start --><code><span style="color: #000000">
  4841. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;<br />#include&nbsp;&lt;hamsandwich&gt;<br />#include&nbsp;&lt;fakemeta&gt;<br />#include&nbsp;&lt;engine&gt;<br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;<br />new&nbsp;</span><span style="color: #0000BB">pDetach</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pFallSpeed</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pEnabled<br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">gBitAdmin<br /></span><span style="color: #FF8000">#define&nbsp;AddToBit(%1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&nbsp;gBitAdmin&nbsp;|=&nbsp;(1&lt;&lt;%1)&nbsp;)<br />#define&nbsp;RemoveFromBit(%1)&nbsp;&nbsp;&nbsp;&nbsp;(&nbsp;gBitAdmin&nbsp;|=&nbsp;~(1&lt;&lt;%1)&nbsp;)<br />#define&nbsp;IsInBit(%1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&nbsp;gBitAdmin&nbsp;&amp;&nbsp;%1&nbsp;)<br /><br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_precache</span><span style="color: #007700">()<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">precache_model</span><span style="color: #007700">(</span><span style="color: #DD0000">"models/parachute.mdl"</span><span style="color: #007700">)<br /><br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"Parachute"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1.3"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"KRoT@L/JTP10181"</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;edited&nbsp;by&nbsp;^^KaMaZZ~.^<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pEnabled&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"sv_parachute"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pFallSpeed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"parachute_fallspeed"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"100"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pDetach&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"parachute_detach"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Spawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"newSpawn"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"DeathMsg"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"death_event"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"a"</span><span style="color: #007700">)<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iFlags<br />&nbsp;&nbsp;&nbsp;&nbsp;iFlags&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_flags</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iFlags&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">ADMIN_BAN</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">AddToBit</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">parachute_reset</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_disconnect</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">IsInBit</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveFromBit</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">parachute_reset</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">newSpawn</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">IsInBit</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">death_event</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">parachute_reset</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />}<br /><br /></span><span style="color: #0000BB">parachute_reset</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">is_valid_ent</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br /></span><span style="color: #007700">}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_PreThink</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pEnabled</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">IsInBit</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">fallspeed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pcvar_float</span><span style="color: #007700">(</span><span style="color: #0000BB">pFallSpeed</span><span style="color: #007700">)&nbsp;*&nbsp;-</span><span style="color: #0000BB">1.0<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">frame<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_button</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">oldbutton&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_oldbutton</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">flags&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_entity_flags</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;(</span><span style="color: #0000BB">flags&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">FL_ONGROUND</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">pDetach</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">fm_get_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">0.1</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">entity_get_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">)&nbsp;!=&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_animtime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_framerate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">frame&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">entity_get_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">2.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">,</span><span style="color: #0000BB">frame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,</span><span style="color: #0000BB">frame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">frame&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">254.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_USE</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_get_vector</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_VEC_velocity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&lt;=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">create_entity</span><span style="color: #007700">(</span><span style="color: #DD0000">"info_target"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_string</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_SZ_classname</span><span style="color: #007700">,</span><span style="color: #DD0000">"parachute"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_edict</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_ENT_aiment</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_edict</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_ENT_owner</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_movetype</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MOVETYPE_FOLLOW</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_model</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #DD0000">"models/parachute.mdl"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_INT_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_FL_framerate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;=&nbsp;(</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;+&nbsp;</span><span style="color: #0000BB">40.0&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">fallspeed</span><span style="color: #007700">)&nbsp;?&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;+&nbsp;</span><span style="color: #0000BB">40.0&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">fallspeed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entity_set_vector</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">EV_VEC_velocity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">entity_get_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">frame&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">entity_get_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">1.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">,</span><span style="color: #0000BB">frame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,</span><span style="color: #0000BB">frame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">frame&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">100.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_animtime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_framerate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.4</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_int</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_INT_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">entity_set_float</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">EV_FL_fuser1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;((</span><span style="color: #0000BB">oldbutton&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_USE</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">remove_entity</span><span style="color: #007700">(</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">para_ent</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />}&nbsp;<br /><br /><br /></span><span style="color: #0000BB">stock&nbsp;Float</span><span style="color: #007700">:</span><span style="color: #0000BB">fm_get_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">gravity</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_gravity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">gravity</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">gravity</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">stock&nbsp;fm_set_user_gravity</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">gravity&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">index</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_gravity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">gravity</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />}<br /></span><span style="color: #FF8000">/*&nbsp;AMXX-Studio&nbsp;Notes&nbsp;-&nbsp;DO&nbsp;NOT&nbsp;MODIFY&nbsp;BELOW&nbsp;HERE<br />*{\\&nbsp;rtf1\\&nbsp;fbidis\\&nbsp;ansi\\&nbsp;ansicpg1252\\&nbsp;deff0{\\&nbsp;fonttbl{\\&nbsp;f0\\&nbsp;fnil\\&nbsp;fcharset0&nbsp;Tahoma;}}\n\\&nbsp;viewkind4\\&nbsp;uc1\\&nbsp;pard\\&nbsp;ltrpar\\&nbsp;lang13313\\&nbsp;f0\\&nbsp;fs16&nbsp;\n\\&nbsp;par&nbsp;}<br />*/&nbsp;
  4842. <br /></span><span style="color: #0000BB"></span>
  4843. </span>
  4844. </code><!-- php buffer end -->
  4845. </div>
  4846. </code>
  4847. <hr />
  4848. </div>
  4849. </div></div>
  4850.  
  4851. ]]></content:encoded>
  4852. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  4853. <dc:creator>Gooday</dc:creator>
  4854. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347564</guid>
  4855. </item>
  4856. <item>
  4857. <title>Link Resmi Situs Togel Online Terpercaya Di Indonesia - TRANSTOGEL</title>
  4858. <link>https://forums.alliedmods.net/showthread.php?t=347563&amp;goto=newpost</link>
  4859. <pubDate>Sun, 05 May 2024 11:51:37 GMT</pubDate>
  4860. <description><![CDATA[DAFTAR TRANSTOGEL >> https://direct.lc.chat/15127230/
  4861. DAFTAR TRANSTOGEL >> https://direct.lc.chat/15127230/
  4862. Transtogel merupakan situs toto togel...]]></description>
  4863. <content:encoded><![CDATA[<div>DAFTAR TRANSTOGEL &gt;&gt; <a href="https://direct.lc.chat/15127230/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/15127230/</a><br />
  4864. DAFTAR TRANSTOGEL &gt;&gt; <a href="https://direct.lc.chat/15127230/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/15127230/</a><br />
  4865. <br />
  4866. Transtogel merupakan situs toto togel 4d terbesar dan terpercaya di indonesia, yang memiliki pasaran toto togel terbaik dan prediksi togel paling akurat dan tepat. Transtogel merupakan situs toto yang sudah lama berdiri dan menjadi salah satu situs toto togel 4d terbaik se Asia yang menyediakan berbagai macam jenis permainan judi online seperti togel, slot, dan casino. yang bisa anda mainkan di situs toto terpercaya ini. Tidak sampai disitu aja, kami memiliki sebuah hadiah dan bonus toto togel yang besar dan sangat menggiurkan. Hadiah dan promo tersebut bisa kalian rasakan sensasi kemenangan yang fantastis hanya saat bermain di situs toto togel 4d terpercaya Transtogel. Dengan Hadiah Toto Togel 4d senilai 10 juta rupiah.</div>
  4867.  
  4868. ]]></content:encoded>
  4869. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4870. <dc:creator>senjamalamlook</dc:creator>
  4871. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347563</guid>
  4872. </item>
  4873. <item>
  4874. <title>Link Aplikasi Togel BBFS 10 Digit 10 Perak Termurah MAGNUMTOGEL</title>
  4875. <link>https://forums.alliedmods.net/showthread.php?t=347558&amp;goto=newpost</link>
  4876. <pubDate>Sun, 05 May 2024 07:23:38 GMT</pubDate>
  4877. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  4878. ATAU
  4879. KETIK GOOGLE >> MAGNUMTOGEL.COM
  4880. MAGNUMTOGEL menyediakan Daftar Togel BBFS 10 Digit...]]></description>
  4881. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  4882. ATAU<br />
  4883. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  4884. <br />
  4885. MAGNUMTOGEL menyediakan Daftar Togel BBFS 10 Digit Menang Berapapun Pasti diBayar Terbaru bet 100 perak diskon terbesar dengan prize 12345 bolak balik lurus dibayar. Situs togel online terlengkap dan terpercaya memiliki kurang lebih 70 pasaran togel online resmi dan terlengkap di indonesia.<br />
  4886. <br />
  4887. Togel online sekarang menjadi primadona para pecinta togel online karena permainan yang sangat mudah dan lengkap terutama bbfs dan diskon yang besar menjadi daya tarik untuk para bettor. Dikarena pasaran yang semakin banyak sehingga me wanti-wanti situs situs bodong, oleh karena itu kami sebagai agen togel MAGNUMTOGEL menyediakan platform permainan togel yang aman dan terpercaya.</div>
  4888.  
  4889. ]]></content:encoded>
  4890. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4891. <dc:creator>LebahSange</dc:creator>
  4892. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347558</guid>
  4893. </item>
  4894. <item>
  4895. <title><![CDATA[[L4D2] do you guys know what these command do &#10067;]]></title>
  4896. <link>https://forums.alliedmods.net/showthread.php?t=347557&amp;goto=newpost</link>
  4897. <pubDate>Sun, 05 May 2024 04:43:23 GMT</pubDate>
  4898. <description>z_boundary_clear_type
  4899. z_boundary_spread_speed
  4900. z_boundary_max_range
  4901. z_spew_areas
  4902. director_ingress_range
  4903. z_attack_flow_range
  4904. z_chance</description>
  4905. <content:encoded><![CDATA[<div>z_boundary_clear_type<br />
  4906. z_boundary_spread_speed<br />
  4907. z_boundary_max_range<br />
  4908. <br />
  4909. z_spew_areas<br />
  4910. director_ingress_range<br />
  4911. z_attack_flow_range<br />
  4912. z_chance</div>
  4913.  
  4914. ]]></content:encoded>
  4915. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  4916. <dc:creator>bedildewo</dc:creator>
  4917. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347557</guid>
  4918. </item>
  4919. <item>
  4920. <title>WSOSLOT88 : Link Togel BBFS 10 Digit 10 Perak Termurah di ASIA</title>
  4921. <link>https://forums.alliedmods.net/showthread.php?t=347556&amp;goto=newpost</link>
  4922. <pubDate>Sun, 05 May 2024 04:26:21 GMT</pubDate>
  4923. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  4924. ATAU
  4925. KETIK GOOGLE >> WSOSLOT88.COM
  4926. Wsoslot88 menyediakan Daftar Togel BBFS 10 Digit Menang...]]></description>
  4927. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  4928. ATAU<br />
  4929. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  4930. <br />
  4931. Wsoslot88 menyediakan Daftar Togel BBFS 10 Digit Menang Berapapun Pasti diBayar Terbaru bet 100 perak diskon terbesar dengan prize 12345 bolak balik lurus dibayar. Situs togel online terlengkap dan terpercaya memiliki kurang lebih 70 pasaran togel online resmi dan terlengkap di indonesia.<br />
  4932. <br />
  4933. Togel online sekarang menjadi primadona para pecinta togel online karena permainan yang sangat mudah dan lengkap terutama bbfs dan diskon yang besar menjadi daya tarik untuk para bettor. Dikarena pasaran yang semakin banyak sehingga me wanti-wanti situs situs bodong, oleh karena itu kami sebagai agen togel Wsoslot88 menyediakan platform permainan togel yang aman dan terpercaya.<br />
  4934. <br />
  4935. 15 Daftar Togel Deposit LinkAja 5000 Tanpa Potongan Resmi Terpercaya 2023 Agen 10 Situs Judi Bandar Togel Online Terpercaya Terbesar 2023 Situs Toto sebagai situs togel terpercaya dan situs togel resmi toto di Indonesia bersama dengan bersama bandar togel hadiah 4d 10 juta rupiah dan sedikitnya bet 100 perak rupiah. situs togel resmi sekarang sebagai 10 situs togel terpercaya dan termaksud udah terbesar di Indonesia bersama dengan bersama sedia kan 10 pasaran togel resmi terpercaya dan terbesar di global misalnya : togel online Singapore, togel online hongkong, togel online Sydney, togel online toto macau, togel online Taiwan, togel online china, togel online Cambodia, togel online jepang, togel online Havana dan termasuk togel online Budapest. website togel saat ini udah yaitu bandar togel online yang sahih-sahih terpercaya bersama dengan bersama selama-lamanya membayar kemenangan beberapa pemain togelers di Indonesia.</div>
  4936.  
  4937. ]]></content:encoded>
  4938. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  4939. <dc:creator>KuraKura12</dc:creator>
  4940. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347556</guid>
  4941. </item>
  4942. <item>
  4943. <title><![CDATA[[ANY] Unicode Server Name]]></title>
  4944. <link>https://forums.alliedmods.net/showthread.php?t=347555&amp;goto=newpost</link>
  4945. <pubDate>Sun, 05 May 2024 02:38:00 GMT</pubDate>
  4946. <description>*Unicode Host Name*
  4947. Source Dedicated Server is very bad at parsing Unicode characters when reading the server .cfg file, however, it is supported...</description>
  4948. <content:encoded><![CDATA[<div><b><font size="4">Unicode Host Name</font></b><br />
  4949. <br />
  4950. Source Dedicated Server is very bad at parsing Unicode characters when reading the server .cfg file, however, it is supported internally. This plugin correctly applies the <font face="Fixedsys"><b>hostname</b></font> ConVar including all the Unicode characters. Drag and drop and easy to use.<br />
  4951. <br />
  4952. <b><font size="4">ConVars</font></b><br />
  4953. <br />
  4954. None, uninstall plugin to disable.<br />
  4955. <br />
  4956. <b><font size="4">Changelog</font></b><ul><li><b>1.0.0</b><ul><li>Initial Release</li>
  4957. </ul></li>
  4958. </ul><b><font size="4">Special Considerations</font></b><br />
  4959. <br />
  4960. Only server names defined in the server's desired <font face="Fixedsys"><b>.cfg</b></font> file are supported. Launching your server with the <font face="Fixedsys"><b>+hostname</b></font> parameter is not supported.<br />
  4961. <br />
  4962. <b><font size="4">Supported Games</font></b><br />
  4963. <ul><li>Every Source Engine game should be supported in theory. But only Left 4 Dead 2 was tested.</li>
  4964. </ul><b><font size="4">Screenshots</font></b></div>
  4965.  
  4966.  
  4967. <br />
  4968. <div style="padding:6px">
  4969.  
  4970. <fieldset class="fieldset">
  4971. <legend>Attached Thumbnails</legend>
  4972. <div style="padding:3px">
  4973. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204281&amp;d=1714876529" rel="Lightbox_2822125" id="attachment204281"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204281&amp;stc=1&amp;thumb=1&amp;d=1714876529" border="0" alt="Click image for larger version
  4974.  
  4975. Name: Screenshot from 2024-05-04 22-31-43.png
  4976. Views: N/A
  4977. Size: 46.2 KB
  4978. ID: 204281" /></a>
  4979. &nbsp;
  4980.  
  4981. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204282&amp;d=1714876542" rel="Lightbox_2822125" id="attachment204282"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204282&amp;stc=1&amp;thumb=1&amp;d=1714876542" border="0" alt="Click image for larger version
  4982.  
  4983. Name: Screenshot from 2024-05-04 22-31-53.png
  4984. Views: N/A
  4985. Size: 30.0 KB
  4986. ID: 204282" /></a>
  4987. &nbsp;
  4988.  
  4989. </div>
  4990. </fieldset>
  4991.  
  4992.  
  4993.  
  4994. <fieldset class="fieldset">
  4995. <legend>Attached Files</legend>
  4996. <table cellpadding="0" cellspacing="3" border="0">
  4997. <tr>
  4998. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  4999. <td>
  5000. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204283"><strong>Get Plugin</strong></a> or
  5001. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204283&amp;d=1714876602">Get Source</a> (unicode_hostname.sp - 2.5 KB)
  5002. </td>
  5003. </tr>
  5004. </table>
  5005. </fieldset>
  5006.  
  5007. </div>
  5008. ]]></content:encoded>
  5009. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  5010. <dc:creator>gabuch2</dc:creator>
  5011. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347555</guid>
  5012. </item>
  5013. <item>
  5014. <title>How can I change my wargods scan Unique Id</title>
  5015. <link>https://forums.alliedmods.net/showthread.php?t=347552&amp;goto=newpost</link>
  5016. <pubDate>Sat, 04 May 2024 21:59:46 GMT</pubDate>
  5017. <description>After using an HPP cheat for a period, I decided to cease cheating. However, despite abstaining from cheats for some time now, I continue to receive...</description>
  5018. <content:encoded><![CDATA[<div>After using an HPP cheat for a period, I decided to cease cheating. However, despite abstaining from cheats for some time now, I continue to receive red flags in the wc scan. Is there a method to rectify this and establish a fresh, untarnished profile in WarGods?</div>
  5019.  
  5020. ]]></content:encoded>
  5021. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=131">HL1 Servers (HLDS)</category>
  5022. <dc:creator>gamaji</dc:creator>
  5023. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347552</guid>
  5024. </item>
  5025. <item>
  5026. <title>infection bomb for biohazard</title>
  5027. <link>https://forums.alliedmods.net/showthread.php?t=347551&amp;goto=newpost</link>
  5028. <pubDate>Sat, 04 May 2024 18:56:40 GMT</pubDate>
  5029. <description><![CDATA[Hello ,someone have 1 script or example for infection bomb ? I don't find anything for biohazard  .]]></description>
  5030. <content:encoded><![CDATA[<div>Hello ,someone have 1 script or example for infection bomb ? I don't find anything for biohazard  .</div>
  5031.  
  5032. ]]></content:encoded>
  5033. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  5034. <dc:creator>xAlecsu</dc:creator>
  5035. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347551</guid>
  5036. </item>
  5037. <item>
  5038. <title>why someone said TeleportEntity() always fire after 1 frame?</title>
  5039. <link>https://forums.alliedmods.net/showthread.php?t=347550&amp;goto=newpost</link>
  5040. <pubDate>Sat, 04 May 2024 17:38:40 GMT</pubDate>
  5041. <description>I am not sure about that. Is there any evidence to support this situation? And he also said that DispatchKeyValueVector() will faster than teleport....</description>
  5042. <content:encoded><![CDATA[<div>I am not sure about that. Is there any evidence to support this situation? And he also said that DispatchKeyValueVector() will faster than teleport.<br />
  5043. <br />
  5044. I check the code in sourcemod-master. The different between dispatch and teleport is that TeleportEntity() will start a call for gamedata like GlobeFoward to call the server function, and then store it in a arraylist, but DispatchKeyValueVector() use a servertool to set the vector directly for an entity.<br />
  5045. <br />
  5046. Also i have test the time of function fire in game, they always fire in the same GetTickedTime(). Both of them GetEngineTime() is late but sometime they can fire in the same GetEngineTime().</div>
  5047.  
  5048. ]]></content:encoded>
  5049. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  5050. <dc:creator>LinLinLin</dc:creator>
  5051. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347550</guid>
  5052. </item>
  5053. <item>
  5054. <title><![CDATA[[ANY] Teleport Client Plugin]]></title>
  5055. <link>https://forums.alliedmods.net/showthread.php?t=347549&amp;goto=newpost</link>
  5056. <pubDate>Sat, 04 May 2024 14:42:17 GMT</pubDate>
  5057. <description><![CDATA[This is a plugin based off of the bring/goto plugin from tf2 which doesn't work in the source mods so i decided to make this invoke the cheat...]]></description>
  5058. <content:encoded><![CDATA[<div>This is a plugin based off of the bring/goto plugin from tf2 which doesn't work in the source mods so i decided to make this invoke the cheat commands, getpos through functions and setpos on the target to teleport to them or bring them!<br />
  5059. <br />
  5060. This should work on the TF2 sourcemod's for admins to use!<br />
  5061. <br />
  5062. CVARS:<br />
  5063. sm_bring - Brings a specified client to you<br />
  5064. sm_goto - Teleports you to the specified client</div>
  5065.  
  5066.  
  5067. <br />
  5068. <div style="padding:6px">
  5069.  
  5070.  
  5071.  
  5072.  
  5073. <fieldset class="fieldset">
  5074. <legend>Attached Files</legend>
  5075. <table cellpadding="0" cellspacing="3" border="0">
  5076. <tr>
  5077. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  5078. <td>
  5079. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204277&amp;d=1714833718">Teleport.smx</a> (5.2 KB)
  5080. </td>
  5081. </tr><tr>
  5082. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  5083. <td>
  5084. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204278"><strong>Get Plugin</strong></a> or
  5085. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204278&amp;d=1714833718">Get Source</a> (Teleport.sp - 3.0 KB)
  5086. </td>
  5087. </tr>
  5088. </table>
  5089. </fieldset>
  5090.  
  5091. </div>
  5092. ]]></content:encoded>
  5093. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  5094. <dc:creator>chromatikmoniker</dc:creator>
  5095. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347549</guid>
  5096. </item>
  5097. <item>
  5098. <title><![CDATA[[req] problem with uq_jumpstats (mysql fix)]]></title>
  5099. <link>https://forums.alliedmods.net/showthread.php?t=347548&amp;goto=newpost</link>
  5100. <pubDate>Sat, 04 May 2024 10:22:59 GMT</pubDate>
  5101. <description>Thanks for reading.
  5102. I have a rather small issue with uq_jumpstats, I think if someone fixes this all people will benefit
  5103. I connected...</description>
  5104. <content:encoded><![CDATA[<div>Thanks for reading.<br />
  5105. <br />
  5106. I have a rather small issue with uq_jumpstats, I think if someone fixes this all people will benefit<br />
  5107. <br />
  5108. I connected uq_jumpstats to mysql, and I find out that special characters are not working in the database, let me show you what I mean:<br />
  5109. <br />
  5110. <div style="margin:20px; margin-top:5px; ">
  5111. <div class="smallfont" style="margin-bottom:2px">Quote:</div>
  5112. <table cellpadding="6" cellspacing="0" border="0" width="100%">
  5113. <tr>
  5114. <td class="alt2">
  5115. <hr />
  5116. It should look like this: <br />
  5117. <br />
  5118. name &quot;&#12456; &#12457; &#12458; &#12459; &#12460; &#12461; &#12462; &#12463; &#12464; &#12465; &#12466; &quot;<br />
  5119. ______________________________<br />
  5120. <br />
  5121. But It looks like this in the web page:<br />
  5122. <br />
  5123. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204275" target="_blank" title="Name:  
  5124. Views:
  5125. Size:  ">Attachment 204275</a><br />
  5126. ______________________________<br />
  5127. <br />
  5128. In the database It is the same issue:<br />
  5129. <br />
  5130. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204276" target="_blank" title="Name:  
  5131. Views:
  5132. Size:  ">Attachment 204276</a>
  5133. <hr />
  5134. </td>
  5135. </tr>
  5136. </table>
  5137. </div><i>Who's willing to fix this?</i><br />
  5138. ________________________<br />
  5139. <br />
  5140. Link to the plugin:<br />
  5141. <br />
  5142. <a href="https://forums.alliedmods.net/showthread.php?t=141586" target="_blank" rel="noopener">https://forums.alliedmods.net/showthread.php?t=141586</a></div>
  5143.  
  5144.  
  5145. <br />
  5146. <div style="padding:6px">
  5147.  
  5148. <fieldset class="fieldset">
  5149. <legend>Attached Thumbnails</legend>
  5150. <div style="padding:3px">
  5151. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204275&amp;d=1714817721" rel="Lightbox_2822076" id="attachment204275"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204275&amp;stc=1&amp;thumb=1&amp;d=1714817721" border="0" alt="Click image for larger version
  5152.  
  5153. Name: o.jpg
  5154. Views: N/A
  5155. Size: 5.4 KB
  5156. ID: 204275" /></a>
  5157. &nbsp;
  5158.  
  5159. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204276&amp;d=1714817829" rel="Lightbox_2822076" id="attachment204276"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=204276&amp;stc=1&amp;thumb=1&amp;d=1714817829" border="0" alt="Click image for larger version
  5160.  
  5161. Name: oo.jpg
  5162. Views: N/A
  5163. Size: 6.2 KB
  5164. ID: 204276" /></a>
  5165. &nbsp;
  5166.  
  5167. </div>
  5168. </fieldset>
  5169.  
  5170.  
  5171.  
  5172.  
  5173. </div>
  5174. ]]></content:encoded>
  5175. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  5176. <dc:creator>sigerman</dc:creator>
  5177. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347548</guid>
  5178. </item>
  5179. <item>
  5180. <title>1.11 - build 6962:(virus)</title>
  5181. <link>https://forums.alliedmods.net/showthread.php?t=347546&amp;goto=newpost</link>
  5182. <pubDate>Sat, 04 May 2024 09:54:12 GMT</pubDate>
  5183. <description>I get a virus warning when i try to download the latest stable build
  5184. https://www.sourcemod.net/downloads.php?branch=stable</description>
  5185. <content:encoded><![CDATA[<div>I get a virus warning when i try to download the latest stable build<br />
  5186. <br />
  5187. <a href="https://www.sourcemod.net/downloads.php?branch=stable" target="_blank" rel="nofollow noopener">https://www.sourcemod.net/downloads.php?branch=stable</a></div>
  5188.  
  5189. ]]></content:encoded>
  5190. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  5191. <dc:creator>lhffan</dc:creator>
  5192. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347546</guid>
  5193. </item>
  5194. <item>
  5195. <title><![CDATA[[Help / Support] ZP5.0 "fm_set_rendering" problem!]]></title>
  5196. <link>https://forums.alliedmods.net/showthread.php?t=347544&amp;goto=newpost</link>
  5197. <pubDate>Sat, 04 May 2024 07:17:27 GMT</pubDate>
  5198. <description>Hello! I have this speed boost by MeRcyLeZZ and I was trying add a glowing effect to the player who has bought the speed boost and it was successful...</description>
  5199. <content:encoded><![CDATA[<div>Hello! I have this speed boost by MeRcyLeZZ and I was trying add a glowing effect to the player who has bought the speed boost and it was successful except for the humans.<br />
  5200. <br />
  5201. Whenever zombies buy the speed boost, they get the glowing effect, but when humans buy it, they do not have the glowing effect...<br />
  5202. <br />
  5203. Any idea what causes this?<br />
  5204. <br />
  5205. Code; (SMA INCLUDED)<br />
  5206. <br />
  5207. #include &lt;amxmodx&gt;<br />
  5208. #include &lt;fakemeta&gt;<br />
  5209. #include &lt;hamsandwich&gt;<br />
  5210. #include &lt;zp50_core&gt; <br />
  5211. #include &lt;zp50_items&gt; <br />
  5212. #include &lt;zp50_class_nemesis&gt; <br />
  5213. #include &lt;zp50_class_survivor&gt;  <br />
  5214. <br />
  5215. const TASK_SPEED_BOOST = 100<br />
  5216. #define ID_SPEED_BOOST (taskid - TASK_SPEED_BOOST)<br />
  5217. <br />
  5218. // Hack to be able to use Ham_Player_ResetMaxSpeed (by joaquimandrade)<br />
  5219. new Ham:Ham_Player_ResetMaxSpeed = Ham_Item_PreFrame<br />
  5220. <br />
  5221. new g_itemid_boost<br />
  5222. new cvar_boost_amount<br />
  5223. new cvar_boost_duration<br />
  5224. new g_has_speed_boost[33]<br />
  5225. new g_sb_red, g_sb_green, g_sb_blue<br />
  5226. <br />
  5227. public plugin_init()<br />
  5228. {<br />
  5229.    register_plugin(&quot;[ZP] Extra Item Speed Boost&quot;, &quot;1.2&quot;, &quot;MeRcyLeZZ&quot;)<br />
  5230.    <br />
  5231.    g_itemid_boost = zp_items_register(&quot;Speed Boost&quot;, 5)<br />
  5232.    cvar_boost_amount = register_cvar(&quot;zp_boost_amount&quot;, &quot;100.0&quot;)<br />
  5233.    cvar_boost_duration = register_cvar(&quot;zp_boost_duration&quot;, &quot;5.0&quot;)<br />
  5234. g_sb_red = register_cvar(&quot;zp_sb_red_color&quot;, &quot;150&quot;)<br />
  5235. g_sb_green = register_cvar(&quot;zp_sb_green_color&quot;, &quot;0&quot;)<br />
  5236. g_sb_blue = register_cvar(&quot;zp_sb_blue_color&quot;, &quot;100&quot;)<br />
  5237.    <br />
  5238.    RegisterHam(Ham_Player_ResetMaxSpeed, &quot;player&quot;, &quot;fw_ResetMaxSpeed_Post&quot;, 1)<br />
  5239.    RegisterHam(Ham_Killed, &quot;player&quot;, &quot;fw_PlayerKilled&quot;)<br />
  5240.    register_event(&quot;HLTV&quot;, &quot;event_round_start&quot;, &quot;a&quot;, &quot;1=0&quot;, &quot;2=0&quot;)<br />
  5241. }<br />
  5242. <br />
  5243. public zp_fw_items_select_pre(id, itemid, ignorecost)<br />
  5244. {<br />
  5245.    if (itemid == g_itemid_boost)<br />
  5246.    {               <br />
  5247.        // Don't show to nemesis and survivor<br />
  5248.        if(zp_class_nemesis_get(id) || zp_class_survivor_get(id))<br />
  5249.        {<br />
  5250.            return ZP_ITEM_DONT_SHOW;     <br />
  5251.        }<br />
  5252.         <br />
  5253.        // Player frozen (or CS freezetime)<br />
  5254.        if (pev(id, pev_maxspeed) &lt;= 1)<br />
  5255.        {<br />
  5256.            client_print(id, print_chat, &quot;[ZP] You can't use this item when frozen.&quot;);<br />
  5257.            return ZP_ITEM_NOT_AVAILABLE;<br />
  5258.        }<br />
  5259.        <br />
  5260.        // Already using speed boost<br />
  5261.        if (g_has_speed_boost[id])<br />
  5262.        {<br />
  5263.            client_print(id, print_chat, &quot;[ZP] You already have the speed boost.&quot;);<br />
  5264.            return ZP_ITEM_NOT_AVAILABLE;<br />
  5265.        }<br />
  5266.    }                <br />
  5267.    return ZP_ITEM_AVAILABLE;<br />
  5268. } <br />
  5269. <br />
  5270. public zp_fw_items_select_post(id, itemid, ignorecost) <br />
  5271. {   <br />
  5272.    if (itemid == g_itemid_boost) <br />
  5273.    {   <br />
  5274.        if(is_user_alive(id))<br />
  5275.        {      <br />
  5276.            // Enable speed boost<br />
  5277.            fm_set_rendering(id, kRenderFxGlowShell, get_pcvar_num(g_sb_red), get_pcvar_num(g_sb_green), get_pcvar_num(g_sb_blue), kRenderNormal, 255);<br />
  5278.            g_has_speed_boost[id] = true;<br />
  5279.            client_print(id, print_chat, &quot;[ZP] Speed boost enabled!&quot;);<br />
  5280.        <br />
  5281.            // Set the restore speed task<br />
  5282.            set_task(get_pcvar_float(cvar_boost_duration)  , &quot;restore_maxspeed&quot;, id+TASK_SPEED_BOOST);<br />
  5283.        <br />
  5284.            // Update player's maxspeed<br />
  5285.            ExecuteHamB(Ham_Player_ResetMaxSpeed, id);<br />
  5286.        } <br />
  5287.    }    <br />
  5288. }<br />
  5289. <br />
  5290. public restore_maxspeed(taskid)<br />
  5291. {<br />
  5292.    // Disable speed boost<br />
  5293.    g_has_speed_boost[ID_SPEED_BOOST] = false;<br />
  5294.    fm_set_rendering(ID_SPEED_BOOST, kRenderFxNone, 0, 0 ,0, kRenderNormal, 255);<br />
  5295.    client_print(ID_SPEED_BOOST, print_chat, &quot;[ZP] Speed boost is over.&quot;);<br />
  5296.    <br />
  5297.    // Update player's maxspeed<br />
  5298.    ExecuteHamB(Ham_Player_ResetMaxSpeed, ID_SPEED_BOOST);<br />
  5299. }<br />
  5300. <br />
  5301. // Remove speed boost task when infected, humanized, killed, or disconnected<br />
  5302. public zp_fw_core_infect(id, attacker)<br />
  5303. {<br />
  5304.    g_has_speed_boost[id] = false;<br />
  5305.    remove_task(id+TASK_SPEED_BOOST);<br />
  5306. }<br />
  5307. public zp_fw_core_cure(id, attacker)<br />
  5308. {<br />
  5309.    g_has_speed_boost[id] = false;<br />
  5310.    remove_task(id+TASK_SPEED_BOOST);<br />
  5311. }<br />
  5312. public fw_PlayerKilled(victim)<br />
  5313. {<br />
  5314.    g_has_speed_boost[victim] = false;<br />
  5315.    remove_task(victim+TASK_SPEED_BOOST);<br />
  5316. }<br />
  5317. public client_disconnect(id)<br />
  5318. {<br />
  5319.    g_has_speed_boost[id] = false;<br />
  5320.    remove_task(id+TASK_SPEED_BOOST);<br />
  5321. }<br />
  5322. <br />
  5323. // Remove speed boost at round start<br />
  5324. public event_round_start()<br />
  5325. {<br />
  5326.    new id;<br />
  5327.    for (id = 1; id &lt;= get_maxplayers(); id++)<br />
  5328.    {<br />
  5329.        g_has_speed_boost[id] = false;<br />
  5330.        remove_task(id+TASK_SPEED_BOOST);<br />
  5331.    }<br />
  5332. }<br />
  5333. <br />
  5334. public fw_ResetMaxSpeed_Post(id)<br />
  5335. {<br />
  5336.    if (!is_user_alive(id) || !g_has_speed_boost[id])<br />
  5337.        return;<br />
  5338.    <br />
  5339.    // Apply speed boost<br />
  5340.    new Float:current_maxspeed;<br />
  5341.    pev(id, pev_maxspeed, current_maxspeed);<br />
  5342.    set_pev(id, pev_maxspeed, current_maxspeed + get_pcvar_float(cvar_boost_amount));<br />
  5343. } <br />
  5344. <br />
  5345. stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) <br />
  5346. {<br />
  5347.    new Float:RenderColor[3];<br />
  5348.    RenderColor[0] = float(r);<br />
  5349.    RenderColor[1] = float(g);<br />
  5350.    RenderColor[2] = float(b);<br />
  5351. <br />
  5352.    set_pev(entity, pev_renderfx, fx);<br />
  5353.    set_pev(entity, pev_rendercolor, RenderColor);<br />
  5354.    set_pev(entity, pev_rendermode, render);<br />
  5355.    set_pev(entity, pev_renderamt, float(amount));<br />
  5356. <br />
  5357.    return 1;<br />
  5358. }</div>
  5359.  
  5360.  
  5361. <br />
  5362. <div style="padding:6px">
  5363.  
  5364.  
  5365.  
  5366.  
  5367. <fieldset class="fieldset">
  5368. <legend>Attached Files</legend>
  5369. <table cellpadding="0" cellspacing="3" border="0">
  5370. <tr>
  5371. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  5372. <td>
  5373. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204274"><strong>Get Plugin</strong></a> or
  5374. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204274&amp;d=1714807077">Get Source</a> (ZP_Extra_Speed_Boost50.sma - 4.6 KB)
  5375. </td>
  5376. </tr>
  5377. </table>
  5378. </fieldset>
  5379.  
  5380. </div>
  5381. ]]></content:encoded>
  5382. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=126">Zombie Plague Mod</category>
  5383. <dc:creator>kaiii</dc:creator>
  5384. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347544</guid>
  5385. </item>
  5386. <item>
  5387. <title>Bandar Casino IDN Live Terbesar No.1 di MAGNUMTOGEL</title>
  5388. <link>https://forums.alliedmods.net/showthread.php?t=347543&amp;goto=newpost</link>
  5389. <pubDate>Sat, 04 May 2024 06:21:44 GMT</pubDate>
  5390. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  5391. ATAU
  5392. KETIK GOOGLE >> MAGNUMTOGEL.COM
  5393. Keyword Terkait :
  5394. magumtogel
  5395. magnumtoto...]]></description>
  5396. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  5397. ATAU<br />
  5398. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  5399. <br />
  5400. Keyword Terkait :<br />
  5401. magumtogel<br />
  5402. magnumtoto<br />
  5403. magnumtogel88<br />
  5404. admin magnumtogel<br />
  5405. link alternatif magnumtogel<br />
  5406. link resmi magnumtogel<br />
  5407. link gacor magnumtogel<br />
  5408. cs admin magnumtogel<br />
  5409. cs terbaik aktif 24 jam magnumtogel<br />
  5410. rtp magnumtogel<br />
  5411. bocoran magnumtogel<br />
  5412. magnumtogel anti nawala<br />
  5413. Apk magnumtogel<br />
  5414. Apk anti nawala<br />
  5415. Freebet 30k<br />
  5416. Freebet 20k<br />
  5417. Freebet slot<br />
  5418. Apk magnumtogel toto<br />
  5419. Link apk magnumtogel<br />
  5420. Magnumtogel live<br />
  5421. Prediksi magnumtogel<br />
  5422. Prediksi magnumtoto<br />
  5423. Prediksi master togel magnumtogel<br />
  5424. Prediksi togel harian<br />
  5425. Livedraw magnumtogel<br />
  5426. Livedraw togel hk<br />
  5427. casino live terbesar</div>
  5428.  
  5429. ]]></content:encoded>
  5430. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  5431. <dc:creator>LebahSange</dc:creator>
  5432. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347543</guid>
  5433. </item>
  5434. <item>
  5435. <title>Freebet Baccarat Live IDN Resmi Tanpa Deposit Tanpa Syarat WSOSLOT88</title>
  5436. <link>https://forums.alliedmods.net/showthread.php?t=347540&amp;goto=newpost</link>
  5437. <pubDate>Sat, 04 May 2024 04:23:12 GMT</pubDate>
  5438. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  5439. ATAU
  5440. KETIK GOOGLE >> WSOSLOT88.COM
  5441. WsoSlot88 adalah sebuah situs judi live casino online...]]></description>
  5442. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  5443. ATAU<br />
  5444. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  5445. <br />
  5446. WsoSlot88 adalah sebuah situs judi live casino online uang asli terbaik dan terpercaya tahun 2023. Bagi ada yang tertarik untuk bermain permainan di stasiun online, tentu sekarang bisa bergabung bersama pilihan situs agen judi Casino yang resmi dan terpercaya di Indonesia. Diantaranya yaitu di mana anda menjadi pemain bisa langsung bergabung bersama situs online live WsoSlot88. Di sini kami menghadirkan terhadap variasi pada agen baccarat yang pertaruhan menuju di online lengkap mulai dari judi bacarat online, judi rolet online, judi dadu online dan banyak lagi variasi games online lainnya tersedia.<br />
  5447. <br />
  5448. Casino Online sendiri Memang jadi pilihan game yang cukup ramai dan banyak peminatnya saat ini terutama Indonesia. Banyak sekali para pecinta taruhan Indonesia yang tertarik untuk mencoba bermain di dan memainkan permainan judi casino online tersebut. Apalagi sistem mainnya Sekarang sudah menggunakan sistem main online live WsoSlot88 online secara streaming. Siapapun kemudian bisa memainkan permainan taruhan game rolet online, judi judi baccarat, dan lain sebagainya menggunakan smartphone ataupun juga komputer laptop. Sistem permainannya sendiri saat ini kemudian juga hadir secara terintegrasi menggunakan satu user ID. Daftar akun satu kali, anda sudah bisa menikmati ragam variasi Permainan mulai dari baccarat online terpercaya uang asli, rolet online terpercaya, sicbo dan banyak lagi lainnya.</div>
  5449.  
  5450. ]]></content:encoded>
  5451. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  5452. <dc:creator>KuraKura12</dc:creator>
  5453. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347540</guid>
  5454. </item>
  5455. <item>
  5456. <title>mangeur</title>
  5457. <link>https://forums.alliedmods.net/showthread.php?t=347539&amp;goto=newpost</link>
  5458. <pubDate>Sat, 04 May 2024 01:13:37 GMT</pubDate>
  5459. <description>// server.cfg
  5460. //****************************************
  5461. // Servername, Rcon-Passwort, Framerate
  5462. //****************************************...</description>
  5463. <content:encoded><![CDATA[<div>// server.cfg<br />
  5464. //****************************************<br />
  5465. // Servername, Rcon-Passwort, Framerate<br />
  5466. //****************************************<br />
  5467. hostname &quot;your server-name&quot;<br />
  5468. rcon_password &quot;your-rcon-password&quot;<br />
  5469. fps_max &quot;66.66&quot;<br />
  5470. <br />
  5471. //***********************************<br />
  5472. // Bots<br />
  5473. //***********************************<br />
  5474. bot_add<br />
  5475. bot_all_weapons<br />
  5476. bot_allow_grenades 1<br />
  5477. bot_allow_grenades 1<br />
  5478. bot_allow_machine_guns 1<br />
  5479. bot_allow_pistols 1<br />
  5480. bot_allow_rifles 1<br />
  5481. bot_allow_rogues 1<br />
  5482. bot_allow_shotguns 1<br />
  5483. bot_allow_snipers 1<br />
  5484. bot_allow_sub_machine_guns 1<br />
  5485. bot_auto_follow 0<br />
  5486. bot_auto_vacate 1<br />
  5487. bot_chatter off<br />
  5488. bot_defer_to_human 0<br />
  5489. bot_difficulty 0<br />
  5490. bot_eco_limit 2000<br />
  5491. bot_join_after_player 0<br />
  5492. bot_join_team any<br />
  5493. bot_prefix &quot;[0]&quot; // hier die bot_difficulty eintragen<br />
  5494. bot_quota 8 // &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;------------------------ 6<br />
  5495. bot_quota_mode fill<br />
  5496. bot_walk 0<br />
  5497. <br />
  5498. //***************************************<br />
  5499. // Spraylogos maximal alle 40 Sekunden<br />
  5500. //***************************************<br />
  5501. decalfrequency 40<br />
  5502. <br />
  5503. //***********************************<br />
  5504. // Bannlistenverwaltung<br />
  5505. //***********************************<br />
  5506. exec banned_ip.cfg<br />
  5507. exec banned_user.cfg<br />
  5508. <br />
  5509. //***********************************<br />
  5510. // Logging<br />
  5511. //***********************************<br />
  5512. log on<br />
  5513. <br />
  5514. //***********************************<br />
  5515. // Alle Multiplayer-Parameter<br />
  5516. //***********************************<br />
  5517. mp_allowspectators 1<br />
  5518. mp_autokick 0<br />
  5519. mp_autoteambalance 1<br />
  5520. mp_c4timer 35<br />
  5521. mp_chattime 10<br />
  5522. mp_falldamage 1<br />
  5523. mp_flashlight 1<br />
  5524. mp_flashlight 1<br />
  5525. mp_footsteps 1<br />
  5526. mp_footsteps 1<br />
  5527. mp_forcecamera 0<br />
  5528. mp_fraglimit 40<br />
  5529. mp_freezetime 1<br />
  5530. mp_friendlyfire 1<br />
  5531. mp_friendlyfire 1<br />
  5532. mp_hostagepenalty 3<br />
  5533. mp_limitteams 1<br />
  5534. mp_maxrounds 0<br />
  5535. mp_playerid 1 // Bei CrosshairOver: 0=AlleNamen 1=NurTeammates 2=KeineNamen<br />
  5536. mp_roundtime 3<br />
  5537. mp_spawnprotectiontime 4<br />
  5538. mp_startmoney 1000<br />
  5539. mp_teamplay 1 // TDM<br />
  5540. mp_timelimit 13 // 1 Map wird max 13 Minuten gespielt.<br />
  5541. mp_tkpunish 0<br />
  5542. mp_winlimit 0<br />
  5543. <br />
  5544. //***********************************<br />
  5545. // *** Maximale Mapgroesse ***<br />
  5546. //***********************************<br />
  5547. net_maxfilesize 64<br />
  5548. <br />
  5549. //***********************************<br />
  5550. // *** Die Serverparameter ***<br />
  5551. //***********************************<br />
  5552. sv_allowdownload 1<br />
  5553. sv_allowupload 1<br />
  5554. sv_alltalk 0<br />
  5555. sv_cheats 0<br />
  5556. sv_consistency 1<br />
  5557. sv_downloadurl &quot;&quot;<br />
  5558. sv_ignoregrenaderadio 1 // abschalten von 'fire in the hole' serverseitig<br />
  5559. sv_lan 0 // 0=Internet+LAN 1=LAN<br />
  5560. sv_maxspeed 320<br />
  5561. sv_pausable 0<br />
  5562. sv_rcon_maxfailures 2<br />
  5563. sv_rcon_minfailures 1<br />
  5564. sv_region 3 // Europa<br />
  5565. sv_tags &quot;your-tags&quot;<br />
  5566. sv_timeout 65<br />
  5567. sv_voiceenable 1<br />
  5568. <br />
  5569. //***********************************<br />
  5570. // *** Gameplay ***<br />
  5571. //***********************************<br />
  5572. //phys_pushscale 12<br />
  5573. <br />
  5574. // //sv_pure 0</div>
  5575.  
  5576. ]]></content:encoded>
  5577. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=130">Source Servers (SRCDS)</category>
  5578. <dc:creator>mangeur de haraga</dc:creator>
  5579. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347539</guid>
  5580. </item>
  5581. <item>
  5582. <title>Request modify .sma to inl.</title>
  5583. <link>https://forums.alliedmods.net/showthread.php?t=347538&amp;goto=newpost</link>
  5584. <pubDate>Sat, 04 May 2024 00:09:19 GMT</pubDate>
  5585. <description><![CDATA[Hello this is the .sma
  5586. Code:
  5587. ---------
  5588. #include <amxmodx>
  5589. #include <engine>
  5590. #include <fakemeta>
  5591. #include <fakemeta_util>
  5592. #include...]]></description>
  5593. <content:encoded><![CDATA[<div>Hello this is the .sma<br />
  5594. <div style="margin:20px; margin-top:5px">
  5595. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  5596. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;amxmodx&gt;<br />
  5597. #include &lt;engine&gt;<br />
  5598. #include &lt;fakemeta&gt;<br />
  5599. #include &lt;fakemeta_util&gt;<br />
  5600. #include &lt;hamsandwich&gt;<br />
  5601. #include &lt;cstrike&gt;<br />
  5602. #include &lt;xs&gt;<br />
  5603. <br />
  5604. #define PLUGIN &quot;Dragon Sword&quot;<br />
  5605. #define VERSION &quot;2.0&quot;<br />
  5606. #define AUTHOR &quot;Dias Leon&quot;<br />
  5607. <br />
  5608. #define V_MODEL &quot;models/v_dragonsword2.mdl&quot;<br />
  5609. #define P_MODEL &quot;models/p_dragonsword.mdl&quot;<br />
  5610. <br />
  5611. #define CSW_DRAGONSWORD CSW_KNIFE<br />
  5612. #define weapon_dragonsword &quot;weapon_knife&quot;<br />
  5613. #define WEAPON_ANIMEXT &quot;knife&quot; //&quot;skullaxe&quot;<br />
  5614. <br />
  5615. #define DRAW_TIME 1.0<br />
  5616. <br />
  5617. #define SLASH_ROTATE_DAMAGE 75.0<br />
  5618. #define SLASH_ROTATE_RADIUS 110.0<br />
  5619. #define SLASH_ROTATE_POINT_DIS 60.0<br />
  5620. #define SLASH_ROTATE_DELAY_TIME 0.7<br />
  5621. #define SLASH_ROTATE_RESET_TIME 1.0<br />
  5622. <br />
  5623. #define SLASH_AHEAD_DAMAGE 90.0<br />
  5624. #define SLASH_AHEAD_RADIUS 90.0<br />
  5625. #define SLASH_AHEAD_POINT_DIS 30.0<br />
  5626. #define SLASH_AHEAD_DELAY_TIME 0.3<br />
  5627. #define SLASH_AHEAD_RESET_TIME 0.9<br />
  5628. <br />
  5629. #define STAB_DAMAGE 110.0<br />
  5630. #define STAB_RADIUS 100.0<br />
  5631. #define STAB_POINT_DIS 80.0<br />
  5632. #define STAB_TIME 0.657<br />
  5633. #define STAB_RESET_TIME 0.75<br />
  5634. <br />
  5635. #define TASK_SLASHING 2033+20<br />
  5636. #define TASK_STABING 2033+10<br />
  5637. <br />
  5638. // OFFSET<br />
  5639. const PDATA_SAFE = 2<br />
  5640. const OFFSET_LINUX_WEAPONS = 4<br />
  5641. const OFFSET_WEAPONOWNER = 41<br />
  5642. const m_flNextAttack = 83<br />
  5643. const m_szAnimExtention = 492<br />
  5644. <br />
  5645. new const DragonSword_Sound[8][] = <br />
  5646. {<br />
  5647. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_draw.wav&quot;,<br />
  5648. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_hit1.wav&quot;,<br />
  5649. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_hit2.wav&quot;,<br />
  5650. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_idle.wav&quot;,<br />
  5651. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_slash1.wav&quot;,<br />
  5652. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_slash2.wav&quot;,<br />
  5653. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_stab_hit.wav&quot;,<br />
  5654. &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/dragonsword_wall.wav&quot;<br />
  5655. }<br />
  5656. <br />
  5657. enum<br />
  5658. {<br />
  5659. &nbsp; &nbsp; &nbsp; &nbsp; ATTACK_SLASH_ROTATE = 1,<br />
  5660. &nbsp; &nbsp; &nbsp; &nbsp; ATTACK_SLASH_AHEAD,<br />
  5661. &nbsp; &nbsp; &nbsp; &nbsp; ATTACK_STAB<br />
  5662. }<br />
  5663. <br />
  5664. enum<br />
  5665. {<br />
  5666. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_IDLE = 0,<br />
  5667. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_SLASH_ROTATE,<br />
  5668. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_SLASH_AHEAD,<br />
  5669. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_DRAW,<br />
  5670. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_STAB_BEGIN,<br />
  5671. &nbsp; &nbsp; &nbsp; &nbsp; DS_ANIM_STAB_END<br />
  5672. }<br />
  5673. <br />
  5674. enum<br />
  5675. {<br />
  5676. &nbsp; &nbsp; &nbsp; &nbsp; HIT_NOTHING = 0,<br />
  5677. &nbsp; &nbsp; &nbsp; &nbsp; HIT_ENEMY,<br />
  5678. &nbsp; &nbsp; &nbsp; &nbsp; HIT_WALL<br />
  5679. }<br />
  5680. <br />
  5681. new g_Had_DragonSword[33], g_Slashing_Mode[33], g_Attack_Mode[33], g_Checking_Mode[33], g_Hit_Ing[33]<br />
  5682. new g_Old_Weapon[33], g_Ham_Bot, g_MaxPlayers<br />
  5683. <br />
  5684. public plugin_init()<br />
  5685. {<br />
  5686. &nbsp; &nbsp; &nbsp; &nbsp; register_plugin(PLUGIN, VERSION, AUTHOR)<br />
  5687. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5688. &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;HLTV&quot;, &quot;Event_NewRound&quot;, &quot;a&quot;, &quot;1=0&quot;, &quot;2=0&quot;)<br />
  5689. &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;CurWeapon&quot;, &quot;Event_CurWeapon&quot;, &quot;be&quot;, &quot;1=1&quot;)<br />
  5690. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5691. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_EmitSound, &quot;fw_EmitSound&quot;)<br />
  5692. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_CmdStart, &quot;fw_CmdStart&quot;)<br />
  5693. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_TraceLine, &quot;fw_TraceLine&quot;)<br />
  5694. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_TraceHull, &quot;fw_TraceHull&quot;)&nbsp; &nbsp; &nbsp; &nbsp; <br />
  5695. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5696. &nbsp; &nbsp; &nbsp; &nbsp; RegisterHam(Ham_TraceAttack, &quot;player&quot;, &quot;fw_PlayerTraceAttack&quot;)<br />
  5697. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5698. &nbsp; &nbsp; &nbsp; &nbsp; g_MaxPlayers = get_maxplayers()<br />
  5699. &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;admin_get_dragonsword&quot;, &quot;get_dragonsword&quot;, ADMIN_KICK)<br />
  5700. }<br />
  5701. <br />
  5702. public plugin_precache()<br />
  5703. {<br />
  5704. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_PrecacheModel, V_MODEL)<br />
  5705. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_PrecacheModel, P_MODEL)<br />
  5706. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5707. &nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0; i &lt; sizeof(DragonSword_Sound); i++)<br />
  5708. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_PrecacheSound, DragonSword_Sound[i])<br />
  5709. }<br />
  5710. <br />
  5711. public get_dragonsword(id)<br />
  5712. {<br />
  5713. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  5714. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5715. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5716. &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_SLASHING)<br />
  5717. &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_STABING)<br />
  5718. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5719. &nbsp; &nbsp; &nbsp; &nbsp; g_Had_DragonSword[id] = 1<br />
  5720. &nbsp; &nbsp; &nbsp; &nbsp; g_Slashing_Mode[id] = 0<br />
  5721. &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = 0<br />
  5722. &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 0<br />
  5723. &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = 0<br />
  5724. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5725. &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_weapon(id) == CSW_KNIFE)<br />
  5726. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5727. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, V_MODEL)<br />
  5728. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_weaponmodel2, P_MODEL)&nbsp; &nbsp; &nbsp; &nbsp; <br />
  5729. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5730. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_DRAW)<br />
  5731. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, DRAW_TIME)<br />
  5732. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5733. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engclient_cmd(id, weapon_dragonsword)<br />
  5734. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5735. }<br />
  5736. <br />
  5737. public remove_dragonsword(id)<br />
  5738. {<br />
  5739. &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_SLASHING)<br />
  5740. &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_STABING)<br />
  5741. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5742. &nbsp; &nbsp; &nbsp; &nbsp; g_Had_DragonSword[id] = 0<br />
  5743. &nbsp; &nbsp; &nbsp; &nbsp; g_Slashing_Mode[id] = 0<br />
  5744. &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = 0<br />
  5745. &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 0<br />
  5746. &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = 0<br />
  5747. }<br />
  5748. <br />
  5749. public client_putinserver(id)<br />
  5750. {<br />
  5751. &nbsp; &nbsp; &nbsp; &nbsp; if(!g_Ham_Bot &amp;&amp; is_user_bot(id))<br />
  5752. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5753. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Ham_Bot = 1<br />
  5754. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(0.1, &quot;Do_RegisterHam_Bot&quot;, id)<br />
  5755. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5756. }<br />
  5757. <br />
  5758. public Do_RegisterHam_Bot(id)<br />
  5759. {<br />
  5760. &nbsp; &nbsp; &nbsp; &nbsp; RegisterHamFromEntity(Ham_TraceAttack, id, &quot;fw_PlayerTraceAttack&quot;)<br />
  5761. }<br />
  5762. <br />
  5763. public Event_NewRound()<br />
  5764. {<br />
  5765. &nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0; i &lt; g_MaxPlayers; i++)<br />
  5766. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_dragonsword(i)<br />
  5767. }<br />
  5768. <br />
  5769. public Event_CurWeapon(id)<br />
  5770. {<br />
  5771. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  5772. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5773. <br />
  5774. &nbsp; &nbsp; &nbsp; &nbsp; // Problem Here ?. SHUT THE FUCK UP<br />
  5775. &nbsp; &nbsp; &nbsp; &nbsp; if((read_data(2) == CSW_DRAGONSWORD &amp;&amp; g_Old_Weapon[id] != CSW_DRAGONSWORD) &amp;&amp; g_Had_DragonSword[id])<br />
  5776. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5777. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, V_MODEL)<br />
  5778. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_weaponmodel2, P_MODEL)<br />
  5779. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5780. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_DRAW)<br />
  5781. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, DRAW_TIME)<br />
  5782. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5783. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pdata_string(id, m_szAnimExtention * 4, WEAPON_ANIMEXT, -1 , 20)<br />
  5784. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5785. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5786. &nbsp; &nbsp; &nbsp; &nbsp; g_Old_Weapon[id] = read_data(2)<br />
  5787. }<br />
  5788. <br />
  5789. public fw_EmitSound(id, channel, const sample[], Float:volume, Float:attn, flags, pitch)<br />
  5790. {<br />
  5791. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(id))<br />
  5792. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED<br />
  5793. &nbsp; &nbsp; &nbsp; &nbsp; if(/*get_user_weapon(id) != CSW_DRAGONSWORD || */!g_Had_DragonSword[id])<br />
  5794. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED<br />
  5795. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5796. &nbsp; &nbsp; &nbsp; &nbsp; if(sample[8] == 'k' &amp;&amp; sample[9] == 'n' &amp;&amp; sample[10] == 'i')<br />
  5797. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5798. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(sample[14] == 's' &amp;&amp; sample[15] == 'l' &amp;&amp; sample[16] == 'a')<br />
  5799. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE<br />
  5800. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (sample[14] == 'h' &amp;&amp; sample[15] == 'i' &amp;&amp; sample[16] == 't')<br />
  5801. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5802. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (sample[17] == 'w') // wall<br />
  5803. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5804. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = HIT_WALL<br />
  5805. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE<br />
  5806. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5807. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = HIT_ENEMY<br />
  5808. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE<br />
  5809. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5810. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5811. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (sample[14] == 's' &amp;&amp; sample[15] == 't' &amp;&amp; sample[16] == 'a')<br />
  5812. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE;<br />
  5813. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5814. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5815. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED<br />
  5816. }<br />
  5817. <br />
  5818. public fw_CmdStart(id, uc_handle, seed)<br />
  5819. {<br />
  5820. &nbsp; &nbsp; &nbsp; &nbsp; if (!is_user_alive(id)) <br />
  5821. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5822. &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_weapon(id) != CSW_DRAGONSWORD || !g_Had_DragonSword[id])<br />
  5823. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5824. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5825. &nbsp; &nbsp; &nbsp; &nbsp; static ent; ent = fm_get_user_weapon_entity(id, CSW_DRAGONSWORD)<br />
  5826. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5827. &nbsp; &nbsp; &nbsp; &nbsp; if(!pev_valid(ent))<br />
  5828. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5829. &nbsp; &nbsp; &nbsp; &nbsp; if(get_pdata_float(ent, 46, OFFSET_LINUX_WEAPONS) &gt; 0.0 || get_pdata_float(ent, 47, OFFSET_LINUX_WEAPONS) &gt; 0.0) <br />
  5830. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5831. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5832. &nbsp; &nbsp; &nbsp; &nbsp; static CurButton<br />
  5833. &nbsp; &nbsp; &nbsp; &nbsp; CurButton = get_uc(uc_handle, UC_Buttons)<br />
  5834. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5835. &nbsp; &nbsp; &nbsp; &nbsp; if (CurButton &amp; IN_ATTACK)<br />
  5836. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5837. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_uc(uc_handle, UC_Buttons, CurButton &amp; ~IN_ATTACK)<br />
  5838. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5839. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!g_Slashing_Mode[id])<br />
  5840. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5841. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = ATTACK_SLASH_ROTATE<br />
  5842. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 1<br />
  5843. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_Weapon_PrimaryAttack, ent)<br />
  5844. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 0<br />
  5845. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5846. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_framerate, 1.5)<br />
  5847. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapons_timeidle(id, CSW_DRAGONSWORD, SLASH_ROTATE_RESET_TIME)<br />
  5848. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, SLASH_ROTATE_RESET_TIME)<br />
  5849. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5850. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_SLASH_ROTATE)<br />
  5851. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(SLASH_ROTATE_DELAY_TIME, &quot;Do_Slashing_Rotate&quot;, id+TASK_SLASHING)<br />
  5852. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5853. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = ATTACK_SLASH_AHEAD<br />
  5854. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 1<br />
  5855. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_Weapon_PrimaryAttack, ent)<br />
  5856. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 0<br />
  5857. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5858. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_framerate, 2.0)<br />
  5859. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapons_timeidle(id, CSW_DRAGONSWORD, SLASH_AHEAD_RESET_TIME)<br />
  5860. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, SLASH_AHEAD_RESET_TIME)<br />
  5861. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5862. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_SLASH_AHEAD)<br />
  5863. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(SLASH_AHEAD_DELAY_TIME, &quot;Do_Slashing_Ahead&quot;, id+TASK_SLASHING)<br />
  5864. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5865. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5866. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Slashing_Mode[id] = !g_Slashing_Mode[id]<br />
  5867. &nbsp; &nbsp; &nbsp; &nbsp; } else if (CurButton &amp; IN_ATTACK2) {<br />
  5868. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_uc(uc_handle, UC_Buttons, CurButton &amp; ~IN_ATTACK2)<br />
  5869. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5870. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = ATTACK_STAB<br />
  5871. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 1<br />
  5872. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_Weapon_SecondaryAttack, ent)<br />
  5873. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Checking_Mode[id] = 0<br />
  5874. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5875. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_framerate, 1.5)<br />
  5876. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapons_timeidle(id, CSW_DRAGONSWORD, STAB_TIME + 0.1)<br />
  5877. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, STAB_TIME + 0.1)<br />
  5878. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5879. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_STAB_BEGIN)<br />
  5880. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5881. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_STABING)<br />
  5882. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(STAB_TIME, &quot;Do_StabNow&quot;, id+TASK_STABING)<br />
  5883. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5884. }<br />
  5885. <br />
  5886. public Do_Slashing_Rotate(id)<br />
  5887. {<br />
  5888. &nbsp; &nbsp; &nbsp; &nbsp; id -= TASK_SLASHING<br />
  5889. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5890. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  5891. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5892. &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_weapon(id) != CSW_DRAGONSWORD || !g_Had_DragonSword[id])<br />
  5893. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5894. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5895. &nbsp; &nbsp; &nbsp; &nbsp; if(Check_Attack(id, ATTACK_SLASH_ROTATE))<br />
  5896. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5897. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; emit_sound(id, CHAN_WEAPON, DragonSword_Sound[1], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5898. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5899. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(g_Hit_Ing[id] == HIT_WALL) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[7], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5900. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Hit_Ing[id] == HIT_NOTHING) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[4], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5901. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5902. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5903. &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = 0<br />
  5904. &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = 0<br />
  5905. }<br />
  5906. <br />
  5907. public Do_Slashing_Ahead(id)<br />
  5908. {<br />
  5909. &nbsp; &nbsp; &nbsp; &nbsp; id -= TASK_SLASHING<br />
  5910. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5911. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  5912. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5913. &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_weapon(id) != CSW_DRAGONSWORD || !g_Had_DragonSword[id])<br />
  5914. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5915. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5916. &nbsp; &nbsp; &nbsp; &nbsp; if(Check_Attack(id, ATTACK_SLASH_AHEAD))<br />
  5917. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5918. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; emit_sound(id, CHAN_WEAPON, DragonSword_Sound[2], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5919. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5920. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(g_Hit_Ing[id] == HIT_WALL) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[7], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5921. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Hit_Ing[id] == HIT_NOTHING) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[5], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5922. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5923. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5924. &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = 0<br />
  5925. &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = 0<br />
  5926. }<br />
  5927. <br />
  5928. public Do_StabNow(id)<br />
  5929. {<br />
  5930. &nbsp; &nbsp; &nbsp; &nbsp; id -= TASK_STABING<br />
  5931. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5932. &nbsp; &nbsp; &nbsp; &nbsp; if (!is_user_alive(id)) <br />
  5933. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  5934. &nbsp; &nbsp; &nbsp; &nbsp; if(!g_Had_DragonSword[id])<br />
  5935. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5936. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5937. &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_anim(id, DS_ANIM_STAB_END)<br />
  5938. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5939. &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_weapon(id) != CSW_DRAGONSWORD)<br />
  5940. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5941. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapons_timeidle(id, CSW_DRAGONSWORD, 0.0)<br />
  5942. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, 0.0)<br />
  5943. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5944. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapons_timeidle(id, CSW_DRAGONSWORD, STAB_RESET_TIME)<br />
  5945. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_player_nextattack(id, STAB_RESET_TIME)<br />
  5946. &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5947. <br />
  5948. &nbsp; &nbsp; &nbsp; &nbsp; if(Check_Attack(id, ATTACK_STAB))<br />
  5949. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5950. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; emit_sound(id, CHAN_WEAPON, DragonSword_Sound[1], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5951. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  5952. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(g_Hit_Ing[id] == HIT_WALL) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[7], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5953. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Hit_Ing[id] == HIT_NOTHING) emit_sound(id, CHAN_WEAPON, DragonSword_Sound[6], 1.0, ATTN_NORM, 0, PITCH_NORM)<br />
  5954. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5955. <br />
  5956. &nbsp; &nbsp; &nbsp; &nbsp; g_Attack_Mode[id] = 0<br />
  5957. &nbsp; &nbsp; &nbsp; &nbsp; g_Hit_Ing[id] = 0<br />
  5958. }<br />
  5959. <br />
  5960. <br />
  5961. public Check_Attack(id, Mode)<br />
  5962. {<br />
  5963. &nbsp; &nbsp; &nbsp; &nbsp; static Float:Max_Distance, Float:Point[4][3], Float:TB_Distance, Float:Point_Dis<br />
  5964. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5965. &nbsp; &nbsp; &nbsp; &nbsp; if(Mode == ATTACK_SLASH_ROTATE)<br />
  5966. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5967. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Point_Dis = SLASH_ROTATE_POINT_DIS<br />
  5968. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max_Distance = SLASH_ROTATE_RADIUS<br />
  5969. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TB_Distance = Max_Distance / 4.0<br />
  5970. &nbsp; &nbsp; &nbsp; &nbsp; } else if(Mode == ATTACK_SLASH_AHEAD) {<br />
  5971. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Point_Dis = SLASH_AHEAD_POINT_DIS<br />
  5972. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max_Distance = SLASH_AHEAD_RADIUS<br />
  5973. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TB_Distance = Max_Distance / 4.0<br />
  5974. &nbsp; &nbsp; &nbsp; &nbsp; } else if(Mode == ATTACK_STAB) {<br />
  5975. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Point_Dis = STAB_POINT_DIS<br />
  5976. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Max_Distance = STAB_RADIUS<br />
  5977. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TB_Distance = Max_Distance / 4.0<br />
  5978. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  5979. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5980. &nbsp; &nbsp; &nbsp; &nbsp; static Float:VicOrigin[3], Float:MyOrigin[3]<br />
  5981. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_origin, MyOrigin)<br />
  5982. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5983. &nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0; i &lt; 4; i++)<br />
  5984. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_position(id, TB_Distance * (i + 1), 0.0, 0.0, Point[i])<br />
  5985. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5986. &nbsp; &nbsp; &nbsp; &nbsp; static Have_Victim; Have_Victim = 0<br />
  5987. &nbsp; &nbsp; &nbsp; &nbsp; static ent<br />
  5988. &nbsp; &nbsp; &nbsp; &nbsp; ent = fm_get_user_weapon_entity(id, get_user_weapon(id))<br />
  5989. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5990. &nbsp; &nbsp; &nbsp; &nbsp; if(!pev_valid(ent))<br />
  5991. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 0<br />
  5992. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  5993. &nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0; i &lt; get_maxplayers(); i++)<br />
  5994. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  5995. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(i))<br />
  5996. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; continue<br />
  5997. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(id == i)<br />
  5998. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; continue<br />
  5999. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(entity_range(id, i) &gt; Max_Distance)<br />
  6000. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; continue<br />
  6001. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6002. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pev(i, pev_origin, VicOrigin)<br />
  6003. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(is_wall_between_points(MyOrigin, VicOrigin, id))<br />
  6004. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; continue<br />
  6005. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6006. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_distance_f(VicOrigin, Point[0]) &lt;= Point_Dis<br />
  6007. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || get_distance_f(VicOrigin, Point[1]) &lt;= Point_Dis<br />
  6008. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || get_distance_f(VicOrigin, Point[2]) &lt;= Point_Dis<br />
  6009. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || get_distance_f(VicOrigin, Point[3]) &lt;= Point_Dis)<br />
  6010. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6011. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!Have_Victim) Have_Victim = 1<br />
  6012. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(Mode == ATTACK_SLASH_ROTATE)<br />
  6013. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do_attack(id, i, ent, SLASH_ROTATE_DAMAGE)<br />
  6014. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(Mode == ATTACK_SLASH_AHEAD)<br />
  6015. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do_attack(id, i, ent, SLASH_AHEAD_DAMAGE)<br />
  6016. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(Mode == ATTACK_STAB)<br />
  6017. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do_attack(id, i, ent, STAB_DAMAGE)<br />
  6018. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6019. &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6020. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6021. &nbsp; &nbsp; &nbsp; &nbsp; if(Have_Victim)<br />
  6022. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 1<br />
  6023. &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  6024. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 0<br />
  6025. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6026. &nbsp; &nbsp; &nbsp; &nbsp; return 0<br />
  6027. }&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6028. <br />
  6029. public fw_TraceLine(Float:vector_start[3], Float:vector_end[3], ignored_monster, id, handle)<br />
  6030. {<br />
  6031. &nbsp; &nbsp; &nbsp; &nbsp; if (!is_user_alive(id))<br />
  6032. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6033. &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_weapon(id) != CSW_DRAGONSWORD || !g_Had_DragonSword[id])<br />
  6034. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED<br />
  6035. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6036. &nbsp; &nbsp; &nbsp; &nbsp; static Float:vecStart[3], Float:vecEnd[3], Float:v_angle[3], Float:v_forward[3], Float:view_ofs[3], Float:fOrigin[3]<br />
  6037. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6038. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_origin, fOrigin)<br />
  6039. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_view_ofs, view_ofs)<br />
  6040. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(fOrigin, view_ofs, vecStart)<br />
  6041. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_v_angle, v_angle)<br />
  6042. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6043. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_MakeVectors, v_angle)<br />
  6044. &nbsp; &nbsp; &nbsp; &nbsp; get_global_vector(GL_v_forward, v_forward)<br />
  6045. <br />
  6046. &nbsp; &nbsp; &nbsp; &nbsp; if(g_Attack_Mode[id] == ATTACK_SLASH_ROTATE) xs_vec_mul_scalar(v_forward, SLASH_ROTATE_RADIUS, v_forward)<br />
  6047. &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Attack_Mode[id] == ATTACK_SLASH_AHEAD) xs_vec_mul_scalar(v_forward, SLASH_AHEAD_RADIUS, v_forward)<br />
  6048. &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Attack_Mode[id] == ATTACK_STAB) xs_vec_mul_scalar(v_forward, STAB_RADIUS, v_forward)<br />
  6049. &nbsp; &nbsp; &nbsp; &nbsp; else xs_vec_mul_scalar(v_forward, 0.0, v_forward)<br />
  6050. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(vecStart, v_forward, vecEnd)<br />
  6051. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6052. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceLine, vecStart, vecEnd, ignored_monster, id, handle)<br />
  6053. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6054. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE<br />
  6055. }<br />
  6056. <br />
  6057. public fw_TraceHull(Float:vector_start[3], Float:vector_end[3], ignored_monster, hull, id, handle)<br />
  6058. {<br />
  6059. &nbsp; &nbsp; &nbsp; &nbsp; if (!is_user_alive(id))<br />
  6060. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6061. &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_weapon(id) != CSW_DRAGONSWORD || !g_Had_DragonSword[id])<br />
  6062. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED<br />
  6063. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6064. &nbsp; &nbsp; &nbsp; &nbsp; static Float:vecStart[3], Float:vecEnd[3], Float:v_angle[3], Float:v_forward[3], Float:view_ofs[3], Float:fOrigin[3]<br />
  6065. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6066. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_origin, fOrigin)<br />
  6067. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_view_ofs, view_ofs)<br />
  6068. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(fOrigin, view_ofs, vecStart)<br />
  6069. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_v_angle, v_angle)<br />
  6070. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6071. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_MakeVectors, v_angle)<br />
  6072. &nbsp; &nbsp; &nbsp; &nbsp; get_global_vector(GL_v_forward, v_forward)<br />
  6073. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6074. &nbsp; &nbsp; &nbsp; &nbsp; if(g_Attack_Mode[id] == ATTACK_SLASH_ROTATE) xs_vec_mul_scalar(v_forward, SLASH_ROTATE_RADIUS, v_forward)<br />
  6075. &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Attack_Mode[id] == ATTACK_SLASH_AHEAD) xs_vec_mul_scalar(v_forward, SLASH_AHEAD_RADIUS, v_forward)<br />
  6076. &nbsp; &nbsp; &nbsp; &nbsp; else if(g_Attack_Mode[id] == ATTACK_STAB) xs_vec_mul_scalar(v_forward, STAB_RADIUS, v_forward)<br />
  6077. &nbsp; &nbsp; &nbsp; &nbsp; else xs_vec_mul_scalar(v_forward, 0.0, v_forward)<br />
  6078. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(vecStart, v_forward, vecEnd)<br />
  6079. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6080. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceHull, vecStart, vecEnd, ignored_monster, hull, id, handle)<br />
  6081. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6082. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE<br />
  6083. }<br />
  6084. <br />
  6085. public fw_PlayerTraceAttack(Victim, Attacker, Float:Damage, Float:Direction[3], TraceResult, DamageBits) <br />
  6086. {<br />
  6087. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(Attacker))&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6088. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return HAM_IGNORED<br />
  6089. &nbsp; &nbsp; &nbsp; &nbsp; if(!g_Had_DragonSword[Attacker] || !g_Checking_Mode[Attacker])<br />
  6090. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return HAM_IGNORED<br />
  6091. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6092. &nbsp; &nbsp; &nbsp; &nbsp; return HAM_SUPERCEDE<br />
  6093. }<br />
  6094. <br />
  6095. do_attack(Attacker, Victim, Inflictor, Float:fDamage)<br />
  6096. {<br />
  6097. &nbsp; &nbsp; &nbsp; &nbsp; fake_player_trace_attack(Attacker, Victim, fDamage)<br />
  6098. &nbsp; &nbsp; &nbsp; &nbsp; fake_take_damage(Attacker, Victim, fDamage, Inflictor)<br />
  6099. }<br />
  6100. <br />
  6101. fake_player_trace_attack(iAttacker, iVictim, &amp;Float:fDamage)<br />
  6102. {<br />
  6103. &nbsp; &nbsp; &nbsp; &nbsp; // get fDirection<br />
  6104. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fAngles[3], Float:fDirection[3]<br />
  6105. &nbsp; &nbsp; &nbsp; &nbsp; pev(iAttacker, pev_angles, fAngles)<br />
  6106. &nbsp; &nbsp; &nbsp; &nbsp; angle_vector(fAngles, ANGLEVECTOR_FORWARD, fDirection)<br />
  6107. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6108. &nbsp; &nbsp; &nbsp; &nbsp; // get fStart<br />
  6109. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fStart[3], Float:fViewOfs[3]<br />
  6110. &nbsp; &nbsp; &nbsp; &nbsp; pev(iAttacker, pev_origin, fStart)<br />
  6111. &nbsp; &nbsp; &nbsp; &nbsp; pev(iAttacker, pev_view_ofs, fViewOfs)<br />
  6112. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(fViewOfs, fStart, fStart)<br />
  6113. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6114. &nbsp; &nbsp; &nbsp; &nbsp; // get aimOrigin<br />
  6115. &nbsp; &nbsp; &nbsp; &nbsp; new iAimOrigin[3], Float:fAimOrigin[3]<br />
  6116. &nbsp; &nbsp; &nbsp; &nbsp; get_user_origin(iAttacker, iAimOrigin, 3)<br />
  6117. &nbsp; &nbsp; &nbsp; &nbsp; IVecFVec(iAimOrigin, fAimOrigin)<br />
  6118. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6119. &nbsp; &nbsp; &nbsp; &nbsp; // TraceLine from fStart to AimOrigin<br />
  6120. &nbsp; &nbsp; &nbsp; &nbsp; new ptr = create_tr2() <br />
  6121. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceLine, fStart, fAimOrigin, DONT_IGNORE_MONSTERS, iAttacker, ptr)<br />
  6122. &nbsp; &nbsp; &nbsp; &nbsp; new pHit = get_tr2(ptr, TR_pHit)<br />
  6123. &nbsp; &nbsp; &nbsp; &nbsp; new iHitgroup = get_tr2(ptr, TR_iHitgroup)<br />
  6124. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fEndPos[3]<br />
  6125. &nbsp; &nbsp; &nbsp; &nbsp; get_tr2(ptr, TR_vecEndPos, fEndPos)<br />
  6126. <br />
  6127. &nbsp; &nbsp; &nbsp; &nbsp; // get target &amp; body at aiming<br />
  6128. &nbsp; &nbsp; &nbsp; &nbsp; new iTarget, iBody<br />
  6129. &nbsp; &nbsp; &nbsp; &nbsp; get_user_aiming(iAttacker, iTarget, iBody)<br />
  6130. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6131. &nbsp; &nbsp; &nbsp; &nbsp; // if aiming find target is iVictim then update iHitgroup<br />
  6132. &nbsp; &nbsp; &nbsp; &nbsp; if (iTarget == iVictim)<br />
  6133. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6134. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iHitgroup = iBody<br />
  6135. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6136. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6137. &nbsp; &nbsp; &nbsp; &nbsp; // if ptr find target not is iVictim<br />
  6138. &nbsp; &nbsp; &nbsp; &nbsp; else if (pHit != iVictim)<br />
  6139. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6140. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // get AimOrigin in iVictim<br />
  6141. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Float:fVicOrigin[3], Float:fVicViewOfs[3], Float:fAimInVictim[3]<br />
  6142. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pev(iVictim, pev_origin, fVicOrigin)<br />
  6143. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pev(iVictim, pev_view_ofs, fVicViewOfs) <br />
  6144. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(fVicViewOfs, fVicOrigin, fAimInVictim)<br />
  6145. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fAimInVictim[2] = fStart[2]<br />
  6146. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fAimInVictim[2] += get_distance_f(fStart, fAimInVictim) * floattan( fAngles[0] * 2.0, degrees )<br />
  6147. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6148. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // check aim in size of iVictim<br />
  6149. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new iAngleToVictim = get_angle_to_target(iAttacker, fVicOrigin)<br />
  6150. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iAngleToVictim = abs(iAngleToVictim)<br />
  6151. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Float:fDis = 2.0 * get_distance_f(fStart, fAimInVictim) * floatsin( float(iAngleToVictim) * 0.5, degrees )<br />
  6152. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Float:fVicSize[3]<br />
  6153. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pev(iVictim, pev_size , fVicSize)<br />
  6154. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( fDis &lt;= fVicSize[0] * 0.5 )<br />
  6155. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6156. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // TraceLine from fStart to aimOrigin in iVictim<br />
  6157. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new ptr2 = create_tr2() <br />
  6158. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceLine, fStart, fAimInVictim, DONT_IGNORE_MONSTERS, iAttacker, ptr2)<br />
  6159. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new pHit2 = get_tr2(ptr2, TR_pHit)<br />
  6160. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new iHitgroup2 = get_tr2(ptr2, TR_iHitgroup)<br />
  6161. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6162. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // if ptr2 find target is iVictim<br />
  6163. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( pHit2 == iVictim &amp;&amp; (iHitgroup2 != HIT_HEAD || fDis &lt;= fVicSize[0] * 0.25) )<br />
  6164. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6165. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pHit = iVictim<br />
  6166. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iHitgroup = iHitgroup2<br />
  6167. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_tr2(ptr2, TR_vecEndPos, fEndPos)<br />
  6168. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6169. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6170. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; free_tr2(ptr2)<br />
  6171. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6172. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6173. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // if pHit still not is iVictim then set default HitGroup<br />
  6174. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pHit != iVictim)<br />
  6175. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6176. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // set default iHitgroup<br />
  6177. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iHitgroup = HIT_GENERIC<br />
  6178. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6179. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new ptr3 = create_tr2() <br />
  6180. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceLine, fStart, fVicOrigin, DONT_IGNORE_MONSTERS, iAttacker, ptr3)<br />
  6181. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_tr2(ptr3, TR_vecEndPos, fEndPos)<br />
  6182. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6183. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // free ptr3<br />
  6184. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; free_tr2(ptr3)<br />
  6185. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6186. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6187. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6188. &nbsp; &nbsp; &nbsp; &nbsp; // set new Hit &amp; Hitgroup &amp; EndPos<br />
  6189. &nbsp; &nbsp; &nbsp; &nbsp; set_tr2(ptr, TR_pHit, iVictim)<br />
  6190. &nbsp; &nbsp; &nbsp; &nbsp; set_tr2(ptr, TR_iHitgroup, iHitgroup)<br />
  6191. &nbsp; &nbsp; &nbsp; &nbsp; set_tr2(ptr, TR_vecEndPos, fEndPos)<br />
  6192. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6193. &nbsp; &nbsp; &nbsp; &nbsp; // hitgroup multi fDamage<br />
  6194. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fMultifDamage <br />
  6195. &nbsp; &nbsp; &nbsp; &nbsp; switch(iHitgroup)<br />
  6196. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6197. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case HIT_HEAD: fMultifDamage&nbsp; = 4.0<br />
  6198. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case HIT_STOMACH: fMultifDamage&nbsp; = 1.25<br />
  6199. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case HIT_LEFTLEG: fMultifDamage&nbsp; = 0.75<br />
  6200. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case HIT_RIGHTLEG: fMultifDamage&nbsp; = 0.75<br />
  6201. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default: fMultifDamage&nbsp; = 1.0<br />
  6202. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6203. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6204. &nbsp; &nbsp; &nbsp; &nbsp; fDamage *= fMultifDamage<br />
  6205. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6206. &nbsp; &nbsp; &nbsp; &nbsp; // ExecuteHam<br />
  6207. &nbsp; &nbsp; &nbsp; &nbsp; fake_trake_attack(iAttacker, iVictim, fDamage, fDirection, ptr)<br />
  6208. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6209. &nbsp; &nbsp; &nbsp; &nbsp; // free ptr<br />
  6210. &nbsp; &nbsp; &nbsp; &nbsp; free_tr2(ptr)<br />
  6211. }<br />
  6212. <br />
  6213. stock fake_trake_attack(iAttacker, iVictim, Float:fDamage, Float:fDirection[3], iTraceHandle, iDamageBit = (DMG_NEVERGIB | DMG_BULLET))<br />
  6214. {<br />
  6215. &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_TraceAttack, iVictim, iAttacker, fDamage, fDirection, iTraceHandle, iDamageBit)<br />
  6216. }<br />
  6217. <br />
  6218. stock fake_take_damage(iAttacker, iVictim, Float:fDamage, iInflictor = 0, iDamageBit = (DMG_NEVERGIB | DMG_BULLET))<br />
  6219. {<br />
  6220. &nbsp; &nbsp; &nbsp; &nbsp; iInflictor = (!iInflictor) ? iAttacker : iInflictor<br />
  6221. &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_TakeDamage, iVictim, iInflictor, iAttacker, fDamage, iDamageBit)<br />
  6222. }<br />
  6223. <br />
  6224. stock get_angle_to_target(id, const Float:fTarget[3], Float:TargetSize = 0.0)<br />
  6225. {<br />
  6226. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fOrigin[3], iAimOrigin[3], Float:fAimOrigin[3], Float:fV1[3]<br />
  6227. &nbsp; &nbsp; &nbsp; &nbsp; pev(id, pev_origin, fOrigin)<br />
  6228. &nbsp; &nbsp; &nbsp; &nbsp; get_user_origin(id, iAimOrigin, 3) // end position from eyes<br />
  6229. &nbsp; &nbsp; &nbsp; &nbsp; IVecFVec(iAimOrigin, fAimOrigin)<br />
  6230. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_sub(fAimOrigin, fOrigin, fV1)<br />
  6231. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6232. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fV2[3]<br />
  6233. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_sub(fTarget, fOrigin, fV2)<br />
  6234. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6235. &nbsp; &nbsp; &nbsp; &nbsp; new iResult = get_angle_between_vectors(fV1, fV2)<br />
  6236. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6237. &nbsp; &nbsp; &nbsp; &nbsp; if (TargetSize &gt; 0.0)<br />
  6238. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  6239. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Float:fTan = TargetSize / get_distance_f(fOrigin, fTarget)<br />
  6240. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new fAngleToTargetSize = floatround( floatatan(fTan, degrees) )<br />
  6241. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iResult -= (iResult &gt; 0) ? fAngleToTargetSize : -fAngleToTargetSize<br />
  6242. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6243. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6244. &nbsp; &nbsp; &nbsp; &nbsp; return iResult<br />
  6245. }<br />
  6246. <br />
  6247. stock get_angle_between_vectors(const Float:fV1[3], const Float:fV2[3])<br />
  6248. {<br />
  6249. &nbsp; &nbsp; &nbsp; &nbsp; new Float:fA1[3], Float:fA2[3]<br />
  6250. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_VecToAngles, fV1, fA1)<br />
  6251. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_VecToAngles, fV2, fA2)<br />
  6252. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6253. &nbsp; &nbsp; &nbsp; &nbsp; new iResult = floatround(fA1[1] - fA2[1])<br />
  6254. &nbsp; &nbsp; &nbsp; &nbsp; iResult = iResult % 360<br />
  6255. &nbsp; &nbsp; &nbsp; &nbsp; iResult = (iResult &gt; 180) ? (iResult - 360) : iResult<br />
  6256. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6257. &nbsp; &nbsp; &nbsp; &nbsp; return iResult<br />
  6258. }<br />
  6259. <br />
  6260. stock fm_cs_get_weapon_ent_owner(ent)<br />
  6261. {<br />
  6262. &nbsp; &nbsp; &nbsp; &nbsp; if (pev_valid(ent) != PDATA_SAFE)<br />
  6263. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return -1<br />
  6264. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6265. &nbsp; &nbsp; &nbsp; &nbsp; return get_pdata_cbase(ent, OFFSET_WEAPONOWNER, OFFSET_LINUX_WEAPONS)<br />
  6266. }<br />
  6267. <br />
  6268. stock set_weapon_anim(id, anim)<br />
  6269. {<br />
  6270. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  6271. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  6272. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6273. &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_weaponanim, anim)<br />
  6274. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6275. &nbsp; &nbsp; &nbsp; &nbsp; message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, _, id)<br />
  6276. &nbsp; &nbsp; &nbsp; &nbsp; write_byte(anim)<br />
  6277. &nbsp; &nbsp; &nbsp; &nbsp; write_byte(0)<br />
  6278. &nbsp; &nbsp; &nbsp; &nbsp; message_end()&nbsp; &nbsp; &nbsp; &nbsp; <br />
  6279. }<br />
  6280. <br />
  6281. stock set_weapons_timeidle(id, WeaponId ,Float:TimeIdle)<br />
  6282. {<br />
  6283. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  6284. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  6285. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6286. &nbsp; &nbsp; &nbsp; &nbsp; static entwpn; entwpn = fm_get_user_weapon_entity(id, WeaponId)<br />
  6287. &nbsp; &nbsp; &nbsp; &nbsp; if(!pev_valid(entwpn)) <br />
  6288. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  6289. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6290. &nbsp; &nbsp; &nbsp; &nbsp; set_pdata_float(entwpn, 46, TimeIdle, OFFSET_LINUX_WEAPONS)<br />
  6291. &nbsp; &nbsp; &nbsp; &nbsp; set_pdata_float(entwpn, 47, TimeIdle, OFFSET_LINUX_WEAPONS)<br />
  6292. &nbsp; &nbsp; &nbsp; &nbsp; set_pdata_float(entwpn, 48, TimeIdle + 0.5, OFFSET_LINUX_WEAPONS)<br />
  6293. }<br />
  6294. <br />
  6295. stock set_player_nextattack(id, Float:nexttime)<br />
  6296. {<br />
  6297. &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />
  6298. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />
  6299. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6300. &nbsp; &nbsp; &nbsp; &nbsp; set_pdata_float(id, m_flNextAttack, nexttime, 5)<br />
  6301. }<br />
  6302. <br />
  6303. stock is_valid_entity(ent)<br />
  6304. {<br />
  6305. &nbsp; &nbsp; &nbsp; &nbsp; if(pev_valid(ent) != PDATA_SAFE)<br />
  6306. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return 0<br />
  6307. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6308. &nbsp; &nbsp; &nbsp; &nbsp; return 1<br />
  6309. }<br />
  6310. <br />
  6311. stock get_position(ent, Float:forw, Float:right, Float:up, Float:vStart[])<br />
  6312. {<br />
  6313. &nbsp; &nbsp; &nbsp; &nbsp; static Float:vOrigin[3], Float:vAngle[3], Float:vForward[3], Float:vRight[3], Float:vUp[3]<br />
  6314. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6315. &nbsp; &nbsp; &nbsp; &nbsp; pev(ent, pev_origin, vOrigin)<br />
  6316. &nbsp; &nbsp; &nbsp; &nbsp; pev(ent, pev_view_ofs,vUp) //for player<br />
  6317. &nbsp; &nbsp; &nbsp; &nbsp; xs_vec_add(vOrigin,vUp,vOrigin)<br />
  6318. &nbsp; &nbsp; &nbsp; &nbsp; pev(ent, pev_v_angle, vAngle) // if normal entity ,use pev_angles<br />
  6319. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6320. &nbsp; &nbsp; &nbsp; &nbsp; angle_vector(vAngle,ANGLEVECTOR_FORWARD,vForward) //or use EngFunc_AngleVectors<br />
  6321. &nbsp; &nbsp; &nbsp; &nbsp; angle_vector(vAngle,ANGLEVECTOR_RIGHT,vRight)<br />
  6322. &nbsp; &nbsp; &nbsp; &nbsp; angle_vector(vAngle,ANGLEVECTOR_UP,vUp)<br />
  6323. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6324. &nbsp; &nbsp; &nbsp; &nbsp; vStart[0] = vOrigin[0] + vForward[0] * forw + vRight[0] * right + vUp[0] * up<br />
  6325. &nbsp; &nbsp; &nbsp; &nbsp; vStart[1] = vOrigin[1] + vForward[1] * forw + vRight[1] * right + vUp[1] * up<br />
  6326. &nbsp; &nbsp; &nbsp; &nbsp; vStart[2] = vOrigin[2] + vForward[2] * forw + vRight[2] * right + vUp[2] * up<br />
  6327. }<br />
  6328. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6329. <br />
  6330. stock is_wall_between_points(Float:start[3], Float:end[3], ignore_ent)<br />
  6331. {<br />
  6332. &nbsp; &nbsp; &nbsp; &nbsp; static ptr<br />
  6333. &nbsp; &nbsp; &nbsp; &nbsp; ptr = create_tr2()<br />
  6334. <br />
  6335. &nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_TraceLine, start, end, IGNORE_MONSTERS, ignore_ent, ptr)<br />
  6336. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  6337. &nbsp; &nbsp; &nbsp; &nbsp; static Float:EndPos[3]<br />
  6338. &nbsp; &nbsp; &nbsp; &nbsp; get_tr2(ptr, TR_vecEndPos, EndPos)<br />
  6339. <br />
  6340. &nbsp; &nbsp; &nbsp; &nbsp; free_tr2(ptr)<br />
  6341. &nbsp; &nbsp; &nbsp; &nbsp; return floatround(get_distance_f(end, EndPos))<br />
  6342. }</code><hr />
  6343. </div>The  .inl  model example<br />
  6344. <div style="margin:20px; margin-top:5px">
  6345. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  6346. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6347. //-----------------------------------------| DualKatana |------------------------------------------<br />
  6348. //========================================== sDs|Aragon* ==========================================<br />
  6349. <br />
  6350. /////////////<br />
  6351. // Settings |<br />
  6352. //==========/<br />
  6353. <br />
  6354. #define DUALKATANA_OLD_NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;knife&quot;<br />
  6355. #define DUALKATANA_NEW_NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;dualkatana&quot;<br />
  6356. #define DUALKATANA_OLD_EVENT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;events/knife.sc&quot;<br />
  6357. <br />
  6358. #define weapon_dualkatana&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapon_knife&quot;<br />
  6359. #define CSW_DUALKATANA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CSW_KNIFE<br />
  6360. <br />
  6361. #define DUALKATANA_NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Dual Katana&quot;<br />
  6362. #define DUALKATANA_TEAM&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WPN_TEAM_T<br />
  6363. #define DUALKATANA_ACCES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WPN_ACCES_ALL<br />
  6364. #define DUALKATANA_LEVEL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />
  6365. #define DUALKATANA_DAMAGE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.0<br />
  6366. #define DUALKATANA_SLASH_DELAY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.5<br />
  6367. #define DUALKATANA_STAB_DELAY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.0<br />
  6368. <br />
  6369. new DualKatanaModel_V[] = &quot;models/Furien40+/v_dualkatana.mdl&quot;,<br />
  6370. DualKatanaModel_P[] = &quot;models/Furien40/p_dualkatana.mdl&quot;,<br />
  6371. <br />
  6372. DualKatana_WeaponList[] = &quot;furien40_dualkatana&quot;,<br />
  6373. DualKatana_Sprites[] = &quot;sprites/Furien40/dualkatana.spr&quot;,<br />
  6374. <br />
  6375. DualKatana_Sound[][][] = {<br />
  6376. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_draw.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_deploy1.wav&quot; },<br />
  6377. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_hit1.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_hit1.wav&quot; },<br />
  6378. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_hit2.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_hit2.wav&quot; },<br />
  6379. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_hit1.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_hit3.wav&quot; },<br />
  6380. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_hit2.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_hit4.wav&quot; },<br />
  6381. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_hitwall.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_hitwall1.wav&quot; },<br />
  6382. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_slash1.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_slash1.wav&quot; },<br />
  6383. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_slash2.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_slash2.wav&quot; },<br />
  6384. &nbsp; &nbsp; &nbsp; &nbsp; { &quot;weapons/dualkatana_stab.wav&quot;,&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;weapons/knife_stab.wav&quot; }<br />
  6385. };<br />
  6386. <br />
  6387. <br />
  6388. ///////////////<br />
  6389. // Model Info |<br />
  6390. //============/<br />
  6391. <br />
  6392. enum {<br />
  6393. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_IDLE = 0,<br />
  6394. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_SLASH1,<br />
  6395. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_SLASH2,<br />
  6396. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_DRAW,<br />
  6397. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_STAB,<br />
  6398. &nbsp; &nbsp; &nbsp; &nbsp; DUALKATANA_ANIM_STAB_MISS<br />
  6399. };<br />
  6400. new Float:DualKatana_AnimationTime[] = {<br />
  6401. &nbsp; &nbsp; &nbsp; &nbsp; 7.0,<br />
  6402. &nbsp; &nbsp; &nbsp; &nbsp; 1.0,<br />
  6403. &nbsp; &nbsp; &nbsp; &nbsp; 1.0,<br />
  6404. &nbsp; &nbsp; &nbsp; &nbsp; 1.0,<br />
  6405. &nbsp; &nbsp; &nbsp; &nbsp; 1.0,<br />
  6406. &nbsp; &nbsp; &nbsp; &nbsp; 1.0<br />
  6407. };<br />
  6408. <br />
  6409. <br />
  6410. ////////////<br />
  6411. // Globals |<br />
  6412. //=========/<br />
  6413. <br />
  6414. #define dualkatana_get_anim(%1)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; entity_get_int(%1, EV_INT_iuser1)<br />
  6415. #define dualkatana_set_anim(%1,%2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; entity_set_int(%1, EV_INT_iuser1, %2)<br />
  6416. <br />
  6417. new DualKatanaID, dualkatana_event;<br />
  6418. <br />
  6419. ///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6420. // Plugin |<br />
  6421. //=================================================================================================<br />
  6422. DualKatana_Init() {<br />
  6423. &nbsp; &nbsp; &nbsp; &nbsp; if (!DualKatanaID)<br />
  6424. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />
  6425. <br />
  6426. &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(DualKatana_WeaponList, &quot;CMD_DualKatana&quot;);<br />
  6427. &nbsp; &nbsp; &nbsp; &nbsp; register_message(MSGID_DeathMsg, &quot;DualKatana_DeathMsg&quot;);<br />
  6428. &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;CurWeapon&quot;, &quot;DualKatana_ViewModel&quot;, &quot;be&quot;, &quot;1=1&quot;, &quot;2=29&quot;);<br />
  6429. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_PlaybackEvent, &quot;DualKatana_PlaybackEvent&quot;);<br />
  6430. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_EmitSound, &quot;DualKatana_EmitSound&quot;);<br />
  6431. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_CmdStart, &quot;DualKatana_CmdStart&quot;);<br />
  6432. &nbsp; &nbsp; &nbsp; &nbsp; RegisterHam(Ham_Item_Deploy, weapon_dualkatana, &quot;DualKatana_Deploy_Post&quot;, 1);<br />
  6433. &nbsp; &nbsp; &nbsp; &nbsp; RegisterHam(Ham_Weapon_WeaponIdle, weapon_dualkatana, &quot;DualKatana_WeaponIdle&quot;);<br />
  6434. <br />
  6435. &nbsp; &nbsp; &nbsp; &nbsp; RegisterHookChain(RG_CBasePlayer_TakeDamage, &quot;DualKatana_TakeDamage&quot;);<br />
  6436. }<br />
  6437. <br />
  6438. DualKatana_Precache() {<br />
  6439. &nbsp; &nbsp; &nbsp; &nbsp; DualKatanaID = RegisterWeapon(CSW_DUALKATANA, DUALKATANA_NAME, DUALKATANA_TEAM, DUALKATANA_ACCES, DUALKATANA_LEVEL);<br />
  6440. <br />
  6441. &nbsp; &nbsp; &nbsp; &nbsp; if (!DualKatanaID)<br />
  6442. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />
  6443. <br />
  6444. &nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_PrecacheEvent, &quot;DualKatana_PrecacheEvent_Post&quot;, 1);<br />
  6445. <br />
  6446. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(DualKatanaModel_V);<br />
  6447. &nbsp; &nbsp; &nbsp; &nbsp; precache_model(DualKatanaModel_P);<br />
  6448. <br />
  6449. &nbsp; &nbsp; &nbsp; &nbsp; new WPNList[128];<br />
  6450. &nbsp; &nbsp; &nbsp; &nbsp; formatex(WPNList, charsmax(WPNList), &quot;sprites/%s.txt&quot;, DualKatana_WeaponList);<br />
  6451. &nbsp; &nbsp; &nbsp; &nbsp; precache_generic(WPNList);<br />
  6452. &nbsp; &nbsp; &nbsp; &nbsp; precache_generic(DualKatana_Sprites);<br />
  6453. <br />
  6454. &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 0; i &lt; sizeof(DualKatana_Sound); i++)<br />
  6455. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_sound(DualKatana_Sound[i][0]);<br />
  6456. }<br />
  6457. <br />
  6458. DualKatana_Natives() {<br />
  6459. &nbsp; &nbsp; &nbsp; &nbsp; register_native(&quot;get_user_dualkatana&quot;, &quot;native_get_user_dualkatana&quot;);<br />
  6460. &nbsp; &nbsp; &nbsp; &nbsp; register_native(&quot;set_user_dualkatana&quot;, &quot;native_set_user_dualkatana&quot;);<br />
  6461. &nbsp; &nbsp; &nbsp; &nbsp; register_native(&quot;dualkatana_id&quot;, &quot;native_dualkatana_id&quot;);<br />
  6462. }<br />
  6463. <br />
  6464. ///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6465. // Funcitons |<br />
  6466. //=================================================================================================<br />
  6467. public DualKatana_DeathMsg(msg_id, msg_dest, id) {<br />
  6468. &nbsp; &nbsp; &nbsp; &nbsp; new Attacker = get_msg_arg_int(1);<br />
  6469. <br />
  6470. &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(Attacker)) {<br />
  6471. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new TruncatedWeapon[33];<br />
  6472. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_msg_arg_string(4, TruncatedWeapon, charsmax(TruncatedWeapon));<br />
  6473. <br />
  6474. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (equal(TruncatedWeapon, DUALKATANA_OLD_NAME)) {<br />
  6475. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_dualkatana(Attacker))<br />
  6476. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_msg_arg_string(4, DUALKATANA_NEW_NAME);<br />
  6477. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6478. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6479. }<br />
  6480. <br />
  6481. public DualKatana_ViewModel(id) {<br />
  6482. &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_alive(id) &amp;&amp; get_user_dualkatana(id, true))<br />
  6483. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_model(id, DualKatanaModel_V, DualKatanaModel_P);<br />
  6484. }<br />
  6485. <br />
  6486. public DualKatana_PlaybackEvent(flags, invoker, eventid, Float:delay, Float:origin[3], Float:angles[3], Float:fparam1, Float:fparam2, iParam1, iParam2, bParam1, bParam2) {<br />
  6487. &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(invoker) &amp;&amp; eventid == dualkatana_event) {<br />
  6488. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; playback_event(flags | FEV_HOSTONLY, invoker, eventid, delay, origin, angles, fparam1, fparam2, iParam1, iParam2, bParam1, bParam2);<br />
  6489. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_HANDLED;<br />
  6490. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6491. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />
  6492. }<br />
  6493. <br />
  6494. public DualKatana_PrecacheEvent_Post(type, const name[]) {<br />
  6495. &nbsp; &nbsp; &nbsp; &nbsp; if (equal(DUALKATANA_OLD_EVENT, name)) {<br />
  6496. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dualkatana_event = get_orig_retval();<br />
  6497. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_HANDLED;<br />
  6498. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6499. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />
  6500. }<br />
  6501. <br />
  6502. public DualKatana_EmitSound(id, channel, const sound[]) {<br />
  6503. &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_alive(id) &amp;&amp; get_user_dualkatana(id, true)) {<br />
  6504. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 0; i &lt; sizeof DualKatana_Sound; i++) {<br />
  6505. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (equal(sound, DualKatana_Sound[i][1])) {<br />
  6506. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; emit_sound(id, channel, DualKatana_Sound[i][0], VOL_NORM, ATTN_NORM, 0, PITCH_NORM);<br />
  6507. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE;<br />
  6508. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6509. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6510. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6511. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />
  6512. }<br />
  6513. <br />
  6514. public DualKatana_CmdStart(id, uc_handle, seed) {<br />
  6515. &nbsp; &nbsp; &nbsp; &nbsp; if (!is_user_alive(id) || get_user_weapon(id) != CSW_DUALKATANA)<br />
  6516. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />
  6517. <br />
  6518. <br />
  6519. &nbsp; &nbsp; &nbsp; &nbsp; new CurButton = get_uc(uc_handle, UC_Buttons);<br />
  6520. <br />
  6521. &nbsp; &nbsp; &nbsp; &nbsp; if (CurButton &amp; IN_ATTACK) {<br />
  6522. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new ENT_Weapon = cs_get_user_weapon_entity(id);<br />
  6523. <br />
  6524. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_valid_ent(ENT_Weapon) &amp;&amp; get_weapon_key(ENT_Weapon) == DualKatanaID) {<br />
  6525. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_NextAttack(id) &lt;= 0.1) {<br />
  6526. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_Weapon_PrimaryAttack, ENT_Weapon);<br />
  6527. <br />
  6528. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (dualkatana_get_anim(ENT_Weapon) &gt;= 2)<br />
  6529. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dualkatana_set_anim(ENT_Weapon, 1);<br />
  6530. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  6531. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dualkatana_set_anim(ENT_Weapon, dualkatana_get_anim(ENT_Weapon) + 1);<br />
  6532. <br />
  6533. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Anim = dualkatana_get_anim(ENT_Weapon);<br />
  6534. <br />
  6535. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_TimeWeaponIdle(ENT_Weapon, DualKatana_AnimationTime[Anim]);<br />
  6536. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_NextAttack(id, DUALKATANA_SLASH_DELAY);<br />
  6537. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SendWeaponAnim(id, Anim, ENT_Weapon);<br />
  6538. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6539. <br />
  6540. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurButton &amp;= ~IN_ATTACK;<br />
  6541. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_uc(uc_handle, UC_Buttons, CurButton);<br />
  6542. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_HANDLED;<br />
  6543. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6544. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6545. &nbsp; &nbsp; &nbsp; &nbsp; else if (CurButton &amp; IN_ATTACK2) {<br />
  6546. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new ENT_Weapon = cs_get_user_weapon_entity(id);<br />
  6547. <br />
  6548. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_valid_ent(ENT_Weapon) &amp;&amp; get_weapon_key(ENT_Weapon) == DualKatanaID) {<br />
  6549. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_NextAttack(id) &lt;= 0.1) {<br />
  6550. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExecuteHamB(Ham_Weapon_SecondaryAttack, ENT_Weapon);<br />
  6551. <br />
  6552. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Anim = DUALKATANA_ANIM_STAB;<br />
  6553. <br />
  6554. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_TimeWeaponIdle(ENT_Weapon, DualKatana_AnimationTime[Anim]);<br />
  6555. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_NextAttack(id, DUALKATANA_STAB_DELAY);<br />
  6556. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SendWeaponAnim(id, Anim, ENT_Weapon);<br />
  6557. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6558. <br />
  6559. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CurButton &amp;= ~IN_ATTACK2;<br />
  6560. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_uc(uc_handle, UC_Buttons, CurButton);<br />
  6561. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_HANDLED;<br />
  6562. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6563. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6564. &nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />
  6565. }<br />
  6566. <br />
  6567. public DualKatana_TakeDamage(const victim, pevInflictor, attacker, Float:flDamage, bitsDamageType) {<br />
  6568. &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_alive(attacker) &amp;&amp; get_user_dualkatana(attacker, true) &amp;&amp; (bitsDamageType &amp; DMG_BULLET))<br />
  6569. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetHookChainArg(4, ATYPE_FLOAT, flDamage * DUALKATANA_DAMAGE);<br />
  6570. <br />
  6571. &nbsp; &nbsp; &nbsp; &nbsp; return HC_CONTINUE;<br />
  6572. }<br />
  6573. <br />
  6574. public DualKatana_Deploy_Post(ENT_Weapon) {<br />
  6575. &nbsp; &nbsp; &nbsp; &nbsp; if (is_valid_ent(ENT_Weapon)) {<br />
  6576. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new id = pev(ENT_Weapon, pev_owner);<br />
  6577. <br />
  6578. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_alive(id) &amp;&amp; get_weapon_key(ENT_Weapon) == DualKatanaID) {<br />
  6579. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Anim = DUALKATANA_ANIM_DRAW;<br />
  6580. <br />
  6581. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_model(id, DualKatanaModel_V, DualKatanaModel_P);<br />
  6582. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_TimeWeaponIdle(ENT_Weapon, DualKatana_AnimationTime[Anim]);<br />
  6583. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_NextAttack(id, DualKatana_AnimationTime[Anim]);<br />
  6584. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SendWeaponAnim(id, Anim, ENT_Weapon);<br />
  6585. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return HAM_HANDLED;<br />
  6586. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6587. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6588. &nbsp; &nbsp; &nbsp; &nbsp; return HAM_IGNORED;<br />
  6589. }<br />
  6590. <br />
  6591. public DualKatana_WeaponIdle(ENT_Weapon) {<br />
  6592. &nbsp; &nbsp; &nbsp; &nbsp; if (is_valid_ent(ENT_Weapon)) {<br />
  6593. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new id = pev(ENT_Weapon, pev_owner);<br />
  6594. <br />
  6595. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_alive(id) &amp;&amp; get_weapon_key(ENT_Weapon) == DualKatanaID &amp;&amp; get_weapon_TimeWeaponIdle(ENT_Weapon) &lt;= 0.1) {<br />
  6596. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new Anim = DUALKATANA_ANIM_IDLE;<br />
  6597. <br />
  6598. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_TimeWeaponIdle(ENT_Weapon, DualKatana_AnimationTime[Anim]);<br />
  6599. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_weapon_model(id, DualKatanaModel_V, DualKatanaModel_P);<br />
  6600. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SendWeaponAnim(id, Anim, ENT_Weapon);<br />
  6601. <br />
  6602. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return HAM_HANDLED;<br />
  6603. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6604. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  6605. &nbsp; &nbsp; &nbsp; &nbsp; return HAM_IGNORED;<br />
  6606. }<br />
  6607. <br />
  6608. public CMD_DualKatana(id) {<br />
  6609. &nbsp; &nbsp; &nbsp; &nbsp; engclient_cmd(id, weapon_dualkatana);<br />
  6610. <br />
  6611. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />
  6612. }<br />
  6613. <br />
  6614. ///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6615. // Natives |<br />
  6616. //=================================================================================================<br />
  6617. public native_get_user_dualkatana(plugin_id, argc)<br />
  6618. return get_user_dualkatana(get_param(1), bool:get_param(2));<br />
  6619. <br />
  6620. public native_set_user_dualkatana(plugin_id, argc)<br />
  6621. return set_weapon(get_param(1), CSW_DUALKATANA, DualKatanaID);<br />
  6622. <br />
  6623. public native_dualkatana_id()<br />
  6624. return DualKatanaID;<br />
  6625. <br />
  6626. ///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6627. // Stock |<br />
  6628. //=================================================================================================<br />
  6629. stock get_user_dualkatana(id, bool:CurrWeapon = false)<br />
  6630. return get_weapon(id, CSW_DUALKATANA, DualKatanaID, CurrWeapon);<br />
  6631. <br />
  6632. ///////////////////////////////////////////////////////////////////////////////////////////////////<br />
  6633. //-----------------------------------------| DualKatana |------------------------------------------<br />
  6634. //========================================== sDs|Aragon* ==========================================</code><hr />
  6635. </div>Please i want someone if can help to modify the .sma similar to the .inl example but the same settings because i need to add new weapons to the shop. Like to convert similar like .inl</div>
  6636.  
  6637. ]]></content:encoded>
  6638. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  6639. <dc:creator>luciansobo2</dc:creator>
  6640. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347538</guid>
  6641. </item>
  6642. <item>
  6643. <title>Berdiskusi tentang Pengalaman Bermain di Merahslot88, Situs Judi Slot Online Terperca</title>
  6644. <link>https://forums.alliedmods.net/showthread.php?t=347537&amp;goto=newpost</link>
  6645. <pubDate>Fri, 03 May 2024 22:08:32 GMT</pubDate>
  6646. <description>Mengenal lebih dekat dengan *merahslot88*  :  
  6647. merahslot88 adalah salah satu situs *judi slot online* (https://merahslot88.xyz/)
  6648. yang menawarkan...</description>
  6649. <content:encoded><![CDATA[<div>Mengenal lebih dekat dengan <b>merahslot88</b>  : <br />
  6650. merahslot88 adalah salah satu situs <a href="https://merahslot88.xyz/" target="_blank" rel="nofollow noopener"><b>judi slot online</b></a><br />
  6651. yang menawarkan beragam permainan slot dari provider terkemuka. Dengan reputasi yang baik dan berbagai fitur menarik, situs ini menjadi pilihan bagi banyak pemain untuk mencari kesenangan dan keuntungan dalam bermain slot online.<br />
  6652. <br />
  6653. Pengalaman Bermain Di merahslot88 sebagai situs judi slot online<br />
  6654. <br />
  6655. Bagaimana pengalaman Anda bermain di Merahslot88? Apakah Anda sering mendapatkan kemenangan besar atau mungkin ada strategi khusus yang ingin Anda bagikan? Ceritakan pengalaman Anda di sini!<br />
  6656. <br />
  6657. Keunggulan <b>Merahslot88</b><br />
  6658. <br />
  6659. Apa yang membuat Merahslot88 menjadi situs pilihan Anda? Apakah itu berbagai pilihan permainan, bonus dan promosi yang menarik, atau mungkin layanan pelanggan yang responsif? Mari kita bahas keunggulan situs ini.<br />
  6660. <br />
  6661. <br />
  6662. Tips dan Trik<br />
  6663. <br />
  6664. Bagi para pemain yang telah berpengalaman, mungkin Anda memiliki tips dan trik untuk memaksimalkan kemenangan di Merahslot88. Mari berbagi pengetahuan dan pengalaman Anda kepada sesama anggota forum.</div>
  6665.  
  6666. ]]></content:encoded>
  6667. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=35">New Submissions</category>
  6668. <dc:creator>merahslot88</dc:creator>
  6669. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347537</guid>
  6670. </item>
  6671. <item>
  6672. <title><![CDATA[[ANY] Prevent the player from gaining velocity when hit by props]]></title>
  6673. <link>https://forums.alliedmods.net/showthread.php?t=347534&amp;goto=newpost</link>
  6674. <pubDate>Fri, 03 May 2024 20:05:01 GMT</pubDate>
  6675. <description>Hello,
  6676. I need some help with prop_physics_multiplayer entities.
  6677. If the entities have high velocity and I block takedamage by using...</description>
  6678. <content:encoded><![CDATA[<div>Hello,<br />
  6679. <br />
  6680. I need some help with prop_physics_multiplayer entities.<br />
  6681. If the entities have high velocity and I block takedamage by using SDKHook_OnTakeDamage and returning Plugin_Handled, the damage is indeed blocked. However, the velocity is not, and the player seems to gain a bit of upper velocity, as if it was jumping.<br />
  6682. Does someone know how to fix it?<br />
  6683. <br />
  6684. Cheers,<br />
  6685. DarthMan</div>
  6686.  
  6687. ]]></content:encoded>
  6688. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=107">Scripting</category>
  6689. <dc:creator>DarthMan</dc:creator>
  6690. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347534</guid>
  6691. </item>
  6692. <item>
  6693. <title><![CDATA[Duration & Cooldown]]></title>
  6694. <link>https://forums.alliedmods.net/showthread.php?t=347533&amp;goto=newpost</link>
  6695. <pubDate>Fri, 03 May 2024 14:55:34 GMT</pubDate>
  6696. <description><![CDATA[Hello.
  6697. i tried my best to make this zombie class skills with duration & cooldown.  
  6698. Like the time of climb is 10 seconds and when duration of...]]></description>
  6699. <content:encoded><![CDATA[<div>Hello.<br />
  6700. <br />
  6701. <font size="4">i tried my best to make this zombie class skills with duration &amp; cooldown. <br />
  6702. Like the time of climb is 10 seconds and when duration of climb end he will wait 10 secnods to climb again.<br />
  6703. <br />
  6704. can anyone please help me to solve this.<br />
  6705. </font><br />
  6706. <div style="margin:20px; margin-top:5px">
  6707. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  6708. <div class="alt2">
  6709. <hr />
  6710. <code style="white-space:nowrap">
  6711. <div dir="ltr" style="text-align:left;">
  6712. <!-- php buffer start --><code><span style="color: #000000">
  6713. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;
  6714. <br />#include&nbsp;&lt;engine&gt;
  6715. <br />#include&nbsp;&lt;fakemeta&gt;
  6716. <br />#include&nbsp;&lt;cstrike&gt;
  6717. <br />#include&nbsp;&lt;zombieplague&gt;
  6718. <br />#include&nbsp;&lt;hamsandwich&gt;
  6719. <br />//#include&nbsp;&lt;fakemeta_util&gt;
  6720. <br />
  6721. <br />#define&nbsp;STR_T&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;33
  6722. <br />
  6723. <br />//&nbsp;Stuff&nbsp;taken&nbsp;from&nbsp;fakemeta_util
  6724. <br />#define&nbsp;fm_get_user_button(%1)&nbsp;pev(%1,&nbsp;pev_button)&nbsp;&nbsp;&nbsp;&nbsp;
  6725. <br />/*&nbsp;stock&nbsp;fm_get_user_button(index)
  6726. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;pev(index,&nbsp;pev_button)&nbsp;*/
  6727. <br />
  6728. <br />#define&nbsp;fm_get_entity_flags(%1)&nbsp;pev(%1,&nbsp;pev_flags)
  6729. <br />/*&nbsp;stock&nbsp;fm_get_entity_flags(index)
  6730. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;pev(index,&nbsp;pev_flags)&nbsp;*/
  6731. <br />
  6732. <br /></span><span style="color: #0000BB">stock&nbsp;fm_set_user_velocity</span><span style="color: #007700">(</span><span style="color: #0000BB">entity</span><span style="color: #007700">,&nbsp;const&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">vector</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;)&nbsp;{
  6733. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">entity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_velocity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">vector</span><span style="color: #007700">);
  6734. <br />
  6735. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">;
  6736. <br />}
  6737. <br /></span><span style="color: #FF8000">//End&nbsp;of&nbsp;stuff&nbsp;from&nbsp;fakemeta_util
  6738. <br />//new&nbsp;STR_T&#91;32&#93;
  6739. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">g_lastusetime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;
  6740. <br />new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">g_nextuse</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;
  6741. <br />new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;
  6742. <br />new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">g_wallorigin</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">32</span><span style="color: #007700">&#93;&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;
  6743. <br />new&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb_nemesis</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb_survivor</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cvar_climb_cooldown</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">cvar_climb_duration
  6744. <br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_zclass_climb
  6745. <br />&nbsp;&nbsp;
  6746. <br /></span><span style="color: #FF8000">//&nbsp;Climb&nbsp;Zombie&nbsp;Atributes
  6747. <br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">zclass_name</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;{&nbsp;</span><span style="color: #DD0000">"Climb&nbsp;Zombie"&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #FF8000">//&nbsp;name
  6748. <br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">zclass_info</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;{&nbsp;</span><span style="color: #DD0000">"HP--&nbsp;Speed+&nbsp;Jump+&nbsp;Knockback++"&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #FF8000">//&nbsp;description
  6749. <br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">zclass_model</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;{&nbsp;</span><span style="color: #DD0000">"sirenzz"&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #FF8000">//&nbsp;model
  6750. <br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">zclass_clawmodel</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;{&nbsp;</span><span style="color: #DD0000">"v_knife_zombie.mdl"&nbsp;</span><span style="color: #007700">}&nbsp;</span><span style="color: #FF8000">//&nbsp;claw&nbsp;model
  6751. <br /></span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">zclass_health&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1200&nbsp;</span><span style="color: #FF8000">//&nbsp;health
  6752. <br /></span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">zclass_speed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">220&nbsp;</span><span style="color: #FF8000">//&nbsp;speed
  6753. <br /></span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">zclass_gravity&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0.8&nbsp;</span><span style="color: #FF8000">//&nbsp;gravity
  6754. <br /></span><span style="color: #007700">const&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">zclass_knockback&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1.5&nbsp;</span><span style="color: #FF8000">//&nbsp;knockback
  6755. <br />
  6756. <br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;
  6757. <br />{
  6758. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"&#91;ZP&#93;&nbsp;Wallclimb&nbsp;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1.0"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"WallClimb&nbsp;by&nbsp;Python1320/Cheap_Suit,&nbsp;Plagued&nbsp;by&nbsp;Dabbi"</span><span style="color: #007700">)
  6759. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_forward</span><span style="color: #007700">(</span><span style="color: #0000BB">FM_Touch</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"fwd_touch"</span><span style="color: #007700">)
  6760. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_forward</span><span style="color: #007700">(</span><span style="color: #0000BB">FM_PlayerPreThink</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"fwd_playerprethink"</span><span style="color: #007700">)
  6761. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//register_forward(FM_PlayerPostThink,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"fwd_playerpostthink")
  6762. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"DeathMsg"</span><span style="color: #007700">,</span><span style="color: #DD0000">"EventDeathMsg"</span><span style="color: #007700">,</span><span style="color: #DD0000">"a"</span><span style="color: #007700">)
  6763. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_wallclimb"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1"</span><span style="color: #007700">)
  6764. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb_survivor&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_wallclimb_survivor"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">)
  6765. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_zp_wallclimb_nemesis&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_wallclimb_nemesis"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"0"</span><span style="color: #007700">)
  6766. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_climb_cooldown&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_wallclimb_cooldown"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"10.0"</span><span style="color: #007700">)&nbsp;
  6767. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cvar_climb_duration&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"zp_wallclimb_duration"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"10.0"</span><span style="color: #007700">)&nbsp;
  6768. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6769. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Spawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"FwdPlayerSpawn"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  6770. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Killed</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"FwdPlayerKilled"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  6771. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6772. <br />}
  6773. <br />
  6774. <br />public&nbsp;</span><span style="color: #0000BB">plugin_precache</span><span style="color: #007700">()
  6775. <br />{
  6776. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_zclass_climb&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">zp_register_zombie_class</span><span style="color: #007700">(</span><span style="color: #0000BB">zclass_name</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_info</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_model</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_clawmodel</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_health</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_speed</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_gravity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">zclass_knockback</span><span style="color: #007700">)
  6777. <br />}
  6778. <br />
  6779. <br />public&nbsp;</span><span style="color: #0000BB">EventDeathMsg</span><span style="color: #007700">()&nbsp;&nbsp;&nbsp;&nbsp;
  6780. <br />{
  6781. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)
  6782. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true
  6783. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED
  6784. <br /></span><span style="color: #007700">}
  6785. <br />
  6786. <br />public&nbsp;</span><span style="color: #0000BB">FwdPlayerSpawn</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6787. <br />{
  6788. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED</span><span style="color: #007700">;
  6789. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6790. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ResetPlayerData</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  6791. <br />
  6792. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED</span><span style="color: #007700">;
  6793. <br />}
  6794. <br />
  6795. <br />public&nbsp;</span><span style="color: #0000BB">FwdPlayerKilled</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6796. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ResetPlayerData</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  6797. <br />
  6798. <br />public&nbsp;</span><span style="color: #0000BB">client_disconnected</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6799. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ResetPlayerData</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  6800. <br />
  6801. <br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6802. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ResetPlayerData</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">);
  6803. <br />
  6804. <br />public&nbsp;</span><span style="color: #0000BB">client_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{
  6805. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true&nbsp;&nbsp;&nbsp;&nbsp;
  6806. <br /></span><span style="color: #007700">}
  6807. <br />
  6808. <br />public&nbsp;</span><span style="color: #0000BB">fwd_touch</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">world</span><span style="color: #007700">)
  6809. <br />{
  6810. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;||&nbsp;!</span><span style="color: #0000BB">pev_valid</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))
  6811. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6812. <br />
  6813. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">player&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">STR_T
  6814. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!</span><span style="color: #0000BB">player</span><span style="color: #007700">)
  6815. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6816. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6817. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">classname</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">STR_T</span><span style="color: #007700">&#93;
  6818. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">world</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">classname</span><span style="color: #007700">,&nbsp;(</span><span style="color: #0000BB">STR_T</span><span style="color: #007700">))
  6819. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6820. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"worldspawn"</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"func_wall"</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">equal</span><span style="color: #007700">(</span><span style="color: #0000BB">classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"func_breakable"</span><span style="color: #007700">))
  6821. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_origin</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_wallorigin</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)
  6822. <br />
  6823. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6824. <br /></span><span style="color: #007700">}
  6825. <br />
  6826. <br />public&nbsp;</span><span style="color: #0000BB">client_PreThink</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6827. <br />{
  6828. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">zp_get_user_zombie_class</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">g_zclass_climb</span><span style="color: #007700">)&nbsp;
  6829. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  6830. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">zp_get_user_zombie</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE</span><span style="color: #007700">;
  6831. <br />
  6832. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">gametime&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_gametime</span><span style="color: #007700">();
  6833. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">timeleft_climb&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_nextuse</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;-&nbsp;</span><span style="color: #0000BB">gametime</span><span style="color: #007700">;
  6834. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6835. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">timeleft_climb&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)
  6836. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  6837. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.80</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">6.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">12.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">8</span><span style="color: #007700">);
  6838. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"&#91;WallClimb&#93;^nDuration^n&gt;&nbsp;%.1f&nbsp;&lt;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">timeleft_climb</span><span style="color: #007700">);
  6839. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  6840. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  6841. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_CONTINUE</span><span style="color: #007700">;
  6842. <br />}
  6843. <br />
  6844. <br />public&nbsp;</span><span style="color: #0000BB">checking</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">button</span><span style="color: #007700">)
  6845. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)
  6846. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">wallclimb</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">button</span><span style="color: #007700">)
  6847. <br />
  6848. <br />public&nbsp;</span><span style="color: #0000BB">wallclimb</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">button</span><span style="color: #007700">)
  6849. <br />{
  6850. <br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">origin</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;
  6851. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_origin</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">origin</span><span style="color: #007700">)
  6852. <br />
  6853. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">get_distance_f</span><span style="color: #007700">(</span><span style="color: #0000BB">origin</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_wallorigin</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">25.0</span><span style="color: #007700">)
  6854. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;if&nbsp;not&nbsp;near&nbsp;wall
  6855. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6856. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">fm_get_entity_flags</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">FL_ONGROUND</span><span style="color: #007700">)
  6857. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6858. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6859. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_FORWARD</span><span style="color: #007700">)
  6860. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  6861. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;
  6862. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">velocity_by_aim</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">120</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)
  6863. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_velocity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)
  6864. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  6865. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_BACK</span><span style="color: #007700">)
  6866. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
  6867. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">velocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;
  6868. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">velocity_by_aim</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">120</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)
  6869. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fm_set_user_velocity</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">velocity</span><span style="color: #007700">)
  6870. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
  6871. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6872. <br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6873. <br /></span><span style="color: #007700">}&nbsp;&nbsp;&nbsp;&nbsp;
  6874. <br />
  6875. <br />public&nbsp;</span><span style="color: #0000BB">fwd_playerprethink</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;
  6876. <br />{
  6877. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">gametime&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_gametime</span><span style="color: #007700">();
  6878. <br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;||&nbsp;!</span><span style="color: #0000BB">zp_get_user_zombie</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))&nbsp;
  6879. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6880. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6881. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">zp_is_survivor_round</span><span style="color: #007700">()&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_zp_wallclimb_survivor</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  6882. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6883. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  6884. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">zp_is_nemesis_round</span><span style="color: #007700">()&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_zp_wallclimb_nemesis</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)
  6885. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6886. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6887. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fm_get_user_button</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6888. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6889. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">cooldown&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pcvar_float</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_climb_cooldown</span><span style="color: #007700">)
  6890. <br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">duration&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pcvar_float</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_climb_duration</span><span style="color: #007700">)
  6891. <br />&nbsp;&nbsp;&nbsp;&nbsp;
  6892. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//set_task(duration,&nbsp;"RemoveClimb",&nbsp;id)
  6893. <br />&nbsp;&nbsp;&nbsp;&nbsp;//g_WallClimb&#91;id&#93;&nbsp;=&nbsp;true
  6894. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">gametime&nbsp;</span><span style="color: #007700">&gt;=&nbsp;</span><span style="color: #0000BB">g_lastusetime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;)
  6895. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  6896. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_nextuse</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">gametime&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">duration</span><span style="color: #007700">;
  6897. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_lastusetime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">gametime&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">duration&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">cooldown</span><span style="color: #007700">;
  6898. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  6899. <br />&nbsp;&nbsp;&nbsp;&nbsp;else
  6900. <br />&nbsp;&nbsp;&nbsp;&nbsp;{
  6901. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.20</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">6.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">12.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">);
  6902. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"&#91;WallClimb&#93;^nCooldown^n&gt;&nbsp;%.1f&nbsp;&lt;"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_lastusetime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;-&nbsp;</span><span style="color: #0000BB">gametime</span><span style="color: #007700">);
  6903. <br />&nbsp;&nbsp;&nbsp;&nbsp;}
  6904. <br />&nbsp;&nbsp;&nbsp;&nbsp;if((</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_zp_wallclimb</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;(</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_USE</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;(</span><span style="color: #0000BB">zp_get_user_zombie_class</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">g_zclass_climb</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//Use&nbsp;button&nbsp;=&nbsp;climb
  6905. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">wallclimb</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">button</span><span style="color: #007700">)
  6906. <br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if((</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">cvar_zp_wallclimb</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;(</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_JUMP</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">button&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">IN_DUCK&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;(</span><span style="color: #0000BB">zp_get_user_zombie_class</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">g_zclass_climb</span><span style="color: #007700">))&nbsp;</span><span style="color: #FF8000">//Jump&nbsp;+&nbsp;Duck&nbsp;=&nbsp;climb
  6907. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">wallclimb</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">button</span><span style="color: #007700">)
  6908. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true
  6909. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">FMRES_IGNORED
  6910. <br /></span><span style="color: #007700">}
  6911. <br />
  6912. <br />public&nbsp;</span><span style="color: #0000BB">RemoveClimb</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6913. <br />{
  6914. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_WallClimb</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false
  6915. <br /></span><span style="color: #007700">}
  6916. <br />
  6917. <br /></span><span style="color: #0000BB">ResetPlayerData</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)
  6918. <br />{
  6919. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_lastusetime</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">;
  6920. <br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_nextuse</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">;
  6921. <br />}&nbsp;
  6922. <br /></span><span style="color: #0000BB"></span>
  6923. </span>
  6924. </code><!-- php buffer end -->
  6925. </div>
  6926. </code>
  6927. <hr />
  6928. </div>
  6929. </div></div>
  6930.  
  6931.  
  6932. <br />
  6933. <div style="padding:6px">
  6934.  
  6935.  
  6936.  
  6937.  
  6938. <fieldset class="fieldset">
  6939. <legend>Attached Files</legend>
  6940. <table cellpadding="0" cellspacing="3" border="0">
  6941. <tr>
  6942. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  6943. <td>
  6944. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204273"><strong>Get Plugin</strong></a> or
  6945. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204273&amp;d=1714748252">Get Source</a> (zp_class_climb.sma - 5.9 KB)
  6946. </td>
  6947. </tr>
  6948. </table>
  6949. </fieldset>
  6950.  
  6951. </div>
  6952. ]]></content:encoded>
  6953. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  6954. <dc:creator>Hn.S Xmix</dc:creator>
  6955. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347533</guid>
  6956. </item>
  6957. <item>
  6958. <title>Day of Defeat Sturmbot Bots only join axies team</title>
  6959. <link>https://forums.alliedmods.net/showthread.php?t=347532&amp;goto=newpost</link>
  6960. <pubDate>Fri, 03 May 2024 12:56:32 GMT</pubDate>
  6961. <description>Hello!, I wanted to get the server to place bots only on the axies team and proportionate the number of players on the allies team.
  6962. If 5 players...</description>
  6963. <content:encoded><![CDATA[<div>Hello!, I wanted to get the server to place bots only on the axies team and proportionate the number of players on the allies team.<br />
  6964. If 5 players join allies, the server places 5 on axies.<br />
  6965. it's possible? as?</div>
  6966.  
  6967. ]]></content:encoded>
  6968. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  6969. <dc:creator>mouz</dc:creator>
  6970. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347532</guid>
  6971. </item>
  6972. <item>
  6973. <title>Selling WARCRAFT3 mod with 16 Heroes 25 LVL 4 shopmenus with gold system!</title>
  6974. <link>https://forums.alliedmods.net/showthread.php?t=347529&amp;goto=newpost</link>
  6975. <pubDate>Fri, 03 May 2024 11:58:07 GMT</pubDate>
  6976. <description>You can test the server before buy the mod add me on discord krasimir434
  6977. Hello, I present to you Warcraft3 unique mod with 16 heroes and 25 levels...</description>
  6978. <content:encoded><![CDATA[<div>You can test the server before buy the mod add me on discord krasimir434<br />
  6979. <br />
  6980. Hello, I present to you Warcraft3 unique mod with 16 heroes and 25 levels with 4 shopmenus and gold.<br />
  6981. 25 levels: 7 skill levels / 4 levels Ultimate: cooldown Level 1: 45 sec., Level 2: 35 sec., Level 3: 25 sec., Level 4: 15 sec.<br />
  6982. - XP is gain balance, not too easy, not too hard, just right<br />
  6983. - New effects<br />
  6984. - 3 item slots: you can buy 3 items<br />
  6985. System Items Box Drop : 2 kind of box<br />
  6986. - Red: there are items, when you tap you will get $ or items<br />
  6987. - Blue: has bonus, 20 health., 30 armor, xp, 1 gold<br />
  6988. <br />
  6989. 16 New Races!<br />
  6990. <br />
  6991. Race Remake (new effects and new sounds)<br />
  6992. Undead Scourge<br />
  6993. Human Alliance<br />
  6994. Orcish Horde<br />
  6995. Night Elves of Kalimdor<br />
  6996. Blood Mage<br />
  6997. Shadow Hunter<br />
  6998. Warden<br />
  6999. Crypt Lord<br />
  7000. <br />
  7001. New Races (from World of Warcraft)<br />
  7002. Draenei Alliance<br />
  7003. Worgen Horde<br />
  7004. Blood Elves<br />
  7005. Trolls of Azeroth<br />
  7006. Warlock<br />
  7007. Priest<br />
  7008. Death Knight<br />
  7009. Druid<br />
  7010. <br />
  7011. <br />
  7012. Gold System : With gold you can buy money and XP, and with money and XP you can buy gold.<br />
  7013. <br />
  7014. 1 Gold =&gt; 16000 $<br />
  7015. 16000 $ =&gt; 1 Gold<br />
  7016. 1 Gold =&gt; 1500 XP<br />
  7017. 1500 XP =&gt; 1 Gold<br />
  7018. 5 Gold =&gt; 7500 XP<br />
  7019. 7500 XP =&gt; 5 Gold<br />
  7020. <br />
  7021. How to get gold?<br />
  7022. - Search the boxes around the map<br />
  7023. - 25 Kills = 5 gold VIP =&gt; 15 Kills = 10 Gold<br />
  7024. - Use the /trade command to open the gold shop<br />
  7025. <br />
  7026. Shop menu 1<br />
  7027. <br />
  7028. 1. Ankh of Reincarnation:If you die, the next round you get your gear from the previous round.<br />
  7029. 2. Boots of Speed:Allows you to run faster.<br />
  7030. 3. Claws of Attack +6: An additional 6 blood will be removed from the opponent when you hit.<br />
  7031. 4. Cloak of Shadows: Makes you partially visible, invisibility increases when you draw a knife.<br />
  7032. 5. Mask of Death: You get blood for every hit on the enemy.<br />
  7033. 6. Necklace of Immunity: You are immune to the opponent's ultimate.<br />
  7034. 7. Orb of Frost: Slows your enemy when you hit them.<br />
  7035. 8. Periapt of Health: You get more blood.<br />
  7036. 9. Tome of Experience: You automatically pick up experience when purchasing the item.<br />
  7037. <br />
  7038. Shop menu 2<br />
  7039. <br />
  7040. 1. Scroll of Respawning: You will be respawned after you die.<br />
  7041. 2. Mole Protectant: You will be protected from an attack made by a mole.<br />
  7042. 3. Amulet of the Cat: You cannot be heard when running and climbing the ladder.<br />
  7043. 4. Sock of the Feather: You will be given a small gravity.<br />
  7044. 5. Helm of Excellence: Immune from headshots.<br />
  7045. 6. Flaming Gloves of Warmth: Gives grenades every 10 seconds.<br />
  7046. 7. Ring of Regeneration: Gives you 1 health every 2 seconds; you are only entitled to 5 similar rings.<br />
  7047. 8. Chameleon:Change your skin and look like your opponents.<br />
  7048. 9. Mole:Teleport to your enemies base and look like them.<br />
  7049. <br />
  7050. <br />
  7051. New 2 shop menus<br />
  7052. <br />
  7053. Shop menu 3<br />
  7054. <br />
  7055. 1. Frost Armor : When an enemy shoots you, they lose -3 health and -2 ar<br />
  7056. 2. Grenade Protection : Grenade Protection: immunity to grenade damage<br />
  7057. 3. Mirror Shield : take 30% less damage<br />
  7058. 4. Ultimate Accelerator: you can use instant ultimate<br />
  7059. 5. Death's Touch: 1 hit = 1 kill (item is single use)<br />
  7060. 6. Healing Potion: your health is restored (item is single use)<br />
  7061. 7. Aghanim's Scepter :ultimatum is 2x stronger<br />
  7062. 8. Scanner of Invisibility: you can see invisible enemies<br />
  7063. 9. Steel Skin: +200 Armor bonus<br />
  7064. <br />
  7065. Shop menu 4<br />
  7066. <br />
  7067. 1. Assasin Aura: +50$ per hit<br />
  7068. 2. Snake Eater : immunity<br />
  7069. 3. Scroll of Town Portal : instant base teleport (item is single use)<br />
  7070. <br />
  7071. 4. Omniscience : you can see dmg<br />
  7072. 5. Infinity : infinite bullets and no reload<br />
  7073. 6. Flamethrower : hit the enemy with fire!<br />
  7074. 7. Skull Collector : 35 hp per : headshot , magic kill ( ultimate and skills )<br />
  7075. 8. Death Book : you can revive a teammate<br />
  7076. 9. Spikes Skin : you can run on walls (w + e)<br />
  7077. <br />
  7078. Tons of goodies for V.I.P!<br />
  7079. <br />
  7080. <br />
  7081. - Cheap items to VIP<br />
  7082. - Fast Gold 15 Kills = 10 Gold<br />
  7083. - XP x3 times more<br />
  7084. - Charge items: Necklace, Helm with 3 times more<br />
  7085. - Status VIP when you are watched (spectate)<br />
  7086. - Bonus 1000 Gold<br />
  7087. - Free grenades every round (HE,2FB,SG)<br />
  7088. - Free Armor and Helm.<br />
  7089. - You get $500 per kill and HeadShot$800.<br />
  7090. - You get 15HP per kill and HeadShot 30HP.<br />
  7091. - You receive information about damage done to the opponent<br />
  7092. - Only VIP can buy snipers (For example AWP).<br />
  7093. - Use the /vips command to check if there are vips in the server<br />
  7094. - You can use admin chat<br />
  7095. - Reserved slot. When the server is full, it will kick a player to make room for you<br />
  7096. <br />
  7097. Here are 2 photos from the mod<br />
  7098. <a href="https://ibb.co/3pT0Hrs" target="_blank" rel="nofollow noopener">https://ibb.co/3pT0Hrs</a><br />
  7099. <a href="https://ibb.co/2KkCV7D" target="_blank" rel="nofollow noopener">https://ibb.co/2KkCV7D</a><br />
  7100. <br />
  7101. For price add me in discord let's talk krasimr434</div>
  7102.  
  7103. ]]></content:encoded>
  7104. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=7">General</category>
  7105. <dc:creator>maksito_98</dc:creator>
  7106. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347529</guid>
  7107. </item>
  7108. <item>
  7109. <title>Master Togel Hongkong Prediksi 4d 5d MAGNUMTOGEL</title>
  7110. <link>https://forums.alliedmods.net/showthread.php?t=347525&amp;goto=newpost</link>
  7111. <pubDate>Fri, 03 May 2024 07:10:56 GMT</pubDate>
  7112. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  7113. ATAU
  7114. KETIK GOOGLE >> MAGNUMTOGEL.COM
  7115. Keyword Terkait :
  7116. magumtogel
  7117. magnumtoto...]]></description>
  7118. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  7119. ATAU<br />
  7120. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  7121. <br />
  7122. Keyword Terkait :<br />
  7123. magumtogel<br />
  7124. magnumtoto<br />
  7125. magnumtogel88<br />
  7126. admin magnumtogel<br />
  7127. link alternatif magnumtogel<br />
  7128. link resmi magnumtogel<br />
  7129. link gacor magnumtogel<br />
  7130. cs admin magnumtogel<br />
  7131. cs terbaik aktif 24 jam magnumtogel<br />
  7132. rtp magnumtogel<br />
  7133. bocoran magnumtogel<br />
  7134. magnumtogel anti nawala<br />
  7135. Apk magnumtogel<br />
  7136. Apk anti nawala<br />
  7137. Freebet 30k<br />
  7138. Freebet 20k<br />
  7139. Freebet slot<br />
  7140. Apk magnumtogel toto<br />
  7141. Link apk magnumtogel<br />
  7142. Magnumtogel live<br />
  7143. Prediksi magnumtogel<br />
  7144. Prediksi magnumtoto<br />
  7145. Prediksi master togel magnumtogel<br />
  7146. Prediksi togel harian<br />
  7147. Livedraw magnumtogel<br />
  7148. Livedraw togel hk<br />
  7149. master togel hongkong</div>
  7150.  
  7151. ]]></content:encoded>
  7152. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  7153. <dc:creator>LebahSange</dc:creator>
  7154. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347525</guid>
  7155. </item>
  7156. <item>
  7157. <title>Daftar Slot Spaceman Terbaru Hari ini Mudah JP Maxwin WSOSLOT88</title>
  7158. <link>https://forums.alliedmods.net/showthread.php?t=347523&amp;goto=newpost</link>
  7159. <pubDate>Fri, 03 May 2024 04:38:12 GMT</pubDate>
  7160. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  7161. ATAU
  7162. KETIK GOOGLE >> WSOSLOT88.COM
  7163. SPACEMAN SLOT adalah game slot tergacor dengan animasi...]]></description>
  7164. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  7165. ATAU<br />
  7166. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  7167. <br />
  7168. SPACEMAN SLOT adalah game slot tergacor dengan animasi luar angkasa. Raih keuntungan besar dengan bermain slot spaceman, game slot terbaru dari pragmatic play yang bisa dimainkan dengan modal kecil!<br />
  7169. <br />
  7170. Spaceman Pragmatic menjadi satu-satunya permainan dengan kualitas penebakkan angka yang kemenangannya dibayar paling besar dibandingkan permainan crash lainnya. Hal ini tentu menjadi point luar biasa dimana sejatinya pemain mencari game slot yang memberikan keuntungan terbaiknya.</div>
  7171.  
  7172. ]]></content:encoded>
  7173. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  7174. <dc:creator>KuraKura12</dc:creator>
  7175. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347523</guid>
  7176. </item>
  7177. <item>
  7178. <title>single use parachute extra item</title>
  7179. <link>https://forums.alliedmods.net/showthread.php?t=347522&amp;goto=newpost</link>
  7180. <pubDate>Thu, 02 May 2024 22:19:01 GMT</pubDate>
  7181. <description>Hello .I have this plugin for parachute ,and i have 2 problem .
  7182. 1.I already have parachute without buying from shop.
  7183. 2.I want to make single use...</description>
  7184. <content:encoded><![CDATA[<div>Hello .I have this plugin for parachute ,and i have 2 problem .<br />
  7185. 1.I already have parachute without buying from shop.<br />
  7186. 2.I want to make single use parachute then need to buy again.<br />
  7187. <br />
  7188. <div style="margin:20px; margin-top:5px">
  7189. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  7190. <div class="alt2">
  7191. <hr />
  7192. <code style="white-space:nowrap">
  7193. <div dir="ltr" style="text-align:left;">
  7194. <!-- php buffer start --><code><span style="color: #000000">
  7195. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;<br />#include&nbsp;&lt;customshop&gt;<br />#include&nbsp;&lt;fakemeta&gt;<br />#include&nbsp;&lt;hamsandwich&gt;<br /><br /></span><span style="color: #0000BB">additem&nbsp;ITEM_PARACHUTE<br /></span><span style="color: #FF8000">#define&nbsp;PARACHUTE_MODEL&nbsp;"models/parachute.mdl"<br />#define&nbsp;MAX_PLAYERS&nbsp;&nbsp;&nbsp;&nbsp;32<br />#define&nbsp;MarkUserHasParachute(%0)&nbsp;&nbsp;&nbsp;&nbsp;g_bitHasParachute&nbsp;|=&nbsp;(1&lt;&lt;(%0&amp;31))<br />#define&nbsp;ClearUserHasParachute(%0)&nbsp;&nbsp;&nbsp;&nbsp;g_bitHasParachute&nbsp;&amp;=&nbsp;~(1&lt;&lt;(%0&amp;31))<br />#define&nbsp;HasUserParachute(%0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g_bitHasParachute&nbsp;&amp;&nbsp;(1&lt;&lt;(%0&amp;31))<br /><br />#define&nbsp;_PLUGIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"&#91;ZP&#93;&nbsp;Parachute"<br />#define&nbsp;_VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1.0"<br />#define&nbsp;_AUTHOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"H.RED.ZONE"<br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_bitHasParachute&nbsp;<br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAX_PLAYERS</span><span style="color: #007700">+</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;<br /><br />new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">MAX_PLAYERS</span><span style="color: #007700">+</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;<br /><br />new&nbsp;</span><span style="color: #0000BB">g_iModelIndex<br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_pCvarFallSpeed<br /><br /></span><span style="color: #007700">new&nbsp;const&nbsp;</span><span style="color: #0000BB">PARACHUTE_CLASS</span><span style="color: #007700">&#91;&#93;&nbsp;=&nbsp;</span><span style="color: #DD0000">"parachute"<br /><br /></span><span style="color: #0000BB">enum&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">deploy</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">idle</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">detach<br /></span><span style="color: #007700">}<br /><br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #0000BB">_PLUGIN</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">_AUTHOR</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_pCvarFallSpeed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"parachute_fallspeed"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"30"</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_forward</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">FM_CmdStart</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"fw_Start"&nbsp;</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Spawn</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Ham_CBasePlayer_Spawn_Post"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_Killed</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Ham_CBasePlayer_Killed_Post"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">plugin_precache</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ITEM_PARACHUTE&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">cshop_register_item</span><span style="color: #007700">(</span><span style="color: #DD0000">"Parachute"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Parachute&nbsp;(One&nbsp;use)"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2600</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iModelIndex&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">precache_model</span><span style="color: #007700">(</span><span style="color: #0000BB">PARACHUTE_MODEL</span><span style="color: #007700">)<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">HasUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ClearUserHasParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_disconnect</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">HasUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ClearUserHasParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />public&nbsp;</span><span style="color: #0000BB">Ham_CBasePlayer_Killed_Post</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">HasUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ClearUserHasParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">Ham_CBasePlayer_Spawn_Post</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">HasUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">MarkUserHasParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /><br /></span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_RemoveEntity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0<br /></span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />public&nbsp;</span><span style="color: #0000BB">cshop_item_selected</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iItem</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iItem&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">ITEM_PARACHUTE</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true<br /></span><span style="color: #007700">}<br /><br />public&nbsp;</span><span style="color: #0000BB">cshop_item_removed</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iItem</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iItem&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">ITEM_PARACHUTE</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false<br /></span><span style="color: #007700">}<br /><br /><br /></span><span style="color: #0000BB">CreateParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iszInfoTarget<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(&nbsp;!</span><span style="color: #0000BB">iszInfoTarget&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iszInfoTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_AllocString</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"info_target"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_CreateNamedEntity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iszInfoTarget</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iszClass&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(&nbsp;!</span><span style="color: #0000BB">iszClass&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iszClass&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_AllocString</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PARACHUTE_CLASS</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev_string</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_classname</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iszClass</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_aiment</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_owner</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_movetype</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">MOVETYPE_FOLLOW</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;</span><span style="color: #0000BB">iszModel&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(&nbsp;!</span><span style="color: #0000BB">iszModel&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iszModel&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">engfunc</span><span style="color: #007700">(</span><span style="color: #0000BB">EngFunc_AllocString</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PARACHUTE_MODEL</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev_string</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_model</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iszModel</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_modelindex</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_iModelIndex</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">deploy</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">iEnt<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MarkUserHasParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">fVecOrigin</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_origin</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fVecOrigin</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">iEnt<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">0<br /></span><span style="color: #007700">}<br /><br />public&nbsp;</span><span style="color: #0000BB">fw_Start</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;~</span><span style="color: #0000BB">HasUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;||&nbsp;!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)&nbsp;)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">flFrame<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_iUserParachute</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_flags</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">FL_ONGROUND</span><span style="color: #007700">)&nbsp;{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_sequence</span><span style="color: #007700">)&nbsp;!=&nbsp;</span><span style="color: #0000BB">detach&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">detach</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_animtime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_framerate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flFrame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">flFrame&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">252.0&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">flFrame&nbsp;</span><span style="color: #007700">+=&nbsp;</span><span style="color: #0000BB">2.0<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">flFrame<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flFrame</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_button</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">IN_USE&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">fVecVelocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">fVelocity_z<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_velocity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fVecVelocity</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fVelocity_z&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fVecVelocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">fVelocity_z&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">0.0&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">&lt;=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fVelocity_z&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">floatmin</span><span style="color: #007700">(</span><span style="color: #0000BB">fVelocity_z&nbsp;</span><span style="color: #007700">+&nbsp;</span><span style="color: #0000BB">15.0</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">get_pcvar_float</span><span style="color: #007700">(</span><span style="color: #0000BB">g_pCvarFallSpeed</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fVecVelocity</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">fVelocity_z<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_velocity</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">fVecVelocity</span><span style="color: #007700">)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_sequence</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">deploy&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">flFrame&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;++<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;</span><span style="color: #0000BB">flFrame&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">100.0&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_animtime</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_framerate</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.4</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_sequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">idle</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_gaitsequence</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_flEntityFrame</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">id</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">0.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">set_pev</span><span style="color: #007700">(</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_frame</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flFrame</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if(&nbsp;</span><span style="color: #0000BB">iEnt&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">pev</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pev_oldbuttons</span><span style="color: #007700">)&nbsp;&amp;&nbsp;</span><span style="color: #0000BB">IN_USE&nbsp;</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RemoveUserParachute</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iEnt</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;
  7196. <br /></span><span style="color: #0000BB"></span>
  7197. </span>
  7198. </code><!-- php buffer end -->
  7199. </div>
  7200. </code>
  7201. <hr />
  7202. </div>
  7203. </div></div>
  7204.  
  7205. ]]></content:encoded>
  7206. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  7207. <dc:creator>xAlecsu</dc:creator>
  7208. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347522</guid>
  7209. </item>
  7210. <item>
  7211. <title>L4D2 recent update make sourcemod plugin crash?</title>
  7212. <link>https://forums.alliedmods.net/showthread.php?t=347521&amp;goto=newpost</link>
  7213. <pubDate>Thu, 02 May 2024 21:08:38 GMT</pubDate>
  7214. <description><![CDATA[When i move all of sourcemod plugin into disable folder, the game load map and work fine
  7215. When i return or disable plugin back to enable, it's just...]]></description>
  7216. <content:encoded><![CDATA[<div>When i move all of sourcemod plugin into disable folder, the game load map and work fine<br />
  7217. When i return or disable plugin back to enable, it's just go back to main menu without warning<br />
  7218. <br />
  7219. <b>I swear to volvo, this annoying error things never happened</b> before until the game update due to something with DDOS<br />
  7220. <br />
  7221. Does anybody know how to solve this issue? I just wanna play l4d2 with sourcemod plugin on</div>
  7222.  
  7223. ]]></content:encoded>
  7224. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  7225. <dc:creator>ddd123</dc:creator>
  7226. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347521</guid>
  7227. </item>
  7228. <item>
  7229. <title>L4D2 Server Configuration</title>
  7230. <link>https://forums.alliedmods.net/showthread.php?t=347520&amp;goto=newpost</link>
  7231. <pubDate>Thu, 02 May 2024 20:25:33 GMT</pubDate>
  7232. <description><![CDATA[How to enable self damage and friendly fire? I only installed few plugins those don't effect server config. How to edit server config?]]></description>
  7233. <content:encoded><![CDATA[<div>How to enable self damage and friendly fire? I only installed few plugins those don't effect server config. How to edit server config?</div>
  7234.  
  7235. ]]></content:encoded>
  7236. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  7237. <dc:creator>N0MAD</dc:creator>
  7238. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347520</guid>
  7239. </item>
  7240. <item>
  7241. <title><![CDATA[[FF2] {New Boss} Bandito Engineer]]></title>
  7242. <link>https://forums.alliedmods.net/showthread.php?t=347519&amp;goto=newpost</link>
  7243. <pubDate>Thu, 02 May 2024 19:58:59 GMT</pubDate>
  7244. <description>hey, I created a new boss, tell me what you think boss
  7245. Description:
  7246. Bandito Engineer is a boss characterized by.His super jump ability Powerful...</description>
  7247. <content:encoded><![CDATA[<div>hey, I created a new boss, tell me what you think boss<br />
  7248. <br />
  7249. Description:<br />
  7250. Bandito Engineer is a boss characterized by.His super jump ability Powerful melee attack And the ability to deploy various constructs like the Bombspenser and Totemspenser Watch out for his explosive arsenal and mechanical hat summons! Boss by Postal Dude<br />
  7251. <br />
  7252. Theme(s): <br />
  7253. Uncle Dane Build A Sentry- <a href="https://youtu.be/bm27IxRGKvw" target="_blank" rel="nofollow noopener">https://youtu.be/bm27IxRGKvw</a> <br />
  7254. Frontier Justice (Uncle Dane theme) - Dapper Dog - <a href="https://youtu.be/4l5qmoe9CNA" target="_blank" rel="nofollow noopener">https://youtu.be/4l5qmoe9CNA</a><br />
  7255. Wazgul Erectin' a River - <a href="https://youtu.be/2HjLN1TA3bc" target="_blank" rel="nofollow noopener">https://youtu.be/2HjLN1TA3bc</a><br />
  7256. Plugins: <br />
  7257. ff2_dynamic_defaults <br />
  7258. improved_saxton<br />
  7259. default_abilities<br />
  7260. special_noanims<br />
  7261. ffbat_menu_abilities<br />
  7262. ff2_dispenserrage<br />
  7263. ff2_ragesentry<br />
  7264. <br />
  7265. Credits:<br />
  7266. you have my discord if you want to contact me - onimusha_42</div>
  7267.  
  7268.  
  7269. <br />
  7270. <div style="padding:6px">
  7271.  
  7272.  
  7273.  
  7274.  
  7275. <fieldset class="fieldset">
  7276. <legend>Attached Files</legend>
  7277. <table cellpadding="0" cellspacing="3" border="0">
  7278. <tr>
  7279. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  7280. <td>
  7281. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204249&amp;d=1714679933">Bandito engie1.zip</a> (11.02 MB)
  7282. </td>
  7283. </tr>
  7284. </table>
  7285. </fieldset>
  7286.  
  7287. </div>
  7288. ]]></content:encoded>
  7289. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=154">VSH / Freak Fortress</category>
  7290. <dc:creator>Postal Dude</dc:creator>
  7291. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347519</guid>
  7292. </item>
  7293. <item>
  7294. <title>adminvote plugin</title>
  7295. <link>https://forums.alliedmods.net/showthread.php?t=347518&amp;goto=newpost</link>
  7296. <pubDate>Thu, 02 May 2024 18:48:25 GMT</pubDate>
  7297. <description><![CDATA[I would also like in that plugin for the votemap commands and all of others to be usable with "/"
  7298. Code:  
  7299. Code:
  7300. ---------
  7301. // vim: set ts=4...]]></description>
  7302. <content:encoded><![CDATA[<div>I would also like in that plugin for the votemap commands and all of others to be usable with &quot;/&quot;<br />
  7303. <br />
  7304. Code: <br />
  7305. <div style="margin:20px; margin-top:5px">
  7306. <div class="smallfont" style="margin-bottom:2px">Code:</div>
  7307. <hr /><code style="margin:0px" dir="ltr" style="text-align:left">// vim: set ts=4 sw=4 tw=99 noet:<br />
  7308. //<br />
  7309. // AMX Mod X, based on AMX Mod by Aleksander Naszko (&quot;OLO&quot;).<br />
  7310. // Copyright (C) The AMX Mod X Development Team.<br />
  7311. //<br />
  7312. // This software is licensed under the GNU General Public License, version 3 or higher.<br />
  7313. // Additional exceptions apply. For full license details, see LICENSE.txt or visit:<br />
  7314. //&nbsp; &nbsp;  https://alliedmods.net/amxmodx-license<br />
  7315. <br />
  7316. //<br />
  7317. // Admin Votes Plugin<br />
  7318. //<br />
  7319. <br />
  7320. #include &lt;amxmodx&gt;<br />
  7321. #include &lt;amxmisc&gt;<br />
  7322. <br />
  7323. <br />
  7324. new g_Answer[128]<br />
  7325. new g_optionName[4][64]<br />
  7326. new g_voteCount[4]<br />
  7327. new g_validMaps<br />
  7328. new g_yesNoVote<br />
  7329. new g_coloredMenus<br />
  7330. new g_voteCaller<br />
  7331. new g_Execute[256]<br />
  7332. new g_execLen<br />
  7333. <br />
  7334. new bool:g_execResult<br />
  7335. new Float:g_voteRatio<br />
  7336. <br />
  7337. public plugin_init()<br />
  7338. {<br />
  7339. &nbsp; &nbsp; &nbsp; &nbsp; register_plugin(&quot;Admin Votes&quot;, AMXX_VERSION_STR, &quot;AMXX Dev Team&quot;)<br />
  7340. &nbsp; &nbsp; &nbsp; &nbsp; register_dictionary(&quot;adminvote.txt&quot;)<br />
  7341. &nbsp; &nbsp; &nbsp; &nbsp; register_dictionary(&quot;common.txt&quot;)<br />
  7342. &nbsp; &nbsp; &nbsp; &nbsp; register_dictionary(&quot;mapsmenu.txt&quot;)<br />
  7343. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;Change map to &quot;), MENU_KEY_1|MENU_KEY_2, &quot;voteCount&quot;)<br />
  7344. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;Choose map: &quot;), MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4, &quot;voteCount&quot;)<br />
  7345. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;Kick &quot;), MENU_KEY_1|MENU_KEY_2, &quot;voteCount&quot;)<br />
  7346. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;Ban &quot;), MENU_KEY_1|MENU_KEY_2, &quot;voteCount&quot;)<br />
  7347. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;Vote: &quot;), MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4, &quot;voteCount&quot;)<br />
  7348. &nbsp; &nbsp; &nbsp; &nbsp; register_menucmd(register_menuid(&quot;The result: &quot;), MENU_KEY_1|MENU_KEY_2, &quot;actionResult&quot;)<br />
  7349. &nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;amx_votemap&quot;, &quot;cmdVoteMap&quot;, ADMIN_KICK, &quot;&lt;map&gt; [map] [map] [map]&quot;)<br />
  7350. &nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;amx_votekick&quot;, &quot;cmdVoteKickBan&quot;, ADMIN_KICK, &quot;&lt;name or #userid&gt;&quot;)<br />
  7351. &nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;amx_voteban&quot;, &quot;cmdVoteKickBan&quot;, ADMIN_BAN, &quot;&lt;name or #userid&gt;&quot;)<br />
  7352. &nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;amx_vote&quot;, &quot;cmdVote&quot;, ADMIN_KICK, &quot;&lt;question&gt; &lt;answer#1&gt; &lt;answer#2&gt;&quot;)<br />
  7353. &nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;amx_cancelvote&quot;, &quot;cmdCancelVote&quot;, ADMIN_KICK, &quot;- cancels last vote&quot;)<br />
  7354. &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /votemap&quot;, &quot;cmdVoteMap&quot;, ADMIN_KICK)<br />
  7355. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7356. &nbsp; &nbsp; &nbsp; &nbsp; g_coloredMenus = colored_menus()<br />
  7357. }<br />
  7358. <br />
  7359. public cmdCancelVote(id, level, cid)<br />
  7360. {<br />
  7361. &nbsp; &nbsp; &nbsp; &nbsp; if (!cmd_access(id, level, cid, 0))<br />
  7362. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7363. <br />
  7364. &nbsp; &nbsp; &nbsp; &nbsp; if (task_exists(99889988, 1))<br />
  7365. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7366. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new authid[32], name[MAX_NAME_LENGTH]<br />
  7367. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7368. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id, authid, charsmax(authid))<br />
  7369. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, charsmax(name))<br />
  7370. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: ^&quot;%s&lt;%d&gt;&lt;%s&gt;&lt;&gt;^&quot; cancel vote session&quot;, name, get_user_userid(id), authid)<br />
  7371. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7372. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new msg[256];<br />
  7373. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 1; i &lt;= MaxClients; i++)<br />
  7374. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7375. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(i) &amp;&amp; !is_user_bot(i))<br />
  7376. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7377. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // HACK: ADMIN_CANC_VOTE_{1,2} keys were designed very poorly.&nbsp; Remove all : and %s in it.<br />
  7378. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LookupLangKey(msg, charsmax(msg), &quot;ADMIN_CANC_VOTE_1&quot;, i);<br />
  7379. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;%s&quot;, &quot;&quot;);<br />
  7380. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;:&quot;, &quot;&quot;);<br />
  7381. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trim(msg);<br />
  7382. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_activity_id(i, id, name, msg);<br />
  7383. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7384. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7385. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7386. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_CANC&quot;)<br />
  7387. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(0,print_chat,&quot;%L&quot;,LANG_PLAYER,&quot;VOTING_CANC&quot;)<br />
  7388. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_task(99889988, 1)<br />
  7389. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_cvar_float(&quot;amx_last_voting&quot;, get_gametime())<br />
  7390. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7391. &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7392. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;NO_VOTE_CANC&quot;)<br />
  7393. <br />
  7394. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7395. }<br />
  7396. <br />
  7397. public delayedExec(cmd[])<br />
  7398. &nbsp; &nbsp; &nbsp; &nbsp; server_cmd(&quot;%s&quot;, cmd)<br />
  7399. <br />
  7400. public autoRefuse()<br />
  7401. {<br />
  7402. &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: %L&quot;, &quot;en&quot;, &quot;RES_REF&quot;)<br />
  7403. &nbsp; &nbsp; &nbsp; &nbsp; client_print(0, print_chat, &quot;%L&quot;, LANG_PLAYER, &quot;RES_REF&quot;)<br />
  7404. }<br />
  7405. <br />
  7406. public actionResult(id, key)<br />
  7407. {<br />
  7408. &nbsp; &nbsp; &nbsp; &nbsp; remove_task(4545454)<br />
  7409. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7410. &nbsp; &nbsp; &nbsp; &nbsp; switch (key)<br />
  7411. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7412. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 0:<br />
  7413. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7414. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(2.0, &quot;delayedExec&quot;, 0, g_Execute, g_execLen)<br />
  7415. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: %L&quot;, &quot;en&quot;, &quot;RES_ACCEPTED&quot;)<br />
  7416. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(0, print_chat, &quot;%L&quot;, LANG_PLAYER, &quot;RES_ACCEPTED&quot;)<br />
  7417. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7418. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1: autoRefuse()<br />
  7419. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7420. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7421. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7422. }<br />
  7423. <br />
  7424. public checkVotes()<br />
  7425. {<br />
  7426. &nbsp; &nbsp; &nbsp; &nbsp; new best = 0<br />
  7427. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7428. &nbsp; &nbsp; &nbsp; &nbsp; if (!g_yesNoVote)<br />
  7429. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7430. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (new a = 0; a &lt; 4; ++a)<br />
  7431. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (g_voteCount[a] &gt; g_voteCount[best])<br />
  7432. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7433. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; best = a<br />
  7434. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7435. <br />
  7436. &nbsp; &nbsp; &nbsp; &nbsp; new votesNum = g_voteCount[0] + g_voteCount[1] + g_voteCount[2] + g_voteCount[3]<br />
  7437. &nbsp; &nbsp; &nbsp; &nbsp; new iRatio = votesNum ? floatround(g_voteRatio * float(votesNum), floatround_ceil) : 1<br />
  7438. &nbsp; &nbsp; &nbsp; &nbsp; new iResult = g_voteCount[best]<br />
  7439. &nbsp; &nbsp; &nbsp; &nbsp; new players[MAX_PLAYERS], pnum, i<br />
  7440. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7441. &nbsp; &nbsp; &nbsp; &nbsp; get_players(players, pnum, &quot;c&quot;)<br />
  7442. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7443. &nbsp; &nbsp; &nbsp; &nbsp; if (iResult &lt; iRatio)<br />
  7444. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7445. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new lVotingFailed[64]<br />
  7446. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7447. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i = 0; i &lt; pnum; i++)<br />
  7448. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7449. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lVotingFailed, 63, &quot;%L&quot;, players[i], &quot;VOTING_FAILED&quot;)<br />
  7450. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (g_yesNoVote)<br />
  7451. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(players[i], print_chat, &quot;%L&quot;, players[i], &quot;VOTING_RES_1&quot;, lVotingFailed, g_voteCount[0], g_voteCount[1], iRatio)<br />
  7452. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7453. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(players[i], print_chat, &quot;%L&quot;, players[i], &quot;VOTING_RES_2&quot;, lVotingFailed, iResult, iRatio)<br />
  7454. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7455. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7456. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lVotingFailed, 63, &quot;%L&quot;, &quot;en&quot;, &quot;VOTING_FAILED&quot;)<br />
  7457. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: %s (got ^&quot;%d^&quot;) (needed ^&quot;%d^&quot;)&quot;, lVotingFailed, iResult, iRatio)<br />
  7458. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7459. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />
  7460. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7461. <br />
  7462. &nbsp; &nbsp; &nbsp; &nbsp; g_execLen = format(g_Execute, charsmax(g_Execute), g_Answer, g_optionName[best]) + 1<br />
  7463. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7464. &nbsp; &nbsp; &nbsp; &nbsp; if (g_execResult)<br />
  7465. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7466. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_execResult = false<br />
  7467. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7468. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(g_voteCaller))<br />
  7469. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7470. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new menuBody[512], lTheResult[32], lYes[16], lNo[16]<br />
  7471. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7472. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lTheResult, charsmax(lTheResult), &quot;%L&quot;, g_voteCaller, &quot;THE_RESULT&quot;)<br />
  7473. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lYes, charsmax(lYes), &quot;%L&quot;, g_voteCaller, &quot;YES&quot;)<br />
  7474. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lNo, charsmax(lNo), &quot;%L&quot;, g_voteCaller, &quot;NO&quot;)<br />
  7475. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7476. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new len = format(menuBody, charsmax(menuBody), g_coloredMenus ? &quot;\y%s: \w%s^n^n&quot; : &quot;%s: %s^n^n&quot;, lTheResult, g_Execute)<br />
  7477. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7478. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; len += format(menuBody[len], charsmax(menuBody) - len, g_coloredMenus ? &quot;\y%L^n\w&quot; : &quot;%L^n&quot;, g_voteCaller, &quot;WANT_CONTINUE&quot;)<br />
  7479. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(menuBody[len], charsmax(menuBody) - len, &quot;^n1. %s^n2. %s&quot;, lYes, lNo)<br />
  7480. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_menu(g_voteCaller, 0x03, menuBody, 10, &quot;The result: &quot;)<br />
  7481. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(10.0, &quot;autoRefuse&quot;, 4545454)<br />
  7482. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7483. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7484. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(2.0, &quot;delayedExec&quot;, 0, g_Execute, g_execLen)<br />
  7485. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7486. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7487. &nbsp; &nbsp; &nbsp; &nbsp; new lVotingSuccess[32]<br />
  7488. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7489. &nbsp; &nbsp; &nbsp; &nbsp; for (i = 0; i &lt; pnum; i++)<br />
  7490. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7491. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lVotingSuccess, charsmax(lVotingSuccess), &quot;%L&quot;, players[i], &quot;VOTING_SUCCESS&quot;)<br />
  7492. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(players[i], print_chat, &quot;%L&quot;, players[i], &quot;VOTING_RES_3&quot;, lVotingSuccess, iResult, iRatio, g_Execute)<br />
  7493. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7494. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7495. &nbsp; &nbsp; &nbsp; &nbsp; format(lVotingSuccess, charsmax(lVotingSuccess), &quot;%L&quot;, &quot;en&quot;, &quot;VOTING_SUCCESS&quot;)<br />
  7496. &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: %s (got ^&quot;%d^&quot;) (needed ^&quot;%d^&quot;) (result ^&quot;%s^&quot;)&quot;, lVotingSuccess, iResult, iRatio, g_Execute)<br />
  7497. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7498. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />
  7499. }<br />
  7500. <br />
  7501. public voteCount(id, key)<br />
  7502. {<br />
  7503. &nbsp; &nbsp; &nbsp; &nbsp; if (get_cvar_num(&quot;amx_vote_answers&quot;))<br />
  7504. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7505. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new name[MAX_NAME_LENGTH]<br />
  7506. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, charsmax(name))<br />
  7507. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7508. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (g_yesNoVote)<br />
  7509. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(0, print_chat, &quot;%L&quot;, LANG_PLAYER, key ? &quot;VOTED_AGAINST&quot; : &quot;VOTED_FOR&quot;, name)<br />
  7510. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7511. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; client_print(0, print_chat, &quot;%L&quot;, LANG_PLAYER, &quot;VOTED_FOR_OPT&quot;, name, key + 1)<br />
  7512. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7513. &nbsp; &nbsp; &nbsp; &nbsp; ++g_voteCount[key]<br />
  7514. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7515. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7516. }<br />
  7517. <br />
  7518. public cmdVoteMap(id, level, cid)<br />
  7519. {<br />
  7520. &nbsp; &nbsp; &nbsp; &nbsp; if (!cmd_access(id, level, cid, 2))<br />
  7521. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7522. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7523. &nbsp; &nbsp; &nbsp; &nbsp; new Float:voting = get_cvar_float(&quot;amx_last_voting&quot;)<br />
  7524. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &gt; get_gametime())<br />
  7525. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7526. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;ALREADY_VOTING&quot;)<br />
  7527. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7528. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7529. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7530. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &amp;&amp; voting + get_cvar_float(&quot;amx_vote_delay&quot;) &gt; get_gametime())<br />
  7531. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7532. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_NOT_ALLOW&quot;)<br />
  7533. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7534. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7535. <br />
  7536. &nbsp; &nbsp; &nbsp; &nbsp; new argc = read_argc()<br />
  7537. &nbsp; &nbsp; &nbsp; &nbsp; if (argc &gt; 5) argc = 5<br />
  7538. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7539. &nbsp; &nbsp; &nbsp; &nbsp; g_validMaps = 0<br />
  7540. &nbsp; &nbsp; &nbsp; &nbsp; g_optionName[0][0] = 0<br />
  7541. &nbsp; &nbsp; &nbsp; &nbsp; g_optionName[1][0] = 0<br />
  7542. &nbsp; &nbsp; &nbsp; &nbsp; g_optionName[2][0] = 0<br />
  7543. &nbsp; &nbsp; &nbsp; &nbsp; g_optionName[3][0] = 0<br />
  7544. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7545. &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 1; i &lt; argc; ++i)<br />
  7546. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7547. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; read_argv(i, g_optionName[g_validMaps], 31)<br />
  7548. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7549. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_map_valid(g_optionName[g_validMaps]))<br />
  7550. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_validMaps++<br />
  7551. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7552. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7553. &nbsp; &nbsp; &nbsp; &nbsp; if (g_validMaps == 0)<br />
  7554. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7555. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new lMaps[16]<br />
  7556. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7557. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lMaps, charsmax(lMaps), &quot;%L&quot;, id, (argc == 2) ? &quot;MAP_IS&quot; : &quot;MAPS_ARE&quot;)<br />
  7558. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;GIVEN_NOT_VALID&quot;, lMaps)<br />
  7559. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7560. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7561. <br />
  7562. &nbsp; &nbsp; &nbsp; &nbsp; new menu_msg[256], len = 0<br />
  7563. &nbsp; &nbsp; &nbsp; &nbsp; new keys = 0<br />
  7564. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7565. &nbsp; &nbsp; &nbsp; &nbsp; if (g_validMaps &gt; 1)<br />
  7566. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7567. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keys = MENU_KEY_0<br />
  7568. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; len = format(menu_msg, charsmax(menu_msg), g_coloredMenus ? &quot;\y%L: \w^n^n&quot; : &quot;%L: ^n^n&quot;, LANG_SERVER, &quot;CHOOSE_MAP&quot;)<br />
  7569. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new temp[128]<br />
  7570. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7571. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (new a = 0; a &lt; g_validMaps; ++a)<br />
  7572. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7573. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(temp, charsmax(temp), &quot;%d.&nbsp; %s^n&quot;, a+1, g_optionName[a])<br />
  7574. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; len += copy(menu_msg[len], charsmax(menu_msg) - len, temp)<br />
  7575. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keys |= (1&lt;&lt;a)<br />
  7576. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7577. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7578. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(menu_msg[len], charsmax(menu_msg) - len, &quot;^n0.&nbsp; %L&quot;, LANG_SERVER, &quot;NONE&quot;)<br />
  7579. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_yesNoVote = 0<br />
  7580. &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
  7581. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new lChangeMap[32], lYes[16], lNo[16]<br />
  7582. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7583. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lChangeMap, charsmax(lChangeMap), &quot;%L&quot;, LANG_SERVER, &quot;CHANGE_MAP_TO&quot;)<br />
  7584. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lYes, charsmax(lYes), &quot;%L&quot;, LANG_SERVER, &quot;YES&quot;)<br />
  7585. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(lNo, charsmax(lNo), &quot;%L&quot;, LANG_SERVER, &quot;NO&quot;)<br />
  7586. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(menu_msg, charsmax(menu_msg), g_coloredMenus ? &quot;\y%s %s?\w^n^n1.&nbsp; %s^n2.&nbsp; %s&quot; : &quot;%s %s?^n^n1.&nbsp; %s^n2.&nbsp; %s&quot;, lChangeMap, g_optionName[0], lYes, lNo)<br />
  7587. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keys = MENU_KEY_1|MENU_KEY_2<br />
  7588. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_yesNoVote = 1<br />
  7589. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7590. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7591. &nbsp; &nbsp; &nbsp; &nbsp; new authid[32], name[MAX_NAME_LENGTH]<br />
  7592. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7593. &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id, authid, charsmax(authid))<br />
  7594. &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, charsmax(name))<br />
  7595. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7596. &nbsp; &nbsp; &nbsp; &nbsp; if (argc == 2)<br />
  7597. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: ^&quot;%s&lt;%d&gt;&lt;%s&gt;&lt;&gt;^&quot; vote map (map ^&quot;%s^&quot;)&quot;, name, get_user_userid(id), authid, g_optionName[0])<br />
  7598. &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7599. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: ^&quot;%s&lt;%d&gt;&lt;%s&gt;&lt;&gt;^&quot; vote maps (map#1 ^&quot;%s^&quot;) (map#2 ^&quot;%s^&quot;) (map#3 ^&quot;%s^&quot;) (map#4 ^&quot;%s^&quot;)&quot;, name, get_user_userid(id), authid, g_optionName[0], g_optionName[1], g_optionName[2], g_optionName[3])<br />
  7600. <br />
  7601. &nbsp; &nbsp; &nbsp; &nbsp; new msg[256];<br />
  7602. &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 1; i &lt;= MaxClients; i++)<br />
  7603. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7604. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(i) &amp;&amp; !is_user_bot(i))<br />
  7605. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7606. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // HACK: ADMIN_VOTE_MAP_{1,2} keys were designed very poorly.&nbsp; Remove all : and %s in it.<br />
  7607. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LookupLangKey(msg, charsmax(msg), &quot;ADMIN_VOTE_MAP_1&quot;, i);<br />
  7608. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;%s&quot;, &quot;&quot;);<br />
  7609. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;:&quot;, &quot;&quot;);<br />
  7610. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trim(msg);<br />
  7611. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_activity_id(i, id, name, msg);<br />
  7612. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7613. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7614. <br />
  7615. &nbsp; &nbsp; &nbsp; &nbsp; g_execResult = true<br />
  7616. &nbsp; &nbsp; &nbsp; &nbsp; new Float:vote_time = get_cvar_float(&quot;amx_vote_time&quot;) + 2.0<br />
  7617. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7618. &nbsp; &nbsp; &nbsp; &nbsp; set_cvar_float(&quot;amx_last_voting&quot;, get_gametime() + vote_time)<br />
  7619. &nbsp; &nbsp; &nbsp; &nbsp; g_voteRatio = get_cvar_float(&quot;amx_votemap_ratio&quot;)<br />
  7620. &nbsp; &nbsp; &nbsp; &nbsp; g_Answer = &quot;changelevel %s&quot;<br />
  7621. &nbsp; &nbsp; &nbsp; &nbsp; show_menu(0, keys, menu_msg, floatround(vote_time), (g_validMaps &gt; 1) ? &quot;Choose map: &quot; : &quot;Change map to &quot;)<br />
  7622. &nbsp; &nbsp; &nbsp; &nbsp; set_task(vote_time, &quot;checkVotes&quot;, 99889988)<br />
  7623. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCaller = id<br />
  7624. &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_STARTED&quot;)<br />
  7625. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCount = {0, 0, 0, 0}<br />
  7626. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7627. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7628. }<br />
  7629. <br />
  7630. public cmdVote(id, level, cid)<br />
  7631. {<br />
  7632. &nbsp; &nbsp; &nbsp; &nbsp; if (!cmd_access(id, level, cid, 4))<br />
  7633. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7634. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7635. &nbsp; &nbsp; &nbsp; &nbsp; new Float:voting = get_cvar_float(&quot;amx_last_voting&quot;)<br />
  7636. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &gt; get_gametime())<br />
  7637. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7638. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;ALREADY_VOTING&quot;)<br />
  7639. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7640. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7641. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7642. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &amp;&amp; voting + get_cvar_float(&quot;amx_vote_delay&quot;) &gt; get_gametime())<br />
  7643. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7644. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_NOT_ALLOW&quot;)<br />
  7645. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7646. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7647. <br />
  7648. &nbsp; &nbsp; &nbsp; &nbsp; new quest[48]<br />
  7649. &nbsp; &nbsp; &nbsp; &nbsp; read_argv(1, quest, charsmax(quest))<br />
  7650. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7651. &nbsp; &nbsp; &nbsp; &nbsp; trim(quest);<br />
  7652. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7653. &nbsp; &nbsp; &nbsp; &nbsp; if (containi(quest, &quot;sv_password&quot;) != -1 || containi(quest, &quot;rcon_password&quot;) != -1)<br />
  7654. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7655. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_FORBIDDEN&quot;)<br />
  7656. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7657. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7658. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7659. &nbsp; &nbsp; &nbsp; &nbsp; new count=read_argc();<br />
  7660. <br />
  7661. &nbsp; &nbsp; &nbsp; &nbsp; for (new i=0;i&lt;4 &amp;&amp; (i+2)&lt;count;i++)<br />
  7662. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7663. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; read_argv(i+2, g_optionName[i], charsmax(g_optionName[]));<br />
  7664. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7665. <br />
  7666. &nbsp; &nbsp; &nbsp; &nbsp; new authid[32], name[MAX_NAME_LENGTH]<br />
  7667. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7668. &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id, authid, charsmax(authid))<br />
  7669. &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, charsmax(name))<br />
  7670. &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: ^&quot;%s&lt;%d&gt;&lt;%s&gt;&lt;&gt;^&quot; vote custom (question ^&quot;%s^&quot;) (option#1 ^&quot;%s^&quot;) (option#2 ^&quot;%s^&quot;)&quot;, name, get_user_userid(id), authid, quest, g_optionName[0], g_optionName[1])<br />
  7671. <br />
  7672. &nbsp; &nbsp; &nbsp; &nbsp; new msg[256];<br />
  7673. &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 1; i &lt;= MaxClients; i++)<br />
  7674. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7675. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(i) &amp;&amp; !is_user_bot(i))<br />
  7676. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7677. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // HACK: ADMIN_VOTE_CUS_{1,2} keys were designed very poorly.&nbsp; Remove all : and %s in it.<br />
  7678. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LookupLangKey(msg, charsmax(msg), &quot;ADMIN_VOTE_CUS_1&quot;, i);<br />
  7679. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;%s&quot;, &quot;&quot;);<br />
  7680. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, charsmax(msg), &quot;:&quot;, &quot;&quot;);<br />
  7681. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trim(msg);<br />
  7682. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_activity_id(i, id, name, msg);<br />
  7683. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7684. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7685. <br />
  7686. &nbsp; &nbsp; &nbsp; &nbsp; new menu_msg[512], lVote[16]<br />
  7687. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7688. &nbsp; &nbsp; &nbsp; &nbsp; format(lVote, charsmax(lVote), &quot;%L&quot;, LANG_SERVER, &quot;VOTE&quot;)<br />
  7689. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7690. &nbsp; &nbsp; &nbsp; &nbsp; count-=2;<br />
  7691. &nbsp; &nbsp; &nbsp; &nbsp; if (count&gt;4)<br />
  7692. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7693. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; count=4;<br />
  7694. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7695. &nbsp; &nbsp; &nbsp; &nbsp; // count now shows how many options were listed<br />
  7696. &nbsp; &nbsp; &nbsp; &nbsp; new keys=0;<br />
  7697. &nbsp; &nbsp; &nbsp; &nbsp; for (new i=0;i&lt;count;i++)<br />
  7698. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7699. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keys |= (1&lt;&lt;i);<br />
  7700. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7701. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7702. &nbsp; &nbsp; &nbsp; &nbsp; new len=formatex(menu_msg, charsmax(menu_msg), g_coloredMenus ? &quot;\y%s: %s\w^n^n&quot; : &quot;%s: %s^n^n&quot;, lVote, quest);<br />
  7703. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7704. &nbsp; &nbsp; &nbsp; &nbsp; for (new i=0;i&lt;count;i++)<br />
  7705. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7706. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; len+=formatex(menu_msg[len], charsmax(menu_msg) - len ,&quot;%d.&nbsp; %s^n&quot;,i+1,g_optionName[i]);<br />
  7707. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7708. &nbsp; &nbsp; &nbsp; &nbsp; g_execResult = false<br />
  7709. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7710. &nbsp; &nbsp; &nbsp; &nbsp; new Float:vote_time = get_cvar_float(&quot;amx_vote_time&quot;) + 2.0<br />
  7711. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7712. &nbsp; &nbsp; &nbsp; &nbsp; set_cvar_float(&quot;amx_last_voting&quot;, get_gametime() + vote_time)<br />
  7713. &nbsp; &nbsp; &nbsp; &nbsp; g_voteRatio = get_cvar_float(&quot;amx_vote_ratio&quot;)<br />
  7714. &nbsp; &nbsp; &nbsp; &nbsp; replace_all(quest, charsmax(quest), &quot;%&quot;, &quot;&quot;);<br />
  7715. &nbsp; &nbsp; &nbsp; &nbsp; format(g_Answer, charsmax(g_Answer), &quot;%s - ^&quot;%%s^&quot;&quot;, quest)<br />
  7716. &nbsp; &nbsp; &nbsp; &nbsp; show_menu(0, keys, menu_msg, floatround(vote_time), &quot;Vote: &quot;)<br />
  7717. &nbsp; &nbsp; &nbsp; &nbsp; set_task(vote_time, &quot;checkVotes&quot;, 99889988)<br />
  7718. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCaller = id<br />
  7719. &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_STARTED&quot;)<br />
  7720. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCount = {0, 0, 0, 0}<br />
  7721. &nbsp; &nbsp; &nbsp; &nbsp; g_yesNoVote = 0<br />
  7722. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7723. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7724. }<br />
  7725. <br />
  7726. public cmdVoteKickBan(id, level, cid)<br />
  7727. {<br />
  7728. &nbsp; &nbsp; &nbsp; &nbsp; if (!cmd_access(id, level, cid, 2))<br />
  7729. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7730. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7731. &nbsp; &nbsp; &nbsp; &nbsp; new Float:voting = get_cvar_float(&quot;amx_last_voting&quot;)<br />
  7732. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &gt; get_gametime())<br />
  7733. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7734. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;ALREADY_VOTING&quot;)<br />
  7735. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7736. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7737. <br />
  7738. &nbsp; &nbsp; &nbsp; &nbsp; if (voting &amp;&amp; voting + get_cvar_float(&quot;amx_vote_delay&quot;) &gt; get_gametime())<br />
  7739. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7740. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_NOT_ALLOW&quot;)<br />
  7741. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7742. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7743. <br />
  7744. &nbsp; &nbsp; &nbsp; &nbsp; new cmd[32]<br />
  7745. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7746. &nbsp; &nbsp; &nbsp; &nbsp; read_argv(0, cmd, charsmax(cmd))<br />
  7747. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7748. &nbsp; &nbsp; &nbsp; &nbsp; new voteban = equal(cmd, &quot;amx_voteban&quot;)<br />
  7749. &nbsp; &nbsp; &nbsp; &nbsp; new arg[32]<br />
  7750. &nbsp; &nbsp; &nbsp; &nbsp; read_argv(1, arg, charsmax(arg))<br />
  7751. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7752. &nbsp; &nbsp; &nbsp; &nbsp; new player = cmd_target(id, arg, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ALLOW_SELF)<br />
  7753. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7754. &nbsp; &nbsp; &nbsp; &nbsp; if (!player)<br />
  7755. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7756. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7757. &nbsp; &nbsp; &nbsp; &nbsp; if (voteban &amp;&amp; is_user_bot(player))<br />
  7758. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7759. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new imname[MAX_NAME_LENGTH]<br />
  7760. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7761. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(player, imname, charsmax(imname))<br />
  7762. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;ACTION_PERFORMED&quot;, imname)<br />
  7763. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7764. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7765. <br />
  7766. &nbsp; &nbsp; &nbsp; &nbsp; new keys = MENU_KEY_1|MENU_KEY_2<br />
  7767. &nbsp; &nbsp; &nbsp; &nbsp; new menu_msg[256], lYes[16], lNo[16], lKickBan[16]<br />
  7768. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7769. &nbsp; &nbsp; &nbsp; &nbsp; format(lYes, charsmax(lYes), &quot;%L&quot;, LANG_SERVER, &quot;YES&quot;) <br />
  7770. &nbsp; &nbsp; &nbsp; &nbsp; format(lNo, charsmax(lNo), &quot;%L&quot;, LANG_SERVER, &quot;NO&quot;)<br />
  7771. &nbsp; &nbsp; &nbsp; &nbsp; format(lKickBan, charsmax(lKickBan), &quot;%L&quot;, LANG_SERVER, voteban ? &quot;BAN&quot; : &quot;KICK&quot;)<br />
  7772. &nbsp; &nbsp; &nbsp; &nbsp; ucfirst(lKickBan)<br />
  7773. &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(player, arg, charsmax(arg))<br />
  7774. &nbsp; &nbsp; &nbsp; &nbsp; format(menu_msg, charsmax(menu_msg), g_coloredMenus ? &quot;\y%s %s?\w^n^n1.&nbsp; %s^n2.&nbsp; %s&quot; : &quot;%s %s?^n^n1.&nbsp; %s^n2.&nbsp; %s&quot;, lKickBan, arg, lYes, lNo)<br />
  7775. &nbsp; &nbsp; &nbsp; &nbsp; g_yesNoVote = 1<br />
  7776. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7777. &nbsp; &nbsp; &nbsp; &nbsp; new bool:ipban=false;<br />
  7778. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7779. &nbsp; &nbsp; &nbsp; &nbsp; if (voteban)<br />
  7780. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7781. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(player, g_optionName[0], charsmax(g_optionName[]));<br />
  7782. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7783. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Do the same check that's in plmenu to determine if this should be an IP ban instead<br />
  7784. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (equal(&quot;4294967295&quot;, g_optionName[0])<br />
  7785. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || equal(&quot;HLTV&quot;, g_optionName[0])<br />
  7786. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || equal(&quot;STEAM_ID_LAN&quot;, g_optionName[0])<br />
  7787. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || equali(&quot;VALVE_ID_LAN&quot;, g_optionName[0]))<br />
  7788. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7789. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_ip(player, g_optionName[0], charsmax(g_optionName[]), 1);<br />
  7790. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7791. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ipban=true;<br />
  7792. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7793. <br />
  7794. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7795. &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7796. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7797. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; num_to_str(get_user_userid(player), g_optionName[0], charsmax(g_optionName[]))<br />
  7798. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7799. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7800. &nbsp; &nbsp; &nbsp; &nbsp; new authid[32], name[MAX_NAME_LENGTH]<br />
  7801. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7802. &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id, authid, charsmax(authid))<br />
  7803. &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, charsmax(name))<br />
  7804. &nbsp; &nbsp; &nbsp; &nbsp; log_amx(&quot;Vote: ^&quot;%s&lt;%d&gt;&lt;%s&gt;&lt;&gt;^&quot; vote %s (target ^&quot;%s^&quot;)&quot;, name, get_user_userid(id), authid, voteban ? &quot;ban&quot; : &quot;kick&quot;, arg)<br />
  7805. <br />
  7806. &nbsp; &nbsp; &nbsp; &nbsp; new msg[256];<br />
  7807. &nbsp; &nbsp; &nbsp; &nbsp; new right[256];<br />
  7808. &nbsp; &nbsp; &nbsp; &nbsp; new dummy[1];<br />
  7809. &nbsp; &nbsp; &nbsp; &nbsp; for (new i = 1; i &lt;= MaxClients; i++)<br />
  7810. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7811. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (is_user_connected(i) &amp;&amp; !is_user_bot(i))<br />
  7812. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7813. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; formatex(lKickBan, charsmax(lKickBan), &quot;%L&quot;, i, voteban ? &quot;BAN&quot; : &quot;KICK&quot;);<br />
  7814. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7815. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // HACK: ADMIN_VOTE_FOR{1,2} keys are really weird.&nbsp; Tokenize and ignore the text before the :<br />
  7816. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LookupLangKey(msg, charsmax(msg), &quot;ADMIN_VOTE_FOR_1&quot;, i);<br />
  7817. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strtok(msg, dummy, 0, right, charsmax(right), ':');<br />
  7818. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trim(right);<br />
  7819. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_activity_id(i, id, name, right, lKickBan, arg);<br />
  7820. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7821. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7822. <br />
  7823. &nbsp; &nbsp; &nbsp; &nbsp; g_execResult = true<br />
  7824. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7825. &nbsp; &nbsp; &nbsp; &nbsp; new Float:vote_time = get_cvar_float(&quot;amx_vote_time&quot;) + 2.0<br />
  7826. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7827. &nbsp; &nbsp; &nbsp; &nbsp; set_cvar_float(&quot;amx_last_voting&quot;, get_gametime() + vote_time)<br />
  7828. &nbsp; &nbsp; &nbsp; &nbsp; g_voteRatio = get_cvar_float(voteban ? &quot;amx_voteban_ratio&quot; : &quot;amx_votekick_ratio&quot;)<br />
  7829. <br />
  7830. &nbsp; &nbsp; &nbsp; &nbsp; if (voteban)<br />
  7831. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7832. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ipban==true)<br />
  7833. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7834. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Answer = &quot;addip 30.0 %s&quot;;<br />
  7835. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7836. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7837. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7838. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Answer = &quot;banid 30.0 %s kick&quot;;<br />
  7839. <br />
  7840. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7841. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7842. &nbsp; &nbsp; &nbsp; &nbsp; else<br />
  7843. &nbsp; &nbsp; &nbsp; &nbsp; {<br />
  7844. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_Answer = &quot;kick #%s&quot;;<br />
  7845. &nbsp; &nbsp; &nbsp; &nbsp; }<br />
  7846. &nbsp; &nbsp; &nbsp; &nbsp; show_menu(0, keys, menu_msg, floatround(vote_time), voteban ? &quot;Ban &quot; : &quot;Kick &quot;)<br />
  7847. &nbsp; &nbsp; &nbsp; &nbsp; set_task(vote_time, &quot;checkVotes&quot;, 99889988)<br />
  7848. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCaller = id<br />
  7849. &nbsp; &nbsp; &nbsp; &nbsp; console_print(id, &quot;%L&quot;, id, &quot;VOTING_STARTED&quot;)<br />
  7850. &nbsp; &nbsp; &nbsp; &nbsp; g_voteCount = {0, 0, 0, 0}<br />
  7851. &nbsp; &nbsp; &nbsp; &nbsp; <br />
  7852. &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />
  7853. }</code><hr />
  7854. </div></div>
  7855.  
  7856. ]]></content:encoded>
  7857. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=12">Suggestions / Requests</category>
  7858. <dc:creator>VenomMix</dc:creator>
  7859. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347518</guid>
  7860. </item>
  7861. <item>
  7862. <title>How to get players to bypass sv_cheats 1 and execute console commands</title>
  7863. <link>https://forums.alliedmods.net/showthread.php?t=347517&amp;goto=newpost</link>
  7864. <pubDate>Thu, 02 May 2024 11:32:18 GMT</pubDate>
  7865. <description>The server must have sv_cheats 1 open in order to use the thirdperson command, is there any way to grant players permission to use the thirdperson...</description>
  7866. <content:encoded><![CDATA[<div>The server must have sv_cheats 1 open in order to use the thirdperson command, is there any way to grant players permission to use the thirdperson command without opening sv_cheats 1?<br />
  7867. Thirdperson is a client console command</div>
  7868.  
  7869. ]]></content:encoded>
  7870. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=58">General</category>
  7871. <dc:creator>Twenty_Cat</dc:creator>
  7872. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347517</guid>
  7873. </item>
  7874. <item>
  7875. <title>Forum Master Togel Prediksi Hongkong Malam ini di MAGNUMTOGEL</title>
  7876. <link>https://forums.alliedmods.net/showthread.php?t=347514&amp;goto=newpost</link>
  7877. <pubDate>Thu, 02 May 2024 07:03:44 GMT</pubDate>
  7878. <description><![CDATA[DAFTAR MAGNUMTOGEL >> https://direct.lc.chat/12870981/
  7879. ATAU
  7880. KETIK GOOGLE >> MAGNUMTOGEL.COM
  7881. Prediksi Hongkong merupakan salah satu metode...]]></description>
  7882. <content:encoded><![CDATA[<div>DAFTAR MAGNUMTOGEL &gt;&gt; <a href="https://direct.lc.chat/12870981/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/12870981/</a><br />
  7883. ATAU<br />
  7884. KETIK GOOGLE &gt;&gt; MAGNUMTOGEL.COM<br />
  7885. <br />
  7886. Prediksi Hongkong merupakan salah satu metode meracik angka yang sangat dibutuhkan para pecinta togel Hongkong untuk mendapatkan angka jitu. Prediksi Hongkong akan memberikan anda racikan yang sudah dibuat oleh para master angka togel dan akan dibagikan melalui situs Prediksi Hongkong ini. Namun sebelum itu kami menegaskan yang namanya prediksi tidak ada yang sempurna, karena yang sempurna hanya milik Tuhan saja. Kami juga tidak mengatakan bahwa prediksi yang kami berikan itu asal dan tidak berdasar. Kami memberikan Bocoran Hongkong malam ini pastinya melalui berbagai macam rumus dan dibantu oleh peracik angka togel handal. Jadi anda tidak ada salahnya juga jika menggunakan Prediksi Bocoran Togel Hongkong yang akan kami berikan disitus ini.</div>
  7887.  
  7888. ]]></content:encoded>
  7889. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  7890. <dc:creator>LebahSange</dc:creator>
  7891. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347514</guid>
  7892. </item>
  7893. <item>
  7894. <title><![CDATA[[Help / Support] How to make a normal plugin can be obtainable by a vip admin or a flag only ?]]></title>
  7895. <link>https://forums.alliedmods.net/showthread.php?t=347513&amp;goto=newpost</link>
  7896. <pubDate>Thu, 02 May 2024 05:51:59 GMT</pubDate>
  7897. <description><![CDATA[So I have that knife plugin balrog-9 and it's only obtainable by saying in chat b9 and I'm okay with that but I don't want everyone else to get it...]]></description>
  7898. <content:encoded><![CDATA[<div>So I have that knife plugin balrog-9 and it's only obtainable by saying in chat b9 and I'm okay with that but I don't want everyone else to get it unless they have for example the flag &quot;t&quot; in the users.ini and I don't know how to do that!<br />
  7899. <br />
  7900. Any help possible would be appreciated thanks in advance :D<br />
  7901. <br />
  7902. Here's the code : (sma file included as well)<br />
  7903. <br />
  7904. Code:<br />
  7905. #include &lt;amxmodx&gt;<br />
  7906. #include &lt;fakemeta&gt;<br />
  7907. #include &lt;hamsandwich&gt;<br />
  7908. #include &lt;zombieplague&gt;<br />
  7909. <br />
  7910. #define IsValidEntity(%1) (pev_valid(%1) == PDATA_SAFE)<br />
  7911. #define IsCustomItem(%1) (get_pdata_int(%1, m_iId, linux_diff_weapon) == CSW_KNIFE)<br />
  7912. #define IsUserHasBalrog9(%1) Get_Bit(g_iBitUserHasBalrog9, %1)<br />
  7913. <br />
  7914. #define Get_Bit(%1,%2) ((%1 &amp; (1 &lt;&lt; (%2 &amp; 31))) ? 1 : 0)<br />
  7915. #define Set_Bit(%1,%2) %1 |= (1 &lt;&lt; (%2 &amp; 31))<br />
  7916. #define Reset_Bit(%1,%2) %1 &amp;= ~(1 &lt;&lt; (%2 &amp; 31))<br />
  7917. <br />
  7918. #define Set_NextAttack(%1) \<br />
  7919. set_pdata_float(iItem, m_flNextPrimaryAttack, %1, linux_diff_weapon), \<br />
  7920. set_pdata_float(iItem, m_flNextSecondaryAttack, %1, linux_diff_weapon), \<br />
  7921. set_pdata_float(iPlayer, m_flNextAttack, %1, linux_diff_player)<br />
  7922. <br />
  7923. #define PDATA_SAFE 2<br />
  7924. #define OBS_IN_EYE 4<br />
  7925. #define DONT_BLEED -1<br />
  7926. #define DMG_GRENADE (1&lt;&lt;24)<br />
  7927. <br />
  7928. // Linux extra offsets<br />
  7929. #define linux_diff_weapon 4<br />
  7930. #define linux_diff_player 5<br />
  7931. <br />
  7932. // CBasePlayerItem<br />
  7933. #define m_pPlayer 41<br />
  7934. #define m_iId 43<br />
  7935. <br />
  7936. // CBasePlayerWeapon<br />
  7937. #define m_flNextPrimaryAttack 46<br />
  7938. #define m_flNextSecondaryAttack 47<br />
  7939. #define m_flTimeWeaponIdle 48<br />
  7940. #define m_iWeaponState 74<br />
  7941. <br />
  7942. // CBaseMonster<br />
  7943. #define m_LastHitGroup 75<br />
  7944. #define m_flNextAttack 83<br />
  7945. <br />
  7946. // CBasePlayer<br />
  7947. #define m_iPlayerTeam 114<br />
  7948. #define m_pActiveItem 373<br />
  7949. <br />
  7950. enum _: e_AnimList<br />
  7951. {<br />
  7952. ANIM_IDLE = 0,<br />
  7953. <br />
  7954. ANIM_SLASH1,<br />
  7955. ANIM_SLASH2,<br />
  7956. ANIM_SLASH3,<br />
  7957. ANIM_SLASH4,<br />
  7958. ANIM_SLASH5,<br />
  7959. <br />
  7960. ANIM_DRAW,<br />
  7961. <br />
  7962. ANIM_CHARGE_START,<br />
  7963. ANIM_CHARGE_FINISH,<br />
  7964. ANIM_CHARGE_IDLE_NOT_FINISH,<br />
  7965. ANIM_CHARGE_IDLE_FINISH,<br />
  7966. <br />
  7967. ANIM_CHARGE_ATTACK_NOT_FINISH,<br />
  7968. ANIM_CHARGE_ATTACK_FINISH<br />
  7969. };<br />
  7970. <br />
  7971. enum _: e_HitResultList<br />
  7972. {<br />
  7973. SLASH_HIT_NONE = 0,<br />
  7974. SLASH_HIT_WORLD,<br />
  7975. SLASH_HIT_ENTITY<br />
  7976. };<br />
  7977. <br />
  7978. new const KNIFE_SOUNDS[][] = <br />
  7979. {<br />
  7980. &quot;weapons/balrog9_charge_attack2.wav&quot;, // 0<br />
  7981. &quot;weapons/balrog9_charge_finish1.wav&quot;, // 1<br />
  7982. &quot;weapons/balrog9_charge_start1.wav&quot;, // 2<br />
  7983. &quot;weapons/balrog9_draw.wav&quot;, // 3<br />
  7984. &quot;weapons/balrog9_hit1.wav&quot;, // 4<br />
  7985. &quot;weapons/balrog9_hit2.wav&quot;, // 5<br />
  7986. &quot;weapons/balrog9_slash1.wav&quot; // 6<br />
  7987. };<br />
  7988. <br />
  7989. #define ANIM_IDLE_TIME 201/30.0<br />
  7990. #define ANIM_SLASH_TIME 37/30.0<br />
  7991. #define ANIM_DRAW_TIME 40/30.0<br />
  7992. #define ANIM_CHARGE_START_TIME 12/30.0<br />
  7993. #define ANIM_CHARGE_FINISH_TIME 10/30.0<br />
  7994. #define ANIM_CHARGE_IDLE_TIME 30/30.0<br />
  7995. #define ANIM_CHARGE_ATTACK_TIME 25/30.0<br />
  7996. <br />
  7997. #define KNIFE_VIEW_MODEL &quot;models/x/v_balrog9.mdl&quot;<br />
  7998. #define KNIFE_PLAYER_MODEL &quot;models/x/p_balrog9.mdl&quot;<br />
  7999. <br />
  8000. #define KNIFE_SLASH_DISTANCE 100.0<br />
  8001. #define KNIFE_STAB_DISTANCE 150.0<br />
  8002. <br />
  8003. #define KNIFE_SLASH_DAMAGE 200.0<br />
  8004. #define KNIFE_STAB_DAMAGE 550.0<br />
  8005. <br />
  8006. #define KNIFE_EXPLODE_RADIUS 500.0<br />
  8007. #define KNIFE_EXPLODE_DAMAGE random_float(500.0, 1750.0)<br />
  8008. <br />
  8009. new g_iBitUserHasBalrog9,<br />
  8010. <br />
  8011. g_iszModelIndexBloodSpray,<br />
  8012. g_iszModelIndexBloodDrop,<br />
  8013. g_iszModelIndexExplode,<br />
  8014. <br />
  8015. g_iszAllocString_ModelView,<br />
  8016. g_iszAllocString_ModelPlayer;<br />
  8017. <br />
  8018. public plugin_init()<br />
  8019. {<br />
  8020. register_plugin(&quot;Balrog-9&quot;, &quot;1.0&quot;, &quot;xUnicorn (t3rkecorejz)&quot;);<br />
  8021. <br />
  8022. register_forward(FM_UpdateClientData, &quot;FM_Hook_UpdateClientData_Post&quot;, true);<br />
  8023. <br />
  8024. RegisterHam(Ham_Item_PostFrame, &quot;weapon_knife&quot;, &quot;CKnife__PostFrame_Pre&quot;, false);<br />
  8025. RegisterHam(Ham_Item_Deploy, &quot;weapon_knife&quot;, &quot;CKnife__Deploy_Post&quot;, true);<br />
  8026. RegisterHam(Ham_Weapon_WeaponIdle, &quot;weapon_knife&quot;, &quot;CKnife__Idle_Pre&quot;, false);<br />
  8027. RegisterHam(Ham_Weapon_PrimaryAttack,   &quot;weapon_knife&quot;, &quot;CKnife__PrimaryAttack_Pre&quot;, false);<br />
  8028. RegisterHam(Ham_Weapon_SecondaryAttack, &quot;weapon_knife&quot;, &quot;CKnife__SecondaryAttack_Pre&quot;, false);<br />
  8029. <br />
  8030. register_clcmd(&quot;say b9&quot;, &quot;Command__GiveBalrog9&quot;);<br />
  8031. }<br />
  8032. <br />
  8033. public plugin_precache()<br />
  8034. {<br />
  8035. // Precache models<br />
  8036. engfunc(EngFunc_PrecacheModel, KNIFE_VIEW_MODEL);<br />
  8037. engfunc(EngFunc_PrecacheModel, KNIFE_PLAYER_MODEL);<br />
  8038. <br />
  8039. // Precache sounds<br />
  8040. new i;<br />
  8041. for(i = 0; i &lt; sizeof KNIFE_SOUNDS; i++) <br />
  8042. engfunc(EngFunc_PrecacheSound, KNIFE_SOUNDS[i]);<br />
  8043. <br />
  8044. // Other<br />
  8045. g_iszAllocString_ModelView = engfunc(EngFunc_AllocString, KNIFE_VIEW_MODEL);<br />
  8046. g_iszAllocString_ModelPlayer = engfunc(EngFunc_AllocString, KNIFE_PLAYER_MODEL);<br />
  8047. <br />
  8048. // Model Index<br />
  8049. g_iszModelIndexBloodSpray = engfunc(EngFunc_PrecacheModel, &quot;sprites/bloodspray.spr&quot;);<br />
  8050. g_iszModelIndexBloodDrop = engfunc(EngFunc_PrecacheModel, &quot;sprites/blood.spr&quot;);<br />
  8051. g_iszModelIndexExplode = engfunc(EngFunc_PrecacheModel, &quot;sprites/x/balrogcritical.spr&quot;);<br />
  8052. }<br />
  8053. <br />
  8054. public Command__GiveBalrog9(iPlayer)<br />
  8055. {<br />
  8056. if(!IsUserHasBalrog9(iPlayer)) Set_Bit(g_iBitUserHasBalrog9, iPlayer);<br />
  8057. else Reset_Bit(g_iBitUserHasBalrog9, iPlayer);<br />
  8058. }<br />
  8059. <br />
  8060. public FM_Hook_UpdateClientData_Post(iPlayer, SendWeapons, CD_Handle)<br />
  8061. {<br />
  8062. if(get_cd(CD_Handle, CD_DeadFlag) != DEAD_NO) return;<br />
  8063. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer) || get_user_weapon(iPlayer) != CSW_KNIFE) return;<br />
  8064. set_cd(CD_Handle, CD_flNextAttack, get_gametime() + 0.01);<br />
  8065. }<br />
  8066. <br />
  8067. public CKnife__PostFrame_Pre(iItem)<br />
  8068. {<br />
  8069. if(!IsCustomItem(iItem)) return;<br />
  8070. new iPlayer = get_pdata_cbase(iItem, m_pPlayer, linux_diff_weapon);<br />
  8071. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer)) return;<br />
  8072. <br />
  8073. static iWeaponState; iWeaponState = get_pdata_int(iItem, m_iWeaponState, linux_diff_weapon);<br />
  8074. static iButton; iButton = pev(iPlayer, pev_button);<br />
  8075. static Float: vecOrigin[3]; pev(iPlayer, pev_origin, vecOrigin);<br />
  8076. static Float: vecVelocity[3]; velocity_by_aim(iPlayer, 50, vecVelocity);<br />
  8077. static iVictim; iVictim = -1;<br />
  8078. <br />
  8079. vecVelocity[0] += vecOrigin[0];<br />
  8080. vecVelocity[1] += vecOrigin[1];<br />
  8081. vecVelocity[2] += vecOrigin[2];<br />
  8082. <br />
  8083. if(!(iButton &amp; IN_ATTACK2))<br />
  8084. {<br />
  8085. switch(iWeaponState)<br />
  8086. {<br />
  8087. case 1, 2:<br />
  8088. {<br />
  8089. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_ATTACK_NOT_FINISH, 0);<br />
  8090. <br />
  8091. set_pdata_int(iItem, m_iWeaponState, 0, linux_diff_weapon);<br />
  8092. set_pdata_float(iItem, m_flTimeWeaponIdle, ANIM_SLASH_TIME, linux_diff_weapon);<br />
  8093. FakeTraceLine(iPlayer, iItem, KNIFE_STAB_DISTANCE, KNIFE_STAB_DAMAGE, true);<br />
  8094. }<br />
  8095. case 3, 4:<br />
  8096. {<br />
  8097. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_ATTACK_FINISH, 0);<br />
  8098. <br />
  8099. set_pdata_int(iItem, m_iWeaponState, 0, linux_diff_weapon);<br />
  8100. set_pdata_float(iItem, m_flTimeWeaponIdle, ANIM_SLASH_TIME, linux_diff_weapon);<br />
  8101. FakeTraceLine(iPlayer, iItem, KNIFE_STAB_DISTANCE, KNIFE_STAB_DAMAGE, false);<br />
  8102. <br />
  8103. while((iVictim = engfunc(EngFunc_FindEntityInSphere, iVictim, vecVelocity, KNIFE_EXPLODE_RADIUS)) &gt; 0)<br />
  8104. {<br />
  8105. if(pev(iVictim, pev_takedamage) == DAMAGE_NO)<br />
  8106. {<br />
  8107. continue;<br />
  8108. }<br />
  8109. <br />
  8110. if(is_user_alive(iVictim))<br />
  8111. {<br />
  8112. if(iVictim == iPlayer || zp_get_user_zombie(iPlayer) || !zp_get_user_zombie(iVictim))<br />
  8113. {<br />
  8114. continue;<br />
  8115. }<br />
  8116. }<br />
  8117. else if(pev(iVictim, pev_solid) == SOLID_BSP)<br />
  8118. {<br />
  8119. if(pev(iVictim, pev_spawnflags) &amp; SF_BREAK_TRIGGER_ONLY)<br />
  8120. {<br />
  8121. continue;<br />
  8122. }<br />
  8123. }<br />
  8124. <br />
  8125. set_pev(iVictim, pev_punchangle, Float: { 10.0, 10.0, 10.0 });<br />
  8126. <br />
  8127. set_pdata_int(iVictim, m_LastHitGroup, HIT_GENERIC, linux_diff_player);<br />
  8128. ExecuteHamB(Ham_TakeDamage, iVictim, iPlayer, iPlayer, KNIFE_EXPLODE_DAMAGE, DMG_GRENADE);<br />
  8129. }<br />
  8130. <br />
  8131. message_begin(MSG_BROADCAST, SVC_TEMPENTITY)<br />
  8132. write_byte(TE_EXPLOSION);<br />
  8133. engfunc(EngFunc_WriteCoord, vecVelocity[0]);<br />
  8134. engfunc(EngFunc_WriteCoord, vecVelocity[1]);<br />
  8135. engfunc(EngFunc_WriteCoord, vecVelocity[2]);<br />
  8136. write_short(g_iszModelIndexExplode);<br />
  8137. write_byte(2); // Scale<br />
  8138. write_byte(1); // Framerate<br />
  8139. write_byte(0); // Flags<br />
  8140. message_end();<br />
  8141. }<br />
  8142. }<br />
  8143. }<br />
  8144. }<br />
  8145. <br />
  8146. public CKnife__Deploy_Post(iItem)<br />
  8147. {<br />
  8148. if(!IsCustomItem(iItem)) return;<br />
  8149. new iPlayer = get_pdata_cbase(iItem, m_pPlayer, linux_diff_weapon);<br />
  8150. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer)) return;<br />
  8151. <br />
  8152. set_pev_string(iPlayer, pev_viewmodel2, g_iszAllocString_ModelView);<br />
  8153. set_pev_string(iPlayer, pev_weaponmodel2, g_iszAllocString_ModelPlayer);<br />
  8154. <br />
  8155. UTIL_SendWeaponAnim(iPlayer, ANIM_DRAW, 0);<br />
  8156. set_pdata_int(iItem, m_iWeaponState, 0, linux_diff_weapon);<br />
  8157. set_pdata_float(iItem, m_flTimeWeaponIdle, ANIM_DRAW_TIME, linux_diff_weapon);<br />
  8158. Set_NextAttack(ANIM_DRAW_TIME + 0.1);<br />
  8159. }<br />
  8160. <br />
  8161. public CKnife__Idle_Pre(iItem)<br />
  8162. {<br />
  8163. if(!IsCustomItem(iItem)) return HAM_IGNORED;<br />
  8164. if(get_pdata_float(iItem, m_flTimeWeaponIdle, linux_diff_weapon) &gt; 0.0) return HAM_IGNORED;<br />
  8165. new iPlayer = get_pdata_cbase(iItem, m_pPlayer, linux_diff_weapon);<br />
  8166. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer)) return HAM_IGNORED;<br />
  8167. <br />
  8168. UTIL_SendWeaponAnim(iPlayer, ANIM_IDLE, 0);<br />
  8169. set_pdata_float(iItem, m_flTimeWeaponIdle, ANIM_IDLE_TIME, linux_diff_weapon);<br />
  8170. <br />
  8171. return HAM_SUPERCEDE;<br />
  8172. }<br />
  8173. <br />
  8174. public CKnife__PrimaryAttack_Pre(iItem)<br />
  8175. {<br />
  8176. if(!IsCustomItem(iItem)) return HAM_IGNORED;<br />
  8177. new iPlayer = get_pdata_cbase(iItem, m_pPlayer, linux_diff_weapon);<br />
  8178. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer)) return HAM_IGNORED;<br />
  8179. <br />
  8180. static iAnim;<br />
  8181. <br />
  8182. UTIL_SendWeaponAnim(iPlayer, iAnim + ANIM_SLASH1, 0);<br />
  8183. if(iAnim + ANIM_SLASH1 == ANIM_SLASH5) iAnim = 0;<br />
  8184. else iAnim++;<br />
  8185. <br />
  8186. set_pdata_float(iItem, m_flTimeWeaponIdle, ANIM_SLASH_TIME, linux_diff_weapon);<br />
  8187. FakeTraceLine(iPlayer, iItem, KNIFE_SLASH_DISTANCE, KNIFE_SLASH_DAMAGE, true);<br />
  8188. <br />
  8189. return HAM_SUPERCEDE;<br />
  8190. }<br />
  8191. <br />
  8192. public CKnife__SecondaryAttack_Pre(iItem)<br />
  8193. {<br />
  8194. if(!IsCustomItem(iItem)) return HAM_IGNORED;<br />
  8195. new iPlayer = get_pdata_cbase(iItem, m_pPlayer, linux_diff_weapon);<br />
  8196. if(!IsUserHasBalrog9(iPlayer) || zp_get_user_zombie(iPlayer)) return HAM_IGNORED;<br />
  8197. <br />
  8198. static iWeaponState; iWeaponState = get_pdata_int(iItem, m_iWeaponState, linux_diff_weapon);<br />
  8199. <br />
  8200. switch(iWeaponState)<br />
  8201. {<br />
  8202. case 0:<br />
  8203. {<br />
  8204. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_START, 0);<br />
  8205. <br />
  8206. set_pdata_int(iItem, m_iWeaponState, 1, linux_diff_weapon);<br />
  8207. Set_NextAttack(ANIM_CHARGE_START_TIME);<br />
  8208. }<br />
  8209. case 1:<br />
  8210. {<br />
  8211. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_IDLE_NOT_FINISH, 0);<br />
  8212. <br />
  8213. set_pdata_int(iItem, m_iWeaponState, 2, linux_diff_weapon);<br />
  8214. Set_NextAttack(ANIM_CHARGE_IDLE_TIME * 1.5);<br />
  8215. }<br />
  8216. case 2:<br />
  8217. {<br />
  8218. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_FINISH, 0);<br />
  8219. <br />
  8220. set_pdata_int(iItem, m_iWeaponState, 3, linux_diff_weapon);<br />
  8221. Set_NextAttack(ANIM_CHARGE_FINISH_TIME);<br />
  8222. }<br />
  8223. case 3, 4:<br />
  8224. {<br />
  8225. UTIL_SendWeaponAnim(iPlayer, ANIM_CHARGE_IDLE_FINISH, 0);<br />
  8226. <br />
  8227. set_pdata_int(iItem, m_iWeaponState, 4, linux_diff_weapon);<br />
  8228. Set_NextAttack(ANIM_CHARGE_IDLE_TIME);<br />
  8229. }<br />
  8230. }<br />
  8231. <br />
  8232. return HAM_SUPERCEDE;<br />
  8233. }<br />
  8234. <br />
  8235. public FakeTraceLine(iPlayer, iItem, Float: flDistance, Float: flDamage, bool: bEffect)<br />
  8236. {<br />
  8237. new Float: flOrigin[3], Float: flAngle[3], Float: flEnd[3], Float: flViewOfs[3];<br />
  8238. new Float: flForw[3], Float: flUp[3], Float: flRight[3];<br />
  8239. <br />
  8240. pev(iPlayer, pev_origin, flOrigin);<br />
  8241. pev(iPlayer, pev_view_ofs, flViewOfs);<br />
  8242. <br />
  8243. flOrigin[0] += flViewOfs[0];<br />
  8244. flOrigin[1] += flViewOfs[1];<br />
  8245. flOrigin[2] += flViewOfs[2];<br />
  8246. <br />
  8247. pev(iPlayer, pev_v_angle, flAngle);<br />
  8248. engfunc(EngFunc_AngleVectors, flAngle, flForw, flRight, flUp);<br />
  8249. <br />
  8250. new iTrace = create_tr2();<br />
  8251. <br />
  8252. new Float: flSendAngles[] = { 0.0 };<br />
  8253. new Float: flSendAnglesUp[] = { 0.0 };<br />
  8254. new Float: flTan;<br />
  8255. new Float: flMul;<br />
  8256. <br />
  8257. static Float: flFraction, pHit;<br />
  8258. static pHitEntity; pHitEntity = SLASH_HIT_NONE;<br />
  8259. static iHitResult; iHitResult = SLASH_HIT_NONE;<br />
  8260. <br />
  8261. for(new i; i &lt; sizeof flSendAngles; i++)<br />
  8262. {<br />
  8263. flTan = floattan(flSendAngles[i], degrees);<br />
  8264. <br />
  8265. flEnd[0] = (flForw[0] * flDistance) + (flRight[0] * flTan * flDistance) + flUp[0] * flSendAnglesUp[i];<br />
  8266. flEnd[1] = (flForw[1] * flDistance) + (flRight[1] * flTan * flDistance) + flUp[1] * flSendAnglesUp[i];<br />
  8267. flEnd[2] = (flForw[2] * flDistance) + (flRight[2] * flTan * flDistance) + flUp[2] * flSendAnglesUp[i];<br />
  8268. <br />
  8269. flMul = (flDistance/vector_length(flEnd));<br />
  8270. flEnd[0] *= flMul;<br />
  8271. flEnd[1] *= flMul;<br />
  8272. flEnd[2] *= flMul;<br />
  8273. <br />
  8274. flEnd[0] = flEnd[0] + flOrigin[0];<br />
  8275. flEnd[1] = flEnd[1] + flOrigin[1];<br />
  8276. flEnd[2] = flEnd[2] + flOrigin[2];<br />
  8277. <br />
  8278. engfunc(EngFunc_TraceLine, flOrigin, flEnd, DONT_IGNORE_MONSTERS, iPlayer, iTrace);<br />
  8279. get_tr2(iTrace, TR_flFraction, flFraction);<br />
  8280. <br />
  8281. if(flFraction == 1.0)<br />
  8282. {<br />
  8283. engfunc(EngFunc_TraceHull, flOrigin, flEnd, HULL_HEAD, iPlayer, iTrace);<br />
  8284. get_tr2(iTrace, TR_flFraction, flFraction);<br />
  8285. <br />
  8286. engfunc(EngFunc_TraceLine, flOrigin, flEnd, DONT_IGNORE_MONSTERS, iPlayer, iTrace);<br />
  8287. pHit = get_tr2(iTrace, TR_pHit);<br />
  8288. }<br />
  8289. else<br />
  8290. {<br />
  8291. pHit = get_tr2(iTrace, TR_pHit);<br />
  8292. }<br />
  8293. <br />
  8294. if(flFraction != 1.0)<br />
  8295. {<br />
  8296. if(!iHitResult) iHitResult = SLASH_HIT_WORLD;<br />
  8297. }<br />
  8298. <br />
  8299. if(pHit &gt; 0 &amp;&amp; pHitEntity != pHit)<br />
  8300. {<br />
  8301. if(pev(pHit, pev_solid) == SOLID_BSP &amp;&amp; !(pev(pHit, pev_spawnflags) &amp; SF_BREAK_TRIGGER_ONLY))<br />
  8302. {<br />
  8303. ExecuteHamB(Ham_TakeDamage, pHit, iPlayer, iPlayer, flDamage, DMG_NEVERGIB | DMG_CLUB);<br />
  8304. }<br />
  8305. else<br />
  8306. {<br />
  8307. FakeTraceAttack(pHit, iPlayer, flDamage, flForw, iTrace, DMG_NEVERGIB | DMG_CLUB);<br />
  8308. }<br />
  8309. <br />
  8310. iHitResult = SLASH_HIT_ENTITY;<br />
  8311. pHitEntity = pHit;<br />
  8312. }<br />
  8313. }<br />
  8314. <br />
  8315. free_tr2(iTrace);<br />
  8316. <br />
  8317. if(bEffect)<br />
  8318. {<br />
  8319. switch(iHitResult)<br />
  8320. {<br />
  8321. case SLASH_HIT_NONE: <br />
  8322. {<br />
  8323. emit_sound(iPlayer, CHAN_WEAPON, KNIFE_SOUNDS[6], VOL_NORM, ATTN_NORM, 0, PITCH_NORM);<br />
  8324. Set_NextAttack(0.6);<br />
  8325. }<br />
  8326. case SLASH_HIT_WORLD: <br />
  8327. {<br />
  8328. emit_sound(iPlayer, CHAN_WEAPON, KNIFE_SOUNDS[4], VOL_NORM, ATTN_NORM, 0, PITCH_NORM);<br />
  8329. set_pev(iPlayer, pev_punchangle, Float: { -2.0, 0.0, 0.0 });<br />
  8330. Set_NextAttack(0.3);<br />
  8331. }<br />
  8332. case SLASH_HIT_ENTITY: <br />
  8333. {<br />
  8334. emit_sound(iPlayer, CHAN_WEAPON, KNIFE_SOUNDS[5], VOL_NORM, ATTN_NORM, 0, PITCH_NORM);<br />
  8335. set_pev(iPlayer, pev_punchangle, Float: { -2.0, 0.0, 0.0 });<br />
  8336. Set_NextAttack(0.3);<br />
  8337. }<br />
  8338. }<br />
  8339. }<br />
  8340. }<br />
  8341. <br />
  8342. public FakeTraceAttack(iVictim, iAttacker, Float: flDamage, Float: vecDirection[3], iTrace, ibitsDamageBits)<br />
  8343. {<br />
  8344. static Float: flTakeDamage; pev(iVictim, pev_takedamage, flTakeDamage);<br />
  8345. <br />
  8346. if(flTakeDamage == DAMAGE_NO) return 0; <br />
  8347. if(!(is_user_alive(iVictim))) return 0;<br />
  8348. <br />
  8349. if(is_user_connected(iVictim)) <br />
  8350. {<br />
  8351. if(get_pdata_int(iVictim, m_iPlayerTeam, linux_diff_player) == get_pdata_int(iAttacker, m_iPlayerTeam, linux_diff_player)) <br />
  8352. return 0;<br />
  8353. }<br />
  8354. <br />
  8355. static iHitgroup; iHitgroup = get_tr2(iTrace, TR_iHitgroup);<br />
  8356. static Float: vecEndPos[3]; get_tr2(iTrace, TR_vecEndPos, vecEndPos);<br />
  8357. static iBloodColor; iBloodColor = ExecuteHamB(Ham_BloodColor, iVictim);<br />
  8358. <br />
  8359. set_pdata_int(iVictim, m_LastHitGroup, iHitgroup, linux_diff_player);<br />
  8360. <br />
  8361. switch(iHitgroup) <br />
  8362. {<br />
  8363. case HIT_HEAD:                  flDamage *= 3.0;<br />
  8364. case HIT_LEFTARM, HIT_RIGHTARM: flDamage *= 0.75;<br />
  8365. case HIT_LEFTLEG, HIT_RIGHTLEG: flDamage *= 0.75;<br />
  8366. case HIT_STOMACH:               flDamage *= 1.5;<br />
  8367. }<br />
  8368. <br />
  8369. ExecuteHamB(Ham_TakeDamage, iVictim, iAttacker, iAttacker, flDamage, ibitsDamageBits);<br />
  8370. <br />
  8371. //if(zp_get_user_zombie(iVictim)) <br />
  8372. {<br />
  8373. if(iBloodColor != DONT_BLEED) <br />
  8374. {<br />
  8375. ExecuteHamB(Ham_TraceBleed, iVictim, flDamage, vecDirection, iTrace, ibitsDamageBits);<br />
  8376. UTIL_BloodDrips(vecEndPos, iBloodColor, floatround(flDamage));<br />
  8377. }<br />
  8378. }<br />
  8379. <br />
  8380. return 1;<br />
  8381. }<br />
  8382. <br />
  8383. stock UTIL_SendWeaponAnim(iPlayer, iAnim, iBody)<br />
  8384. {<br />
  8385. set_pev(iPlayer, pev_weaponanim, iAnim);<br />
  8386. <br />
  8387. message_begin(MSG_ONE, SVC_WEAPONANIM, _, iPlayer);<br />
  8388. write_byte(iAnim);<br />
  8389. write_byte(iBody);<br />
  8390. message_end();<br />
  8391. <br />
  8392. static i, iCount, iSpectator, iszSpectators[32];<br />
  8393. <br />
  8394. if(pev(iPlayer, pev_iuser1)) return;<br />
  8395. <br />
  8396. get_players(iszSpectators, iCount, &quot;bch&quot;);<br />
  8397. <br />
  8398. for(i = 0; i &lt; iCount; i++)<br />
  8399. {<br />
  8400. iSpectator = iszSpectators[i];<br />
  8401. <br />
  8402. if(pev(iSpectator, pev_iuser1) != OBS_IN_EYE) continue;<br />
  8403. if(pev(iSpectator, pev_iuser2) != iPlayer) continue;<br />
  8404. <br />
  8405. set_pev(iSpectator, pev_weaponanim, iAnim);<br />
  8406. <br />
  8407. message_begin(MSG_ONE, SVC_WEAPONANIM, _, iSpectator);<br />
  8408. write_byte(iAnim);<br />
  8409. write_byte(iBody);<br />
  8410. message_end();<br />
  8411. }<br />
  8412. }<br />
  8413. <br />
  8414. public UTIL_BloodDrips(Float:vecOrigin[3], iColor, iAmount) {<br />
  8415. if(iAmount &gt; 255) iAmount = 255;<br />
  8416. <br />
  8417. engfunc(EngFunc_MessageBegin, MSG_PVS, SVC_TEMPENTITY, vecOrigin, 0);<br />
  8418. write_byte(TE_BLOODSPRITE);<br />
  8419. engfunc(EngFunc_WriteCoord, vecOrigin[0]);<br />
  8420. engfunc(EngFunc_WriteCoord, vecOrigin[1]);<br />
  8421. engfunc(EngFunc_WriteCoord, vecOrigin[2]);<br />
  8422. write_short(g_iszModelIndexBloodSpray);<br />
  8423. write_short(g_iszModelIndexBloodDrop);<br />
  8424. write_byte(iColor);<br />
  8425. write_byte(min(max(3,iAmount/10),16));<br />
  8426. message_end();<br />
  8427. }</div>
  8428.  
  8429.  
  8430. <br />
  8431. <div style="padding:6px">
  8432.  
  8433.  
  8434.  
  8435.  
  8436. <fieldset class="fieldset">
  8437. <legend>Attached Files</legend>
  8438. <table cellpadding="0" cellspacing="3" border="0">
  8439. <tr>
  8440. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sma.gif" alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  8441. <td>
  8442. <a href="https://www.amxmodx.org/plcompiler_vb.cgi?file_id=204243"><strong>Get Plugin</strong></a> or
  8443. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204243&amp;d=1714628648">Get Source</a> (x_knife_balrog9.sma - 15.5 KB)
  8444. </td>
  8445. </tr>
  8446. </table>
  8447. </fieldset>
  8448.  
  8449. </div>
  8450. ]]></content:encoded>
  8451. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=126">Zombie Plague Mod</category>
  8452. <dc:creator>MOHAREBX</dc:creator>
  8453. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347513</guid>
  8454. </item>
  8455. <item>
  8456. <title>Freebet Slot Thailand Gratis Klaim 40k Tanpa Deposit Tanpa Syarat WSOSLOT88</title>
  8457. <link>https://forums.alliedmods.net/showthread.php?t=347512&amp;goto=newpost</link>
  8458. <pubDate>Thu, 02 May 2024 04:23:36 GMT</pubDate>
  8459. <description><![CDATA[DAFTAR WSOSLOT88 >> https://direct.lc.chat/14695482/
  8460. ATAU
  8461. KETIK GOOGLE >> WSOSLOT88.COM
  8462. Akun VIP Thailand merupakan salah satu alternatif dimana...]]></description>
  8463. <content:encoded><![CDATA[<div>DAFTAR WSOSLOT88 &gt;&gt; <a href="https://direct.lc.chat/14695482/" target="_blank" rel="nofollow noopener">https://direct.lc.chat/14695482/</a><br />
  8464. ATAU<br />
  8465. KETIK GOOGLE &gt;&gt; WSOSLOT88.COM<br />
  8466. <br />
  8467. Akun VIP Thailand merupakan salah satu alternatif dimana member mencari game slot online Thailand ataupun web luar negara yang lain, disini kalian bisa mengakses dengan gampang Server Slot Thailand. Beberapa web yang menginduk di mari umumnya merupakan web dengan winrate kemenangan yang besar, banyak pula yang bilang web slot luar negara lebih gacor di bandingkan server lokal. Sebab seperti itu kami sediakan banyak opsi game slot online di server Thailand ini .</div>
  8468.  
  8469. ]]></content:encoded>
  8470. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=113">RuneMod</category>
  8471. <dc:creator>KuraKura12</dc:creator>
  8472. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347512</guid>
  8473. </item>
  8474. <item>
  8475. <title><![CDATA[[ANY] Target Set Team]]></title>
  8476. <link>https://forums.alliedmods.net/showthread.php?t=347509&amp;goto=newpost</link>
  8477. <pubDate>Thu, 02 May 2024 02:11:59 GMT</pubDate>
  8478. <description><![CDATA[A plugin for Setting a Client's Team, this was mainly made so admins can either force bots onto a specific team or choose a team for someone.
  8479. In...]]></description>
  8480. <content:encoded><![CDATA[<div>A plugin for Setting a Client's Team, this was mainly made so admins can either force bots onto a specific team or choose a team for someone.<br />
  8481. <br />
  8482. In this plugin you can only specify all the way up to TeamNum 5 which is the max for Open Fortress and might be about the same for Team Fortress 2 Classic.<br />
  8483. <br />
  8484. This is another command invoking plugin that uses ent_fire as the base to set a target's team which means sv_cheats must be enabled and that person must have the rights to use ent_fire in the first place.<br />
  8485. <br />
  8486. Some of the code was largely based off of the plugin cexec, which i had originally made this idea into a small plugin that when combined with cexec would allow the admin to change the team of a client, but now you can do it all in one here!<br />
  8487. <br />
  8488. Cvars:<br />
  8489. sm_setteam &lt;CLIENT&gt; &lt;TEAMNUMBER&gt;</div>
  8490.  
  8491.  
  8492. <br />
  8493. <div style="padding:6px">
  8494.  
  8495.  
  8496.  
  8497.  
  8498. <fieldset class="fieldset">
  8499. <legend>Attached Files</legend>
  8500. <table cellpadding="0" cellspacing="3" border="0">
  8501. <tr>
  8502. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  8503. <td>
  8504. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204241&amp;d=1714615902">Setteam.smx</a> (4.7 KB)
  8505. </td>
  8506. </tr><tr>
  8507. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  8508. <td>
  8509. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204242"><strong>Get Plugin</strong></a> or
  8510. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204242&amp;d=1714615902">Get Source</a> (Setteam.sp - 1.9 KB)
  8511. </td>
  8512. </tr>
  8513. </table>
  8514. </fieldset>
  8515.  
  8516. </div>
  8517. ]]></content:encoded>
  8518. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  8519. <dc:creator>chromatikmoniker</dc:creator>
  8520. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347509</guid>
  8521. </item>
  8522. <item>
  8523. <title><![CDATA[[ANY] Target Addcond]]></title>
  8524. <link>https://forums.alliedmods.net/showthread.php?t=347508&amp;goto=newpost</link>
  8525. <pubDate>Thu, 02 May 2024 02:01:28 GMT</pubDate>
  8526. <description><![CDATA[A plugin that was made for admins to put the addcond conditions onto specified clients when sv_cheats 1 is enabled, you'd typically need to combine...]]></description>
  8527. <content:encoded><![CDATA[<div>A plugin that was made for admins to put the addcond conditions onto specified clients when sv_cheats 1 is enabled, you'd typically need to combine sv_cheats with some form of anti cheat command plugin that makes sv_cheats relatively useless for non-admin clients.<br />
  8528. <br />
  8529. So have fun applying conditions to your players!<br />
  8530. <br />
  8531. Keep in mind that this plugin can only invoke the addcond command and doesn't use it's own custom condtion functions to make conditions apply to players, as that would be too complicated so instead we use addcond as the base and apply the command to the specified target!<br />
  8532. <br />
  8533. Btw this was also mainly centered around TF2 and it's sourcemod's so feel free to use this plugin on those games aswell!<br />
  8534. <br />
  8535. Cvars:<br />
  8536. sm_addcond  &lt;Client&gt; &lt;Condition Number&gt;</div>
  8537.  
  8538.  
  8539. <br />
  8540. <div style="padding:6px">
  8541.  
  8542.  
  8543.  
  8544.  
  8545. <fieldset class="fieldset">
  8546. <legend>Attached Files</legend>
  8547. <table cellpadding="0" cellspacing="3" border="0">
  8548. <tr>
  8549. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  8550. <td>
  8551. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204239&amp;d=1714615140">AddcondPlugin.smx</a> (4.7 KB)
  8552. </td>
  8553. </tr><tr>
  8554. <td><img class="inlineimg" src="https://forums.alliedmods.net/images/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
  8555. <td>
  8556. <a href="https://www.sourcemod.net/vbcompiler.php?file_id=204240"><strong>Get Plugin</strong></a> or
  8557. <a href="https://forums.alliedmods.net/attachment.php?attachmentid=204240&amp;d=1714615140">Get Source</a> (AddcondPlugin.sp - 2.2 KB)
  8558. </td>
  8559. </tr>
  8560. </table>
  8561. </fieldset>
  8562.  
  8563. </div>
  8564. ]]></content:encoded>
  8565. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=108">Plugins</category>
  8566. <dc:creator>chromatikmoniker</dc:creator>
  8567. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347508</guid>
  8568. </item>
  8569. <item>
  8570. <title>Show zombie hp</title>
  8571. <link>https://forums.alliedmods.net/showthread.php?t=347507&amp;goto=newpost</link>
  8572. <pubDate>Wed, 01 May 2024 23:05:22 GMT</pubDate>
  8573. <description><![CDATA[When dealing damage to a zombie, it does not show its HP. How can it be fixed?
  8574. screen: https://ibb.co/dt40HfP
  8575. meta lists:
  8576. PHP:
  8577. ---------
  8578. [...]]></description>
  8579. <content:encoded><![CDATA[<div>When dealing damage to a zombie, it does not show its HP. How can it be fixed?<br />
  8580. <br />
  8581. screen: <a href="https://ibb.co/dt40HfP" target="_blank" rel="nofollow noopener">https://ibb.co/dt40HfP</a><br />
  8582. meta lists:<br />
  8583. <div style="margin:20px; margin-top:5px">
  8584. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  8585. <div class="alt2">
  8586. <hr />
  8587. <code style="white-space:nowrap">
  8588. <div dir="ltr" style="text-align:left;">
  8589. <!-- php buffer start --><code><span style="color: #000000">
  8590. <span style="color: #0000BB">&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">AMX&nbsp;Mod&nbsp;X&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">amxmodx_mm</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ini&nbsp;&nbsp;Start&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Reunion&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">reunion_mm</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v0.1.92d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ini&nbsp;&nbsp;Start&nbsp;Never<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">3</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Revoice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">revoice_mm</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v0.1.0.34&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ini&nbsp;&nbsp;Start&nbsp;Never<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">POD</span><span style="color: #007700">-</span><span style="color: #0000BB">Bot&nbsp;mm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">podbot_mm</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v3.0B18c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ini&nbsp;&nbsp;Chlvl&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">5</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">SafeNameAndChat&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">safenameandchat</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;v1.2&nbsp;Beta&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ini&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">6</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">MySQL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysql_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">7</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">SQLite&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">sqlite_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">8</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Fun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fun_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;&nbsp;</span><span style="color: #0000BB">9</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Engine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">engine_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">10</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">FakeMeta&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fakemeta_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">11</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CStrike&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cstrike_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">12</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">CSX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">csx_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">13</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">Ham&nbsp;Sandwich&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">hamsandwich_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;v1.9.0.5294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;ANY<br />&nbsp;</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">14</span><span style="color: #007700">&#93;&nbsp;</span><span style="color: #0000BB">ReAPI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RUN&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">reapi_amxx</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v5.24.0.300</span><span style="color: #007700">-</span><span style="color: #0000BB">dev&nbsp;&nbsp;pl1&nbsp;&nbsp;ANY&nbsp;&nbsp;&nbsp;Never&nbsp;
  8591. <br /></span>
  8592. </span>
  8593. </code><!-- php buffer end -->
  8594. </div>
  8595. </code>
  8596. <hr />
  8597. </div>
  8598. </div>code:<br />
  8599. <br />
  8600. <div style="margin:20px; margin-top:5px">
  8601. <div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
  8602. <div class="alt2">
  8603. <hr />
  8604. <code style="white-space:nowrap">
  8605. <div dir="ltr" style="text-align:left;">
  8606. <!-- php buffer start --><code><span style="color: #000000">
  8607. <span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;amxmodx&gt;<br />#include&nbsp;&lt;hamsandwich&gt;<br />#include&nbsp;&lt;zombieplague&gt;<br /><br />//&nbsp;Uncomment&nbsp;this&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;show&nbsp;the&nbsp;taken&nbsp;damage<br />//#define&nbsp;SHOW_DAMAGE_ON_MESSAGE<br /><br />//&nbsp;Integers<br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers<br /><br /></span><span style="color: #FF8000">//&nbsp;Bools<br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">bool</span><span style="color: #007700">:</span><span style="color: #0000BB">g_bIsConnected</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">33</span><span style="color: #007700">&#93;<br /><br /></span><span style="color: #FF8000">//&nbsp;Macros<br />#define&nbsp;IsConnected(%1)&nbsp;(1&nbsp;&lt;=&nbsp;%1&nbsp;&lt;=&nbsp;g_iMaxPlayers&nbsp;&amp;&amp;&nbsp;g_bIsConnected&#91;%1&#93;)<br /><br />#define&nbsp;PLUGIN_VERSION&nbsp;"0.1"<br />#define&nbsp;PLUGIN_AUTHOR&nbsp;"meTaLiCroSS"<br /><br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()&nbsp;<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"&#91;ZP&#93;&nbsp;Addon:&nbsp;Zombie&nbsp;HP&nbsp;Displayer"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">PLUGIN_AUTHOR</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">RegisterHam</span><span style="color: #007700">(</span><span style="color: #0000BB">Ham_TakeDamage</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"player"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"fw_Player_TakeDamage_Post"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">g_iMaxPlayers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_maxplayers</span><span style="color: #007700">()<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">client_putinserver</span><span style="color: #007700">(</span><span style="color: #0000BB">iId</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">g_bIsConnected</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iId</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">true<br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">client_disconnected</span><span style="color: #007700">(</span><span style="color: #0000BB">iId</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">g_bIsConnected</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">iId</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">false<br /><br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">fw_Player_TakeDamage_Post</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iInflictor</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Float</span><span style="color: #007700">:</span><span style="color: #0000BB">flDamage</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iDamageType</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(!</span><span style="color: #0000BB">IsConnected</span><span style="color: #007700">(</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">iVictim&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(</span><span style="color: #0000BB">zp_get_user_zombie</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">))<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;I&nbsp;use&nbsp;statics&nbsp;variables<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;because&nbsp;this&nbsp;forward&nbsp;can&nbsp;(or&nbsp;not)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;be&nbsp;called&nbsp;many&nbsp;times.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static&nbsp;</span><span style="color: #0000BB">iVictimHealth<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iVictimHealth&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_user_health</span><span style="color: #007700">(</span><span style="color: #0000BB">iVictim</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">iVictimHealth</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#if&nbsp;defined&nbsp;SHOW_DAMAGE_ON_MESSAGE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_center</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"You&nbsp;did&nbsp;%.1f&nbsp;Damage.&nbsp;Health:&nbsp;%d"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">flDamage</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictimHealth</span><span style="color: #007700">)&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_center</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Health:&nbsp;%d"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">iVictimHealth</span><span style="color: #007700">)&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">#endif<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print</span><span style="color: #007700">(</span><span style="color: #0000BB">iAttacker</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">print_center</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"You&nbsp;Killed&nbsp;him"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_HANDLED<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">HAM_IGNORED<br /></span><span style="color: #007700">}&nbsp;
  8608. <br /></span><span style="color: #0000BB"></span>
  8609. </span>
  8610. </code><!-- php buffer end -->
  8611. </div>
  8612. </code>
  8613. <hr />
  8614. </div>
  8615. </div></div>
  8616.  
  8617. ]]></content:encoded>
  8618. <category domain="https://forums.alliedmods.net/forumdisplay.php?f=11">Scripting Help</category>
  8619. <dc:creator>deadackerman</dc:creator>
  8620. <guid isPermaLink="true">https://forums.alliedmods.net/showthread.php?t=347507</guid>
  8621. </item>
  8622. </channel>
  8623. </rss>
  8624.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//forums.alliedmods.net/external.php%3Ftype%3DRSS2

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda