Raised This Month: $ Target: $400
 0% 

How to block animation?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Bos93
Veteran Member
Join Date: Jul 2010
Old 12-13-2011 , 10:43   How to block animation?
Reply With Quote #1

How to block animation for a knife?


PHP Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init ( )
    
register_forward(FM_UpdateClientData"UpdateClientData_Post"1)

public 
UpdateClientData_Post PlayerSendWeaponsCD_Handle )
{
    if (!
is_user_alive(Player)) return FMRES_IGNORED

    
if( get_user_weaponPlayer ) != CSW_KNIFE ) return FMRES_IGNORED

    set_cd
(CD_HandleCD_ID0);

    return 
FMRES_HANDLED

So animation is blocked on all weapons
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
 



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 11:52.


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