Raised This Month: $ Target: $400
 0% 

Block Duck on rotating entitys


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Jon
Veteran Member
Join Date: Dec 2007
Old 10-21-2009 , 06:15   Re: Block Duck on rotating entitys
Reply With Quote #7

Quote:
Originally Posted by ConnorMcLeod View Post
If your server is on linux you could try orpheu module and try to call PM_Unduck.
//

Quote:
Originally Posted by Hawk552 View Post
Try hooking Ham_Player_Duck and setting pev_oldbuttons in that.
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>

public plugin_init( )
{
    
RegisterHamHam_Player_Duck"player""FwdPlayerDuck" );
}

public 
FwdPlayerDuckiClient )
{
    new 
szClass32 ];
    
pevpeviClientpev_groundentity ), pev_classnameszClass31 );
    
    if( 
equalszClass"func_rotating" ) )
    {
        
set_peviClientpev_oldbuttonspeviClientpev_oldbuttons ) | IN_DUCK );

        
// client_cmd( iClient, "wait;-duck" );
    
}


Last edited by Jon; 10-21-2009 at 09:30.
Jon 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 17:37.


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