AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   block leave message (https://forums.alliedmods.net/showthread.php?t=51166)

cola 02-12-2007 19:42

block leave message
 
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 :D

Ryu2877 02-13-2007 00:48

Re: block leave message
 
this message must send by one of your plugins, find it & modify some code or search config file.

jim_yang 02-13-2007 01:13

Re: block leave message
 
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 }

cola 02-14-2007 02:16

Re: block leave message
 
Quote:

Originally Posted by jim_yang (Post 439393)
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


All times are GMT -4. The time now is 00:42.

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