Raised This Month: $ Target: $400
 0% 

player dropped.amxx ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 09-24-2006 , 07:16   player dropped.amxx ?
Reply With Quote #1

Hi i want to know if there is an Plugin out there that shows you via HUDMESSAGE if a player dropped during connecting to the Server.. Ok the console shows that...but it would be nice if this could be combined with a sound, so you as an Admin could realize during the game how many people dropped <<for different reasons>>
(to many prechaches ,etc)

The Plugin should show a coloured Hudmessage for the Admins like:
<< Player XXX dropped the Server
and play a Sound that (only if its possible) could only be heard by an Admin

Please Help me further
__________________

Last edited by NemesisDelta; 09-24-2006 at 07:44.
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
umarsa
Senior Member
Join Date: Feb 2006
Location: U.K
Old 09-24-2006 , 07:38   Re: player dropped.amxx ?
Reply With Quote #2

It only has a few like "Client Sent Drop" and "Reliablle Channel Overflowed"
__________________
umarsa is offline
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 09-24-2006 , 07:57   Re: player dropped.amxx ?
Reply With Quote #3

??? it? what do you mean with <<IT>>
__________________
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 09-24-2006 , 08:21   Re: player dropped.amxx ?
Reply With Quote #4

this is not the plugin u wanted.. But this says only player <XXX> dropped the server.. (disconnect)..
Attached Files
File Type: sma Get Plugin or Get Source (connect_announce.sma - 717 views - 2.1 KB)
__________________
[X]-RayCat is offline
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 09-24-2006 , 08:35   Re: player dropped.amxx ?
Reply With Quote #5

thx, will test it soon...
__________________
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
umarsa
Senior Member
Join Date: Feb 2006
Location: U.K
Old 09-24-2006 , 10:10   Re: player dropped.amxx ?
Reply With Quote #6

Quote:
Originally Posted by NemesisDelta View Post
??? it? what do you mean with <<IT>>
#define IT "The Server"
__________________
umarsa is offline
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 09-24-2006 , 11:02   Re: player dropped.amxx ?
Reply With Quote #7

Quote:
Originally Posted by [X]-RayCat View Post
this is not the plugin u wanted.. But this says only player <XXX> dropped the server.. (disconnect)..
But theres connect 2..
Player <XXX> connected u can remove it..
__________________
[X]-RayCat is offline
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 09-24-2006 , 11:11   Re: player dropped.amxx ?
Reply With Quote #8

it dont show me if a player droppes the server....it only shows me an connecting player and plays a soud...no disconnect...no dropping
__________________
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
[X]-RayCat
Senior Member
Join Date: Sep 2006
Old 09-24-2006 , 15:11   Re: player dropped.amxx ?
Reply With Quote #9

public client_disconnect(id)
{
new iMode = get_cvar_num("announce_mode");

if(is_user_bot(id) || iMode == 0 || iMode == 1)
return PLUGIN_CONTINUE;
new szUserName[33];
get_user_name(id, szUserName, 32);
new iPlayers[32], iNum, i;
get_players(iPlayers, iNum);
for(i = 0; i <= iNum; i++)
{
new x = iPlayers[i];
if(!is_user_connected(x) || is_user_bot(x)) continue;
if(get_cvar_num("connect_sound") == 1)
client_cmd(x, "spk %s", g_szSoundFile);
new szMessage[164];
format(szMessage, 163, "Player^x04%s Dropped the server", szUserName);
message_begin( MSG_ONE, g_iMsgSayText, {0,0,0}, x );
write_byte ( 3 );
write_string( szMessage );
message_end ();
}
return PLUGIN_CONTINUE;
}




Yes it does i did test it..
Attached Files
File Type: sma Get Plugin or Get Source (connect_announce.sma - 692 views - 2.1 KB)
__________________

Last edited by [X]-RayCat; 09-24-2006 at 15:17.
[X]-RayCat 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 11:25.


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