Raised This Month: $32 Target: $400
 8% 

Hamsandwich


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConorCC
Member
Join Date: Feb 2014
Old 03-11-2016 , 15:07   Hamsandwich
Reply With Quote #1

Hi,

I wanna hook the Ham_Weapon_SendWeaponAnim, but the Hamsandwich is logged this:

"[HAMSANDWICH] Failed to retrieve vtable for "weapon_p228", hook for "fw_Weapon_SendWeaponAnim" not active."

Can I fix it?
How can I fix it?
ConorCC is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-11-2016 , 16:52   Re: Hamsandwich
Reply With Quote #2

You want the bug of HLTV when you switch weapons?

If you want, is here:

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

#define PLUGIN "HLTV bug"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.1"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
register_forward(FM_UpdateClientData"UpdateClientData"1)
}

public 
UpdateClientData(idsendweaponscd)
{
    if( 
sendweapons )
    {
        if( 
get_cd(cdCD_WeaponAnim) )
        {
            
set_cd(cdCD_WeaponAnim0)
        }
    }


Last edited by EFFx; 03-11-2016 at 16:57.
EFFx is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 03-12-2016 , 04:38   Re: Hamsandwich
Reply With Quote #3

Omg, is this a plugin that removes weapon animations? Cool
I thought it was possible only by setting hltv models. Thanks, I didn't know this exists.
siriusmd99 is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-12-2016 , 12:23   Re: Hamsandwich
Reply With Quote #4

Connor is amazing my friend
EFFx is offline
Reply


Thread Tools
Display Modes

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:43.


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