hey guys,
have an small question about an small plugin. Dont blame me, im a new coder
i only want to show, steamid and name
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "connect"
#define AUTHOR "mwebmedia"
#define VERSION "1.0"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public client_putinserver(id) {
new name[18]
new userid[18]
get_user_authid(id, userid, 17)
get_user_name(id, name, 17)
client_print(0, print_chat, "%s %d", userid, name);
return PLUGIN_CONTINUE
}
but it only shows the steamid and not the name, why?