|
BANNED
|
01-15-2016
, 12:30
Re: TF2: Roll the Dice RTD - v0.4
|
#1492
|
Quote:
Originally Posted by SHADoW NiNE TR3S
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!
|
|
|
|