View Single Post
Welgericht
Member
Join Date: Jul 2010
Old 08-01-2010 , 18:56   Re: request:nemesis bazooka
Reply With Quote #4

something like this?

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

#include < zombieplague >

#define PLUGIN  "Nemesis with Bazooka"
#define VERSION "0.1"
#define AUTHOR  "Doomsday" 

new const BazookaPluginName[32] = "zp_extra_bazooka.amxx"

public plugin_init()
{
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
zp_round_started(gamemodid)
{
if(
zp_is_nemesis_round())
{
if(
zp_get_user_zombie(idi))
{
if (
callfunc_begin("zp_extra_item_selected",BazookaPluginName) < 1) return PLUGIN_HANDLED//function name is same everywhere, so todo = extra item plugin name.
                    
callfunc_push_int(id);
                    
callfunc_push_int(i);
                    
callfunc_end;
}
}

Welgericht is offline