Raised This Month: $ Target: $400
 0% 

Zombie Mod 2 Classes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grilado13
Junior Member
Join Date: May 2010
Old 05-05-2010 , 16:14   Zombie Mod 2 Classes
Reply With Quote #1

Hello, I would ask a Plugin (More like an extra is worth more)

I have a ZM and wish someone would make the following changes

Zombies Classes:
Jumping Zombie: I'd like someone put some plugin for it to Multiple jumps (3x is good, more would be bad for me)

Zombie Killer: I would like them to add Bunny Hop on it because then he could kill a lot easier

Additional to all players:
I wish everyone had a free parachute in all rounds

I do not speak English, this text was translated by Google, I hope they understand and can help me

My script is here for Zombies:

PHP Code:
/*================================================================================
    
    -----------------------------------
    -*- [ZP] Zombie Classes Example -*-
    -----------------------------------
    
    ~~~~~~~~~~~~~~~
    - Description -
    ~~~~~~~~~~~~~~~
    
    This is just an example on how to add additional zombie classes to ZP.
    
================================================================================*/

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

// Zombie Attributes
new const zclass_name[] = "Jumping Zombie" // name
new const zclass_info[] = "Multiple Jump" // description
new const zclass_model[] = "zombie_source" // model
new const zclass_clawmodel[] = "v_knife_zombie.mdl" // claw model
const zclass_health 3600 // health
const zclass_speed 180 // speed
const Float:zclass_gravity 1.0 // gravity
const Float:zclass_knockback 1.0 // knockback

// Zombie Attributes
new const zclass2_name[] = "Hunter Zombie" // name
new const zclass2_info[] = "Powerful attack" // description
new const zclass2_model[] = "zombie_source" // model
new const zclass2_clawmodel[] = "v_knife_zombie.mdl" // claw model
const zclass2_health 2000 // health
const zclass2_speed 195 // speed
const Float:zclass2_gravity 1.0 // gravity
const Float:zclass2_knockback 1.0 // knockback

// Class IDs
new g_zclassid1
new g_zclassid2

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
    
register_plugin("[ZP] New zombies by MatheusGrilo""1.0""MatheusGrilo")
    
    
// Register the new class and store ID for reference
    
g_zclassid1 zp_register_zombie_class(zclass_namezclass_infozclass_modelzclass_clawmodelzclass_healthzclass_speedzclass_gravityzclass_knockback)    
    
g_zclassid2 zp_register_zombie_class(zclass2_namezclass2_infozclass2_modelzclass2_clawmodelzclass2_healthzclass2_speedzclass2_gravityzclass2_knockback)    
}

// User Infected forward
public zp_user_infected_post(idinfector)
{
    
// Check if the infected player is using our custom zombie class
    
if (zp_get_user_zombie_class(id) == g_zclassid1)
    {
        
client_print(idprint_chat"[ZP] Espero que tenham gostado de nossas novas classes!")
        
set_pev(idpev_healthfloat(pev(idpev_health)) + 0.0)
    }

Grilado13 is offline
Reply



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 09:30.


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