http://forums.alliedmods.net/showthread.php?t=194451
a tu kawałek z tego
client_connect is called when the client connects to the server
client_putinserver is called a second or 2 before he sees the MOTD and is fully in
client_authorized is called when the client has gotten a SteamID
1 will always be first, but 2 and 3 can be in any order
tam dalej wspominają, że authorized jest niby pomiędzy. Możliwe, poczekaj zaraz sprawdzę u siebie
Edit, sprawdziłem i o to wynik:
"pluginmenu.amxx"
- >>>>>connect
L 10/16/2013 - 23:37:45: [admin.amxx] Login: "STRIKER--McPr0 :D<13><VALVE_ID_LOOPBACK><>" became an admin (account "loopback") (access "abcdefghijklmnopqrstu") (address "loopback")
- >>>>>authorized
* Privileges set
BUILD 3266 SERVER (0 CRC)
Server # 13
L 10/16/2013 - 23:37:46: [admin.amxx] Login: "STRIKER--McPr0 :D<13><VALVE_ID_LOOPBACK><>" became an admin (account "loopback") (access "abcdefghijklmnopqrstu") (address "loopback")
- >>>>>putinserver
STRIKER--McPr0 :D connected
Couldn't
a plugin:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public client_connect(id)
server_print("connect")
public client_putinserver(id)
server_print("putinserver")
public client_authorized(id)
server_print("authorized")
Wynik jest jednoznaczny, ja testuję na non-steamie, więc u mnie pobranie steam-id było zapewne krótsze. I dlatego authorized jest pomiędzy.