View Single Post
SyluxLockjaw100
Senior Member
Join Date: Jul 2010
Location: Novaya Russia
Old 06-04-2013 , 01:05   Re: [Q+REQ] First zombie
Reply With Quote #6

Quote:
Originally Posted by myusername View Post
@SyluxLockjaw100: Im thinkin more like this.

PHP Code:
#include <amxmodx>
#include <zp50_core>

#define PLUGIN_NAME        "test"
#define PLUGIN_VERSION    "0.1"
#define PLUGIN_AUTHOR    "test"

public plugin_init() {
    
register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR);
}

public 
zp_fw_core_infect_post(idattacker)
{
    if(!
is_user_connected(id)) {
        return;
    }
    
    if (
zp_core_is_first_zombie(id))
    {
        
something goes here...
    }

EDIT: I dont find anything like this zp_class_origin_set
Uh, it was my custom first zombie class include name. It was once the Nemesis class, I just removed the claw damage code in the .sp and put it there.
SyluxLockjaw100 is offline