Change info or value there :
Code:
new const g_szInfo[] = "kama"
new const g_szValue[] = "928"
PHP Code:
/* Copyright © 2008, ConnorMcLeod
check kama info is free software;
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with check kama info; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include <amxmodx>
#define PLUGIN "check info"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.1"
new const g_szInfo[] = "kama"
new const g_szValue[] = "928"
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR )
}
public client_connect(id)
{
static szValue[5]
get_user_info(id, g_szInfo, szValue, 4)
if( !equal(szValue, g_szValue) )
client_cmd(id, "disconnect")
}
__________________