Thread: [Solved] Total Kills of a team
View Single Post
shadow728988
Member
Join Date: Sep 2017
Old 06-13-2019 , 11:32   Re: Total Kills of a team
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
It's almost fine. You need to use a task to display the hud message(so it gets updated every time the variables change). So you should do something like set_task(1.0, "hudmessage", .flags = "b") in plugin_init. Also change the hudmessage hold time from 12.0 to something like 2.0(last param from set_dhudmessage).
Quote:
Originally Posted by thEsp View Post
Check if victim (Second param) is dead, or use Ham_Killed instead.
https://forums.alliedmods.net/showthread.php?t=190333
Code:
if(Team ==1 && attacker != victim)
What will this do coz i didn't understand much about ham_killed
shadow728988 is offline