Raised This Month: $ Target: $400
 0% 

MaxSpeed Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nkz1337
BANNED
Join Date: Apr 2011
Old 10-16-2011 , 08:22   MaxSpeed Plugin
Reply With Quote #1

yo!

PHP Code:
#include <amxmisc>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <fun>

#define PLUGIN "MaxSpeed"
#define VERSION "1.0"
#define AUTHOR "tv!X^^"

new Float:g_set_velocity[33][3];

new 
g_max_players;

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd"+MaxSpeed""SetMaxSpeed" );
    
    
g_max_players =        get_maxplayers();
}

public 
SetMaxSpeed(id)
{
    for ( new 
id 1id <= g_max_players; ++id )
    {
        
        if ( 
g_set_velocity[id][0] != 0.0
        
|| g_set_velocity[id][1] != 0.0
        
|| g_set_velocity[id][2] != 0.0 )
        {
            
entity_set_vector(idEV_VEC_velocityg_set_velocity[id]);
            
            
g_set_velocity[id][0] = 0.0;
            
g_set_velocity[id][1] = 0.0;
            
g_set_velocity[id][2] = 0.0;
        }
        
entity_get_vector(idEV_VEC_velocityg_set_velocity[id]);
            
velocity_by_aim(id1200g_set_velocity[id]);
    
            
g_set_velocity[id][2] = 1200;
        
        
entity_set_int(idEV_INT_gaitsequence6);
            
entity_set_int(idEV_INT_gaitsequence6);
    }

flies like a superman !
nkz1337 is offline
Send a message via Skype™ to nkz1337
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 10-16-2011 , 08:30   Re: MaxSpeed Plugin
Reply With Quote #2

yo
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
gunsofnavarone
Junior Member
Join Date: Dec 2008
Location: New Hampshire
Old 10-16-2011 , 12:05   Re: MaxSpeed Plugin
Reply With Quote #3

Yo-yo you!
__________________

Do you want to know who you are? Don't ask. Act! Action will delineate and define you.
gunsofnavarone is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 10-17-2011 , 14:44   Re: MaxSpeed Plugin
Reply With Quote #4

YO!!
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 10-17-2011 , 15:32   Re: MaxSpeed Plugin
Reply With Quote #5

yoo! what this does?
__________________
Quote:
367. Everyone's copyright will be broken. No exceptions.
jonnzus is offline
Reply



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 20:52.


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