Raised This Month: $ Target: $400
 0% 

About knife rate


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-25-2010 , 05:39   Re: About knife rate
Reply With Quote #1

The same as TR_flFraction, the distance between 2 points, 0.0 to 1.0. 0.5 would mean the trace have traveled the half. UTIL_WeaponTimeBase is the same as get_gametime(), but since the weapons are client-side, it should be 0.
__________________
Arkshine is offline
epic .
Senior Member
Join Date: Oct 2009
Location: China
Old 05-25-2010 , 05:41   Re: About knife rate
Reply With Quote #2

Quote:
Originally Posted by Arkshine View Post
The same as TR_flFraction, the distance between 2 points, 0.0 to 1.0. 0.5 would mean the trace have traveled the half. UTIL_WeaponTimeBase is the same as get_gametime(), but since the weapons are client-side, it should be 0.
You are wonderful !!
Thanks

So, if I change the "amx_knife_attack1_rate" and "amx_knife_attack2_rate" to "0.35" & "0.5" it will knife with default speed when no shield?
Code:
g_pCvarPrimaryAttackRate = register_cvar("amx_knife_attack1_rate", "0.15")
g_pCvarSecondaryAttackRate = register_cvar("amx_knife_attack2_rate", "0.30")
__________________
Quote:
Destinies in my AWP sight are all alike;
Destinies out of my AWP sight in its own way.

Last edited by epic .; 05-25-2010 at 05:47.
epic . is offline
Send a message via ICQ to epic .
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 05:17.


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