View Single Post
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-15-2016 , 12:30   Re: TF2: Roll the Dice RTD - v0.4
Reply With Quote #1492

Quote:
Originally Posted by SHADoW NiNE TR3S View Post
Here's what i've been running.

Changes:
  • Ice ragdoll fix
  • Allowed all tf_projectile entities to be used for homing projectiles perk (no longer limited to arrows, rockets, flares).
  • Using this method instead of OnPlayerRunCmd for Freeze Perk to block input:
    Code:
    for(new slot=0;slot<=5;slot++)
    {
        new weapon=GetPlayerWeaponSlot(client, slot);
        if(weapon && IsValidEdict(weapon))
        {
            SetEntPropFloat(weapon, Prop_Send, "m_flNextPrimaryAttack", GetGameTime()+flDuration);
        }
    }
    SetEntPropFloat(client, Prop_Send, "m_flNextAttack", GetGameTime()+flDuration);
    if(TF2_GetPlayerClass(client)==TFClass_Spy)
    {
        SetEntPropFloat(client, Prop_Send, "m_flStealthNextChangeTime", GetGameTime()+flDuration);
    }
Wonderful, going to add this to my plugin. Thank you!
404UserNotFound is offline