Raised This Month: $ Target: $400
 0% 

Get shooting


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-10-2010 , 16:06   Re: Get shooting
Reply With Quote #6

PHP Code:
    RegisterHam(Ham_Weapon_PrimaryAttack"player""Ham_PrimaryAttackHook"
PHP Code:
public Ham_PrimaryAttackHook(id)
{
    if(
g_Holster[id])
        return 
HAM_SUPERCEDE
    
    
return HAM_IGNORED

Does not work. (g_Holster[id] is 1)

Edit: Looks like it's not even called.

PHP Code:
public Ham_PrimaryAttackHook(id)
{
client_print(idprint_console"[Debug] Ham_PrimaryAttackHook: CALLED")
    if(
g_Holster[id])
        return 
HAM_SUPERCEDE
    
    
return HAM_IGNORED

nothing shows up in the console.

Last edited by Backstabnoob; 06-10-2010 at 16:36.
Backstabnoob 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 05:23.


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