I'm trying to make a 'no-retry' plugin, but some players said they get kicked while they are connecting, or after they are connected.
PHP Code:
new g_Ready[33]
public client_putinserver(id)
{
if(!is_user_bot(id))
{
g_Ready[id] += 1
new Name[32]
get_user_name(id, Name, 31)
if(g_Ready[id] > 2)
{
server_cmd("kick %s", Name)
}
}
return PLUGIN_HANDLED
}