try this.not tested.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>
#define PLUGIN_NAME "No Footsteps"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "zwfgdlc"
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
registerham(Ham_Spawn,"player","fw_PlayerSpanw",1);
}
public fw_PlayerSpanw_Spanw(id)
{
if(!is_user_alive(id)) return HAM_IGNORED;
set_pev(id,pev_flags,pev(id,pev_flags)|FL_DUCKING);
return HAM_HANDLED;
}