Raised This Month: $51 Target: $400
 12% 

[CSS] Remove Damage Slowdown


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fragkiller
Member
Join Date: Jun 2012
Old 01-26-2019 , 12:22   [CSS] Remove Damage Slowdown
Reply With Quote #1

How to remove the damage slowdown in CS:S?

I saw theres a cvar for CS:GO like mp_tagging_scale, but how for CS:S?
Fragkiller is offline
farawayf
Senior Member
Join Date: Jan 2019
Old 01-26-2019 , 13:27   Re: [CSS] Remove Damage Slowdown
Reply With Quote #2

PHP Code:
public OnPluginStart()
{    
    
HookEvent("player_hurt"playerhurtEventHookMode_Pre);
}    

public 
Action:playerhurt((Handle:event, const String:name[],bool:dontBroadcast)
{
    for (
int client 1client <= MaxClientsclient++) 
    {
        if (
IsClientInGame(client) && IsPlayerAlive(client)) 
        {
            if (
GetEntPropFloat(clientProp_Send"m_flVelocityModifier") < 1.0SetEntPropFloat(clientProp_Send"m_flVelocityModifier"1.0);
        }
    }
    return 
Plugin_Continue;    

upd.
sorry, i wrote without checking

Last edited by farawayf; 01-26-2019 at 13:59.
farawayf 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 00:54.


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