Raised This Month: $ Target: $400
 0% 

Engine ----> fakemeta


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
_lol_
Senior Member
Join Date: Apr 2009
Old 05-14-2009 , 20:57   Engine ----> fakemeta
Reply With Quote #1

PHP Code:
entity_set_float(idEV_FL_fuser20.0)        // Disable slow down after jumping
    // Code from CBasePlayer::Jump (player.cpp)        Make a player jump automatically
    
if (entity_get_int(idEV_INT_button) & 2
    {    
// If holding jump
        
new flags entity_get_int(idEV_INT_flags)

        if (
flags FL_WATERJUMP)
            return 
PLUGIN_CONTINUE
        
if ( entity_get_int(idEV_INT_waterlevel) >= )
            return 
PLUGIN_CONTINUE
        
if ( !(flags FL_ONGROUND) )
            return 
PLUGIN_CONTINUE

        
new Float:velocity[3]
        
entity_get_vector(idEV_VEC_velocityvelocity)
        
velocity[2] += 260.0
        entity_set_vector
(idEV_VEC_velocityvelocity)
        
entity_set_int(idEV_INT_gaitsequence6)    // Play the Jump Animation
    


posible in fakemeta or other module?
__________________
_lol_ 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 01:31.


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