Raised This Month: $ Target: $400
 0% 

Jump direction problem , going elsewhere =/


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 04-03-2009 , 05:01   Re: Jump direction problem , going elsewhere =/
Reply With Quote #5

Like this.

PHP Code:
#include <amxmodx> 
#include <fakemeta> 
  
public plugin_init() 

    
register_plugin("Hugejump","1.0","DS_ToP_GunNeR"
    
register_forward(FM_CmdStart,"Forward_CmdStart"

public 
Forward_CmdStart(iduc_handleseed

    static 
ButtonoldButton;
    
Button get_uc(uc_handleUC_Buttons);
    
oldButton pev(idpev_oldbuttons);
    
    if(
Button IN_JUMP && !(oldButton IN_JUMP) && pev(id,pev_flags) & FL_ONGROUND
    {
        new 
Floatvelocity[3];
        
velocity_by_aim(id800velocity);
        
set_pev(id,pev_velocity,velocity);
    } 

__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores 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 02:19.


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