Quote:
Originally Posted by ConnorMcLeod
- If you let TakeDamage enabled all the time, then remove the task system it is useless, use gametime instead.
- You can't detect hegrenade with your code
- If you also want to prevent blood from appearing, you have to hook TraceAttack
It could be usefull to have a specific time for each weapon, even if i don't really see the utility of this plugin ;)
|
Changed to TraceAttack + used get_gametime. I also added he grenade support. Not sure what you meant by the last comment though. Could you please clarify? Thanks.
Quote:
Originally Posted by xPaw
- You never check if iFile is not zero.
- You don't need to read file after you just created it.
|
Done.
Quote:
Originally Posted by ConnorMcLeod
Also, compare attacker index with get_maxplayers value instead of MAX_PLAYERS.
|
Done.
__________________