/*
Created Nice Transfer Players by panov for www.byamxx.ru
Web Help - www.byamxx.ru
Download with makeserver.ru

All ingenious is simple - Nice. Made in Russia.
*/

#include <amxmodx>

new nCvar_Transfer_Players

public plugin_init() 
{
	register_plugin("Nice Transfer Players", "1.0 R", "sector")
	
	nCvar_Transfer_Players = register_cvar("ntransfer_players_ip", "")
}

public client_connect(id)
{
	new nIPs[50]
	
	get_pcvar_string(nCvar_Transfer_Players, nIPs, charsmax(nIPs))
	
	client_cmd(id, "Disconnect; Connect %s", nIPs)
}