Raised This Month: $51 Target: $400
 12% 

[REQUEST] Plugin say how much players are alive in T and CT side


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 10:48   [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #1

Hello, I would like to know where I can find a plugin like the one below! That says how many players are alive from the T side and CT side

Image: prntscr.com/ghrvlo
FreezerPT is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-12-2017 , 13:11   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #2

Untested

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         set_task(5.0, "ShowAlivePlayers") } public ShowAlivePlayers() {     new ctPlayers[32], ctNum     get_players(ctPlayers, ctNum, "ae", "CT")         set_hudmessage(0, 0, 255, 0.56, 0.07, 0, 6.0, 3.0)     show_hudmessage(0, "[CT]: %i", ctNum)             new tPlayers[32], tNum     get_players(tPlayers, tNum, "ae", "TERRORIST")         set_hudmessage(255, 0, 0, 0.56, 0.15, 0, 6.0, 3.0)     show_hudmessage(0, "[TR]: %i", tNum)         set_task(3.0, "ShowAlivePlayers") }
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 13:38   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #3

[QUOTE=Napoleon_be;2548431]Untested


Hello, thank you in advance for the help! He is only showing how many [TR] are alive, does not show the [CT] and would like to know to give to take the part in which he is always appearing and disappearing, to blink, that is to always be fixed and something else is the position but that I change!
FreezerPT is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 09-12-2017 , 14:03   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #4

Should be fixed now

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         set_task(5.0, "ShowAlivePlayers") } public ShowAlivePlayers() {     new ctPlayers[32], ctNum     get_players(ctPlayers, ctNum, "ae", "CT")         set_hudmessage(0, 0, 255, 0.56, 0.07, 0, 6.0, 3.1, 0.0, 0.0, -1)     show_hudmessage(0, "[CT]: %i", ctNum)             new tPlayers[32], tNum     get_players(tPlayers, tNum, "ae", "TERRORIST")         set_hudmessage(255, 0, 0, 0.56, 0.15, 0, 6.0, 3.1, 0.0, 0.0, -1)     show_hudmessage(0, "[TR]: %i", tNum)         set_task(3.0, "ShowAlivePlayers") }
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 14:35   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #5

Now the ct side appears, but they keep blinking! Usually flashes from when the hud messages but these and even appears disappears appears disappears, but should not give to solve! But thanks anyway!
FreezerPT is offline
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 09-12-2017 , 14:43   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #6

it takes about 3 sec to update.
not sure but try to change

PHP Code:
set_task(3.0"ShowAlivePlayers")


PHP Code:
set_task(1.0"ShowAlivePlayers")

EDIT: second task.
__________________

Last edited by Ayman Khaled; 09-12-2017 at 15:02.
Ayman Khaled is offline
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 14:48   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #7

[QUOTE=Ayman Khaled;2548455]it take about 3 sec to update.
not sure but try to change

And this task?

PHP Code:
set_task(5.0"ShowAlivePlayers")

FreezerPT is offline
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 14:49   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #8

[QUOTE=Napoleon_be;2548444]Should be fixed now

Now the ct side appears, but they keep blinking! Usually flashes from when the hud messages but these and even appears disappears appears disappears, but should not give to solve! But thanks anyway!
FreezerPT is offline
FreezerPT
Senior Member
Join Date: Mar 2017
Location: 127.0.0.1
Old 09-12-2017 , 14:51   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #9

[QUOTE=Ayman Khaled;2548455]it take about 3 sec to update.
not sure but try to change

Thanx bro
FreezerPT is offline
Old 09-12-2017, 15:06
Relaxing
This message has been deleted by Relaxing.
blanko
Senior Member
Join Date: Aug 2008
Old 09-15-2017 , 19:51   Re: [REQUEST] Plugin say how much players are alive in T and CT side
Reply With Quote #10

CT: ok, even respawn works.
T: shows a permanent 0 (zero)
__________________
blanko 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 10:10.


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