Raised This Month: $ Target: $400
 0% 

Remove punchangle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ChillerX
Member
Join Date: Dec 2022
Old 01-15-2023 , 10:21   Remove punchangle
Reply With Quote #1

I am trying to remove punch angles but the screen animation is jumping up abruptly and forces no-recoil.

Code:
#include<amxmodx>
#include<engine>

public plugin_init(){
	register_event("CurWeapon","hook_curweapon","be","1=1","3>0") 
	register_plugin("No Punch","0.1beta","Chillblaze")
	register_cvar("no_punch", "1")
}

public hook_curweapon(id){
	if(get_cvar_num("no_punch"))
	{
		entity_set_vector (id,EV_VEC_punchangle,Float:{0.0,0.0,0.0})
	}
}
Can anybody fix it or offer similar plugin which won`t affect recoil or the animations?
ChillerX is offline
 



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:51.


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