Raised This Month: $ Target: $400
 0% 

[HELP] Speed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 08-29-2012 , 22:12   Re: [HELP] Speed
Reply With Quote #3

Quote:
Originally Posted by Liverwiz View Post
speed resets with each weapon. Hook CurWeapon and set it there.
NO

PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>

#define PLUGIN "Reset MaxSpeed"
#define VERSION "1.0"
#define AUTHOR "[R]ak"

new Ham:Ham_Player_ResetMaxSpeed Ham_Item_PreFrame

new g_FreezeTime

public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_new_round""a""1=0""2=0")
    
    
register_logevent("logevent_round_start"2"1=Round_Start")
    
    
RegisterHam(Ham_Player_ResetMaxSpeed"player""fw_Player_ResetMaxSpeed"1)
}

public 
event_new_round()
    
g_FreezeTime true
    
public logevent_round_start()
    
g_FreezeTime false
    
public fw_Player_ResetMaxSpeed(id)
    if(!
g_FreezeTime)
        
set_user_maxspeed(id500.0
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
 



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 05:44.


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