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

Block Player Airblast Force


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NeonHeights
Member
Join Date: Dec 2012
Old 04-09-2015 , 19:24   Block Player Airblast Force
Reply With Quote #1

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
__________________

Last edited by NeonHeights; 04-09-2015 at 19:24.
NeonHeights is offline
Civiccod PRO
Member
Join Date: Nov 2012
Old 04-10-2015 , 02:53   Re: Block Player Airblast Force
Reply With Quote #2

I see you have found that from a post from 2012, lol.

Maybe this can help you: https://forums.alliedmods.net/showpo...&postcount=119

Just a little research does the job
__________________
Available for private plugins at request.

Contact Me
Civiccod PRO is offline
NeonHeights
Member
Join Date: Dec 2012
Old 04-10-2015 , 10:38   Re: Block Player Airblast Force
Reply With Quote #3

Quote:
Originally Posted by Civiccod PRO View Post
I see you have found that from a post from 2012, lol.

Maybe this can help you: https://forums.alliedmods.net/showpo...&postcount=119

Just a little research does the job
Yep, see the issue is im trying to make this feature a command that is only usable for certain players. The link you sent disables airblast force for all players on the server. Ideally, the command would make it so whoever uses it cannot be airblasted by an enemy pyro.
__________________
NeonHeights 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 12:02.


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