Raised This Month: $ Target: $400
 0% 

Suggestion / Subplugin Request Resuest zombie class


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kimi.
Junior Member
Join Date: Jul 2015
Location: Algeria
Old 07-17-2015 , 09:18   Resuest zombie class
Reply With Quote #1

Welcome To alliedmods.net

First of all I'm a new user.. and i want a request

The Game : Counter-strike 1.6
Mod : Zombie Plague 4.3

Plugin Requested : i need a plugin of ZP CLASS

The Zombie Press "g" and he get 15s of Zombie Madness for free .... Example : Go to CLARION ZM ARMY

Please Can you make it ??

Last edited by Kimi.; 07-19-2015 at 11:34.
Kimi. is offline
Send a message via Skype™ to Kimi.
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 07-17-2015 , 22:47   Re: Resuest zombie class
Reply With Quote #2

o.O
__________________
Moroccan and proud
Linkin Hisoka is offline
Kimi.
Junior Member
Join Date: Jul 2015
Location: Algeria
Old 07-19-2015 , 11:34   Re: Resuest zombie class
Reply With Quote #3

Please some one ???

;)
Kimi. is offline
Send a message via Skype™ to Kimi.
Kimi.
Junior Member
Join Date: Jul 2015
Location: Algeria
Old 07-19-2015 , 11:35   Re: Resuest zombie class
Reply With Quote #4

PLease
Kimi. is offline
Send a message via Skype™ to Kimi.
thekiller123
Member
Join Date: Dec 2012
Old 07-19-2015 , 17:05   Re: Resuest zombie class
Reply With Quote #5

I edited for heal zombie to madness zombie

Try:

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

new const zclass_name[] = "Zombie Madness"
new const zclass_info[] = "Free madness"
new const zclass_model[] = "zombie_source"
new const zclass_clawmodel[] = "v_knife_zombie.mdl"
const zclass_health 2000
const zclass_speed 275
const Float:zclass_gravity 0.8
const Float:zclass_knockback 0.5

new g_zclass_madness;
new 
Float:last_use[33];

public 
plugin_init()
{
    
register_plugin("[ZP] Zombie Class: Madness Zombie""0.1""WPMG Team")
    
register_clcmd("drop""use_skill")
}

public 
plugin_precache()
{
    
g_zclass_madness zp_register_zombie_class(zclass_namezclass_infozclass_modelzclass_clawmodelzclass_healthzclass_speedzclass_gravityzclass_knockback)
}

public 
zp_user_infected_post(idinfector)
{
    if(
zp_get_user_zombie_class(id) == g_zclass_madness)
    {
        
client_printcolor(id"^4[ZP] ^1Press ^4^"G^" ^1for use your madness.")
        
last_use[id] = 0.0
    
}
}

public 
use_skill(id)
{
    if(
is_user_alive(id) && !zp_get_user_nemesis(id) && zp_get_user_zombie(id) && (zp_get_user_zombie_class(id) == g_zclass_madness))
    {
        if((
last_use[id] + 15.0 <= get_gametime()))
        {
            
last_use[id] = get_gametime();

            
zp_force_buy_extra_item(id21)

            return 
PLUGIN_HANDLED;
        }
    }
    return 
PLUGIN_CONTINUE;
}

stock client_printcolor(const id, const input[], any:...)
{
    new 
iCount 1iPlayers[32]
    static 
szMsg[191]

    
vformat(szMsgcharsmax(szMsg), input3)
    
replace_all(szMsg190"/g""^4")
    
replace_all(szMsg190"/y""^1")
    
replace_all(szMsg190"/t""^3")
    
replace_all(szMsg190"/w""^0")

    if(
idiPlayers[0] = id
    
else get_players(iPlayersiCount"ch")

    for(new 
0iCounti++)
    {
        if(
is_user_connected(iPlayers[i]))
        {
            
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _iPlayers[i])
            
write_byte(iPlayers[i])
            
write_string(szMsg)
            
message_end()
        }
    }

thekiller123 is offline
Kimi.
Junior Member
Join Date: Jul 2015
Location: Algeria
Old 07-19-2015 , 17:31   Re: Resuest zombie class
Reply With Quote #6

When i try to compile it writes to me : You must upload a valid file!
Kimi. is offline
Send a message via Skype™ to Kimi.
Reply


Thread Tools
Display Modes

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 23:23.


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