AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Client accuracy (https://forums.alliedmods.net/showthread.php?t=95998)

Sngz 06-29-2009 15:45

Client accuracy
 
Hello,

How to calculate the player's accuracy? There is a function client_hit, but there is nothing like the client_shot. Because I'd like to Hits / Shots quotient.

Thnx.

Owyn 06-29-2009 15:52

Re: Client accuracy
 
i think client_hit is the player damage where attacker is your client, look at stats plugins, they calculate accuracy

minimiller 06-29-2009 15:54

Re: Client accuracy
 
i guess Ham_Weapon_PrimaryAttack and Ham_TakeDamage are the best for what u need

SchlumPF* 06-29-2009 17:24

Re: Client accuracy
 
Ham_Weapon_PrimaryAttack + Ham_Weapon_SecondaryAttack (knife)

Sngz 06-30-2009 05:48

Re: Client accuracy
 
Thank you alot, I love this forum :)


All times are GMT -4. The time now is 15:41.

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