Raised This Month: $ Target: $400
 0% 

Forcing a zombie to duck and may not jump


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-09-2009 , 09:45   Forcing a zombie to duck and may not jump
Reply With Quote #1

I trying to force a zombie to duck and may not jump

PHP Code:
#include <hamsandwich> 
PHP Code:
RegisterHam(Ham_Player_PreThink"player""fwd_Player_PreThink"
PHP Code:
public fwd_Player_PreThink(id)
{
    if (!
zp_get_user_zombie(id) || zp_get_user_nemesis(id))
   
HAM_IGNORED
    
if (zp_get_user_zombie_class(id) != g_zclass_hczombie)
  
HAM_IGNORED
    set_pev
(idpev_oldbuttonspev(idpev_oldbuttons)|IN_JUMP|IN_DUCK)
    {
        return 
HAM_SUPERCEDE 
    

    return 
HAM_IGNORED 

but it didn't work.
__________________
ƒa†es™ 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 13:51.


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