Raised This Month: $ Target: $400
 0% 

Solved Total Kills of a team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-13-2019 , 11:02   Re: Total Kills of a team
Reply With Quote #1

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).
__________________
HamletEagle is offline
shadow728988
Member
Join Date: Sep 2017
Old 06-13-2019 , 11:11   Re: Total Kills of a team
Reply With Quote #2

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).
I was testing this and when i change team from ct to t it increments +1 to ct..what to do about this?

Add a victim condition too if so how?

Last edited by shadow728988; 06-13-2019 at 11:12. Reason: Typo
shadow728988 is offline
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 17:23.


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