Player disconnected - HUD message for Admins only
Hello.
I am looking for just a plugin that lets Admins only know via a HUD message when a player disconnects from the server. I know i can see it in the config but during gameplay its often nice not to constantly press the tab(scoreboard). thanks in advance! |
Re: Player disconnected - HUD message for Admins only
Quote:
PHP Code:
|
Re: Player disconnected - HUD message for Admins only
In what particular reason you're using the loop?
You simply don't need to loop the players just check whether the id ( 1st parameter in client_disconnect ) is an admin. |
Re: Player disconnected - HUD message for Admins only
Quote:
Quote:
|
Re: Player disconnected - HUD message for Admins only
Alright then add the flags "ch" to exclude bots and HLTV clients to get_players.
|
Re: Player disconnected - HUD message for Admins only
Quote:
|
Re: Player disconnected - HUD message for Admins only
I tried it and sadly it didnt work.
Thanks again. |
Re: Player disconnected - HUD message for Admins only
I thought it, It's not possible to create a loop inside 'client disconnected' function, Try this:
PHP Code:
|
Re: Player disconnected - HUD message for Admins only
I don't think you need a fixed task for that.
PHP Code:
|
Re: Player disconnected - HUD message for Admins only
1 Attachment(s)
Quote:
it works! the HUD message is in the middle and in a green to quickly spot. :) Approve this plugin!!!! :up: --many thanks to Supremache and Koz for the assistance! |
| All times are GMT -4. The time now is 10:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.