Raised This Month: $ Target: $400
 0% 

Ts Team Movement Speed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 05-25-2015 , 21:27   Re: Ts Team Movement Speed
Reply With Quote #2

not tested
PHP Code:
#include <amxmodx>
#include <fun>
#include <cstrike>
#include <hamsandwich>

#define Ham_CS_Player_ResetMaxSpeed Ham_Item_PreFrame
#define MAXSPEED 300.0

public plugin_init()
    
RegisterHam(Ham_CS_Player_ResetMaxSpeed"player""fwd_setspeed"1)

public 
fwd_setspeed(id)
    if(
is_user_alive(id) && cs_get_user_team(id) == CS_TEAM_T && get_user_maxspeed != 1.0)
        
set_user_maxspeed(idMAXSPEED
__________________
Shiina.Mashiro 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 20:12.


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