Hi.
The idea of plugin is:
say /invischat - Don't Look The Chat
say /viewchat - Look the chat
But if the player does not use the command /viewchat before leaving the server, in other servers don't look chat.
Is there a way that when they disconnect, disable /invischat ?
PHP Code:
/* Script generated by Pawn Studio */
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#define PLUGIN "Invis Chat"
#define AUTHOR "Drogocop"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd( "say /invischat", "ChatInvisible")
register_clcmd( "say /viewchat", "ChatVisible")
}
public ChatInvisible (id)
{
client_cmd( id, "hud_saytext_internal 0" )
client_print( id,print_console, "[IC] Now the chat is Invisible" )
}
public ChatVisible (id)
{
client_cmd( id, "hud_saytext_internal 1" )
client_print( id, print_chat, "[IC] Now the chat is Visible" )
}
Thanks for the Help
__________________