Raised This Month: $ Target: $400
 0% 

Make player fly?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Stereo
Veteran Member
Join Date: Dec 2010
Old 10-02-2011 , 11:51   Re: Make player fly?
Reply With Quote #3

PHP Code:
#include <amxmodx> 
#include <engine> 

#define PLUGIN "Fly" 
#define VERSION "1.0" 
#define AUTHOR "Stereo" 

public plugin_init() 
    
register_plugin(PLUGINVERSIONAUTHOR

public 
client_PreThink(id)  

    if( 
is_user_alive(id) ) 
    { 
        new 
Float:fAim[3]
        
VelocityByAim(id 250 fAim)
        
        if( !(
get_user_button(id) & IN_JUMP) ) 
            
set_user_velocity(idfAim)
    } 
    return 
PLUGIN_CONTINUE


Last edited by Stereo; 10-02-2011 at 11:59.
Stereo 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 19:41.


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