View Single Post
Author Message
verzoteX
Member
Join Date: Nov 2011
Location: Montenegro / Podgorica
Old 03-17-2012 , 12:52   exec user command
Reply With Quote #1

can any one help me out i tryed my self and faild all i want is : if player gets nemesis. that player says automatically in chat /start. it executes automatically the command "say /start" like if i whent to execute to a player with amx_exec the command amx_exec nick "say /start" but it must be done automatically when player gets nemesis. please replay and hel me as fast as possilble thanks in advanc.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>

#define PLUGIN "arena start"
#define VERSION "1.0"
#define AUTHOR "verzotex"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
}

public 
zp_user_infected_post(idinfector)
{
    if (
zp_get_user_nemesis(id))
    {
    }

verzoteX is offline