Could anybody help with coding for disabling air blast knockback? Im trying to remove knockback for my dodgeball server but am having issues.
The below code no longer works to stop knockback and ive tried a number of other things with no success
Quote:
new Float:Vel[3];
TeleportEntity(object, NULL_VECTOR, NULL_VECTOR, Vel); // Stops knockback
TF2_RemoveCondition(object, TFCond_Dazed); // Stops slowdown
SetEntPropVector(object, Prop_Send, "m_vecPunchAngle", Vel);
SetEntPropVector(object, Prop_Send, "m_vecPunchAngleVel", Vel); // Stops screen shake
|
__________________