Raised This Month: $ Target: $400
 0% 

Could you add this plugin a leap cooldown ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
darkbad945
Senior Member
Join Date: May 2008
Old 07-16-2010 , 22:33   Could you add this plugin a leap cooldown ?
Reply With Quote #1

Here is the code...

Code:
/*				
/				
/				
/					[ZP] Zombie Long Jump
/					 (new zombie class)
/
/					    by The_Thing
/
/
/	Description :
/
/	So what can I say? This is usual Zombie class but this zombie will have long jump already. (without delay)
/
/	
/
/
/
/	Changelog :
/
/	04/10/2008 - v1.0 - First release
/	05/10/2008 - v1.1 - fixed bug that cause long jump to all zombie classes...
/	10/10/2008 - v1.2 - fixed again this bug from v1.1 
/
/
/
/
/
/
*/

#include <amxmodx>
#include <fun>
#include <zombieplague>
	
new const zclass_name6[] = { "Long Jump Zombie" }
new const zclass_info6[] = { "HP+ Speed+ Gravity++ Knockback++" }
new const zclass_model6[] = { "zombie_source" }
new const zclass_clawmodel6[] = {"v_knife_zombie.mdl" }
const zclass_health6 = 2200
const zclass_speed6 = 230
const Float:zclass_gravity6 = 0.5
const Float:zclass_knockback6 = 1.7

new g_zclass_LongJump6

public plugin_precache()
{
	register_plugin("[ZP] Zombie Long Jump", "1.2", "The_Thing")
	
	g_zclass_LongJump6 = zp_register_zombie_class(zclass_name6, zclass_info6, zclass_model6, zclass_clawmodel6, zclass_health6, zclass_speed6, zclass_gravity6, zclass_knockback6)
}

public zp_user_infected_post(player, infector)
{
	if(zp_get_user_zombie_class(player) == g_zclass_LongJump6)
	{
		give_item(player, "item_longjump")
	}
	client_print(player, print_chat,"")
}
darkbad945 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode