K, thanks I'll try that out..
I came up with this..
Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_forward(FM_UpdateClientData, "UpdateClientData_Post", 1);
}
public client_PreThink(id)
{
if(!is_user_alive(id))
{
return PLUGIN_CONTINUE;
}
if(pev(id, pev_button) & IN_ATTACK)
{
client_print(0, print_chat, "SHOT FIRED");
}
return PLUGIN_CONTINUE;
}
public UpdateClientData_Post(id, sendweapons, cd_handle)
{
if(!is_user_alive(id))
{
return FMRES_IGNORED;
}
set_cd(cd_handle, CD_ID, 0);
return FMRES_HANDLED;
}
I was just about to post asking about the sounds..
can't we put those back in using messages?
__________________