Raised This Month: $51 Target: $400
 12% 

Zombie Plague Mod 5.0


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-05-2008 , 13:10   Re: Zombie Plague Mod 4.07
#2031

Quote:
Originally Posted by ignax View Post
as i said before, i had problems using auto bhop and long jump at the same time, so i tried using this. due i am very VERY noob at scripting, i had donde something wrong, and, when it should not give auto bhop to leap zombies, and humans should, it just give auto bhop to leap zombies T_T
i have put this
Code:
/*
 *
 *    Author:        Cheesy Peteza
 *    Date:        22-Apr-2004 (updated 2-March-2005)
 *
 *
 *    Description:    Enable bunny hopping in Counter-Strike.
 *
 *    Cvars:
 *            bh_enabled        1 to enable this plugin, 0 to disable.
 *            bh_autojump        If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *            bh_showusage        If set to 1 it will inform joining players that bunny hopping has been enabled
 *                        and how to use it if bh_autojump enabled.
 *
 *    Requirements:    AMXModX 0.16 or greater
 *
 *
 */

#include <amxmodx>
#include <engine>
#include <fun>
#include <zombieplague>
#define    FL_WATERJUMP    (1<<11)    // player jumping out of water
#define    FL_ONGROUND    (1<<9)    // At rest / on the ground

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
const zclass_LongJump6 = 1

new g_zclass_LongJump6

public plugin_init() {
    register_plugin("Super Bunny Hopper", "1.2", "Cheesy Peteza")
    register_cvar("sbhopper_version", "1.2", FCVAR_SERVER)

    register_cvar("bh_enabled", "1")
    register_cvar("bh_autojump", "1")
    register_cvar("bh_showusage", "1")
}

