Raised This Month: $ Target: $400
 0% 

Problem with Silencing Footsteps with FM


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2009 , 01:00   Re: Problem with Silencing Footsteps with FM
Reply With Quote #5

Quote:
Originally Posted by zwfgdlc View Post
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_NAMEPLUGIN_VERSIONPLUGIN_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;

Hum, this will have effects during 1 frame...
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode