Raised This Month: $ Target: $400
 0% 

Solved fly plugin help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Uzviseni Bog
Senior Member
Join Date: Jun 2020
Old 01-06-2024 , 15:43   Re: fly plugin help
#4

Quote:
Originally Posted by vres View Post
this is everything

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <fun>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "me"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	
}

public client_PreThink(id)  
{ 

    if( is_user_alive(id) ) 
    { 
        new Float:fAim[3]
        VelocityByAim(id , 500, fAim)
        
        if( !(get_user_button(id) & IN_JUMP) ) 
            set_user_velocity(id, fAim)
    } 
    return PLUGIN_CONTINUE
}
It already works like this


What do you actually want? Do you want a hook that will be bound with the command 'bind c +fly' instead of 'bind c +hook', and to be given to certain players through a command?
Uzviseni Bog 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 00:33.


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