Raised This Month: $ Target: $400
 0% 

Solved Ham_Weapon_SecondaryAttack on elites, for example


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 06-30-2017 , 09:58   Ham_Weapon_SecondaryAttack on elites, for example
Reply With Quote #1

Is it possible to make Ham_Weapon_SecondaryAttack working for weapons that haven't zoom or silencer?

I just put this code and it doesn't display the print
PHP Code:
RegisterHam(Ham_Weapon_SecondaryAttack"weapon_elite""fw_Weapon_SecondaryAttack")

public 
fw_Weapon_SecondaryAttack(ent)
{
    
client_print(0print_chat"Hey")

The other way is hook FM_CmdStart and check for IN_ATTACK2... but I prefer the previous code.

Some way to make it possible? Just a offset or something?

Last edited by baneado; 07-05-2017 at 12:39.
baneado 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 22:59.


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