public plugin_precache()
{
    register_plugin("[ZP] Zombie Long Jump", "1.1", "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 client_PreThink(id) {
    if(zp_get_user_zombie(id) == g_zclass_LongJump6)
    return PLUGIN_HANDLED
    if (!get_cvar_num("bh_enabled"))
        return PLUGIN_CONTINUE

    entity_set_float(id, EV_FL_fuser2, 0.0)        // Disable slow down after jumping

    if (!get_cvar_num("bh_autojump"))
        return PLUGIN_CONTINUE

// Code from CBasePlayer::Jump (player.cpp)        Make a player jump automatically
    if(zp_get_user_zombie(id) == g_zclass_LongJump6)
    return PLUGIN_HANDLED
            if (entity_get_int(id, EV_INT_button) & 2) {    // If holding jump
            new flags = entity_get_int(id, EV_INT_flags)

            if (flags & FL_WATERJUMP)
                return PLUGIN_CONTINUE
            if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
                return PLUGIN_CONTINUE
            if ( !(flags & FL_ONGROUND) )
                return PLUGIN_CONTINUE

        new Float:velocity[3]
        entity_get_vector(id, EV_VEC_velocity, velocity)
        velocity[2] += 250.0
        entity_set_vector(id, EV_VEC_velocity, velocity)

        entity_set_int(id, EV_INT_gaitsequence, 6)    // Play the Jump Animation
    }
    return PLUGIN_CONTINUE
}

public client_authorized(id)
    set_task(30.0, "showUsage", id)

public showUsage(id) {
    if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
        return PLUGIN_HANDLED

    if ( !get_cvar_num("bh_autojump") ) {
        client_print(id, print_chat, "[AMX] Bunny hopping is enabled on this server. You will not slow down after jumping.")
    } else {
        client_print(id, print_chat, "[Informe s.G] Recuerda que puedes cambiar el modo de tus granadas, apretando click derecho con ellas")
    }
    return PLUGIN_HANDLED
}


public zp_user_infected_post(id, infector)
{
    if(zp_get_user_zombie(id) == g_zclass_LongJump6)
        client_print(id, print_chat,"")
    {
        give_item(id, "item_longjump")
    }
}
Yea, I already see what You did wrong. And why did You merged 2 plugins together there is big mess...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 10-05-2008 at 13:12.
Fry! is offline
WcK | Kyuubi
Member
Join Date: Aug 2008
Location: Venezuela
Old 10-05-2008 , 14:18   Re: Zombie Plague Mod 4.07
#2032

Quote:
Originally Posted by ahmad View Post
[ES]
Nesecito un plugin.
cuando ablas en el chat salen las letras por arriba de la cabesa del jugador como esto.


[EN]google
I need A plugin.
When you talk in the chat post letters above the head of the player like this.
Si mas no recuerdo, creo que eso no es un mensaje proveniente de un chat sino un sprite que se puede colocar. Seria un desastre si todo lo q se escribiese en un chat saliera encima del jugador.
__________________

WcK | Kyuubi is offline
Send a message via MSN to WcK | Kyuubi Send a message via Skype™ to WcK | Kyuubi
..Gabox..
Member
Join Date: Dec 2007
Old 10-05-2008 , 14:36   Re: Zombie Plague Mod 4.07
#2033

Quote:
Originally Posted by The_Thing View Post
Yea, I already see what You did wrong. And why did You merged 2 plugins together there is big mess...
You can help me with my question? , It seems that you know , Thax .-
..Gabox.. is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-05-2008 , 14:40   Re: Zombie Plague Mod 4.07
#2034

Quote:
Originally Posted by ..Gabox.. View Post
You can help me with my question? , It seems that you know , Thax .-
Quote:
Originally Posted by ..Gabox.. View Post
[INGLES] By Google :
Hi, I have many ideas for ways But do not be like making modes, Algueña knows that could explain not only friend to everyone? , Or have a file that you provide this, as I would love to create profiles. Thax.
You mean this? I don't understand You, please explain more or in different question...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
zssz
Member
Join Date: Aug 2008
Old 10-05-2008 , 14:58   Re: Zombie Plague Mod 4.07
#2035

I tried to install this plugin onto my server, I made changes to the config for customization, I took out the "func_vehicle" from the array of things to remove, and the plugin crashes server when map changes. I even tried using the .amxx files that I downloaded, no changes, and the config file with no changes. That didn't work aswell. I added debug after the plugins in the .ini, I look in my log files and there is nothing about zombie anything in any of them.

EDIT: Just tried to get it to work with no plugins but the base amxx ones and it still doesn't work..

Last edited by zssz; 10-05-2008 at 15:15.
zssz is offline
..Gabox..
Member
Join Date: Dec 2007
Old 10-05-2008 , 15:26   Re: Zombie Plague Mod 4.07
#2036

Quote:
Originally Posted by The_Thing View Post
You mean this? I don't understand You, please explain more or in different question...
[INGLES] By Google :
Hi, I have many ideas for ways But do not be like making modes, knows that could explain not only friend to everyone? , Or have a file that you provide this, as I would love to create profiles. Thax.

Last edited by ..Gabox..; 10-05-2008 at 16:32.
..Gabox.. is offline
ahmad
BANNED
Join Date: Sep 2008
Old 10-05-2008 , 17:18   Re: Zombie Plague Mod 4.07
#2037

csnadedrops.amxx

[ES]
quiesiera modificar este plugin: ese es el que hace que las bombas caigan cuando un jugador muera.

quiero modificar poniendo todas caen menos la de fuego. como ago esto me ayudan?
ahmad is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-05-2008 , 17:40   Re: Zombie Plague Mod 4.07
#2038

@shadow, compile it localy, their are directions on the front page.

@zssz
Your issue is with amxmodx? Your updateing is not right. I would either post in support, or read the directions. You can get some help Here
__________________
bmann_420 is offline
zssz
Member
Join Date: Aug 2008
Old 10-05-2008 , 18:31   Re: Zombie Plague Mod 4.07
#2039

What do you mean by my updating is not right?
I have version 1.8.0.3660 of AMXX (if you're implying that I updated from a past version wrong) which has been running perfectly fine with other plugins for the 3 months I've had this server. I couldn't think of another meaning for your reply, so I don't know if this is what you meant.
zssz is offline
ignax
BANNED
Join Date: Feb 2008
Old 10-05-2008 , 19:02   Re: Zombie Plague Mod 4.07
#2040

Quote:
Originally Posted by The_Thing View Post
Yea, I already see what You did wrong. And why did You merged 2 plugins together there is big mess...
i had to merge them, because if not i wasnt able to stop the bhop, if u were a LJ zombie.
ignax is offline
Closed Thread



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


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