Raised This Month: $ Target: $400
 0% 

block leave message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cola
Junior Member
Join Date: Apr 2004
Old 02-12-2007 , 19:42   block leave message
Reply With Quote #1

how to block leave message

ex:
"- Cola left the game"


Code:
public client_disconnect(id){
  return PLUGIN_HANDLED;
}
i try this , but don't work...

some one help me ..thx
__________________
cola is offline
Ryu2877
Member
Join Date: Sep 2006
Location: China
Old 02-13-2007 , 00:48   Re: block leave message
Reply With Quote #2

this message must send by one of your plugins, find it & modify some code or search config file.
Ryu2877 is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 02-13-2007 , 01:13   Re: block leave message
Reply With Quote #3

Code:
#include <amxmodx> #define PLUGIN "Test" #define VERSION "1.0" #define AUTHOR "Jim" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         register_event("TextMsg", "event_textmsg", "a", "2=#Game_disconnected") } public event_textmsg() {         return PLUGIN_HANDLED }
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
cola
Junior Member
Join Date: Apr 2004
Old 02-14-2007 , 02:16   Re: block leave message
Reply With Quote #4

Quote:
Originally Posted by jim_yang View Post
Code:
#include <amxmodx> #define PLUGIN "Test" #define VERSION "1.0" #define AUTHOR "Jim" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         register_event("TextMsg", "event_textmsg", "a", "2=#Game_disconnected") } public event_textmsg() {         return PLUGIN_HANDLED }
don't work ... T_T
i try in Natural Selection
__________________
cola 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 00:42.


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