<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=Talk%3AZh_cn%3ACompiling_Plugins_%28AMX_Mod_X%29</id>
	<title>Talk:Zh cn:Compiling Plugins (AMX Mod X) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=Talk%3AZh_cn%3ACompiling_Plugins_%28AMX_Mod_X%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Talk:Zh_cn:Compiling_Plugins_(AMX_Mod_X)&amp;action=history"/>
	<updated>2026-05-10T10:39:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Talk:Zh_cn:Compiling_Plugins_(AMX_Mod_X)&amp;diff=6024&amp;oldid=prev</id>
		<title>Sashow: New page: #include &lt;amxmodx&gt; #include &lt;fakemeta_util&gt; #include &lt;fun&gt;  #tryinclude &lt;biohazard&gt;  #if !defined _biohazard_included         #assert Biohazard functions file required! #endif   new zomb_l...</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Talk:Zh_cn:Compiling_Plugins_(AMX_Mod_X)&amp;diff=6024&amp;oldid=prev"/>
		<updated>2008-06-20T23:39:50Z</updated>

		<summary type="html">&lt;p&gt;New page: #include &amp;lt;amxmodx&amp;gt; #include &amp;lt;fakemeta_util&amp;gt; #include &amp;lt;fun&amp;gt;  #tryinclude &amp;lt;biohazard&amp;gt;  #if !defined _biohazard_included         #assert Biohazard functions file required! #endif   new zomb_l...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;#include &amp;lt;amxmodx&amp;gt;&lt;br /&gt;
#include &amp;lt;fakemeta_util&amp;gt;&lt;br /&gt;
#include &amp;lt;fun&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#tryinclude &amp;lt;biohazard&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#if !defined _biohazard_included&lt;br /&gt;
        #assert Biohazard functions file required!&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
new zomb_leap, zomb_time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public plugin_init()&lt;br /&gt;
{&lt;br /&gt;
     register_plugin(&amp;quot;Bio LongJump/Leap&amp;quot;, &amp;quot;0.2&amp;quot;, &amp;quot;Jay-izi/TheRadiance&amp;quot;)&lt;br /&gt;
     if (!is_biomod_active()) pause(&amp;quot;ad&amp;quot;)&lt;br /&gt;
     zomb_leap = register_cvar(&amp;quot;bh_zombie_leap&amp;quot;,&amp;quot;enable&amp;quot;)&lt;br /&gt;
     zomb_time = register_cvar(&amp;quot;bh_zombie_leap_time&amp;quot;,&amp;quot;15.0&amp;quot;)&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public event_infect2(id) &lt;br /&gt;
{&lt;br /&gt;
     if (is_user_alive(id) &amp;amp;&amp;amp; is_user_firstzombie(id))&lt;br /&gt;
     {&lt;br /&gt;
          if (get_pcvar_num(zomb_leap))&lt;br /&gt;
          {&lt;br /&gt;
               new Float:leap_float=get_pcvar_float(zomb_time)&lt;br /&gt;
               set_task(leap_float,&amp;quot;leap_begin&amp;quot;,id)&lt;br /&gt;
               new num = get_pcvar_num(zomb_time)&lt;br /&gt;
               set_hudmessage(243, 235, 12, -1.0, 0.40, 0, 6.0, 14.0)&lt;br /&gt;
               show_hudmessage(id, &amp;quot;%d seconds before you have leap&amp;quot;,num)&lt;br /&gt;
          }&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
     &lt;br /&gt;
public leap_begin(id) &lt;br /&gt;
{&lt;br /&gt;
     if (!is_user_alive(id))&lt;br /&gt;
          return PLUGIN_HANDLED&lt;br /&gt;
&lt;br /&gt;
     if (is_user_firstzombie(id))&lt;br /&gt;
     {&lt;br /&gt;
          set_hudmessage(243, 235, 12, -1.0, 0.40, 0, 6.0, 5.0)&lt;br /&gt;
          show_hudmessage(id, &amp;quot;You now have leap&amp;quot;)&lt;br /&gt;
          give_item(id, &amp;quot;item_longjump&amp;quot;)&lt;br /&gt;
     }&lt;br /&gt;
     &lt;br /&gt;
     return PLUGIN_CONTINUE&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Sashow</name></author>
		
	</entry>
</feed>