Closed ish12321 closed 7 years ago
Take a look at .inc files most of them has it description. Other than that ask the developers :)
Ok! However, is there anyone who could show me how to make a plugin that kicks players who gets STEAM_ID_LAN or VALVE_ID_LAN players
#include <amxmodx>
public plugin_init()
register_plugin("asd", "asd", "asd");
public client_authorized(id, const authid[])
{
if (equal(authid, "STEAM_ID_LAN") || equal(authid, "VALVE_ID_LAN"))
server_cmd("kick #%d", get_user_userid(id));
}
Don't know much But shouldn't we use this enum client_auth_type { CA_TYPE_NONE = 0, CA_TYPE_DPROTO, CA_TYPE_STEAM, CA_TYPE_STEAMEMU, CA_TYPE_REVEMU, CA_TYPE_OLDREVEMU, CA_TYPE_HLTV, CA_TYPE_SC2009, CA_TYPE_AVSMP, CA_TYPE_SXEI, CA_TYPE_REVEMU2013, CA_TYPE_SSE3, };
The CA_TYPE_NONE
What's the point of making an amxx plugin just to kick these players?
You already used reunion on server, you can deprecated these players by setting in reunion.cfg
Really ... :O How ? o.O
@ish12321 Open reunion.cfg and read this:
# ========================================================
# AUTHID MANAGEMENT
# ========================================================
# ClientID types (for cid_* options)
# 1: Real (or generated by HW) steam (STEAM_xx:xx:xx)
# 2: Real (or generated by HW) valve (VALVE_xx:xx:xx)
# 3: STEAM_ by IP
# 4: VALVE_ by IP
# 5: Deprecated - client will be rejected
# 6: reserved for future use
# 7: HLTV
# 8: STEAM_ID_LAN
# 9: STEAM_ID_PENDING
# 10: VALVE_ID_LAN
# 11: VALVE_ID_PENDING
# 12: STEAM_666:88:666
# Use these options to set authid's for clients
5: Deprecated - client will be rejected
Hello I'm thinking to make my AMXMODx plugins to use reAPI as I'd heard that reAPI is faster So any place where I can learn it ?