Hello, this one shows no userid, why?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "uid"
#define VERSION "0.1"
#define AUTHOR "kkthx"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say uid","uid",1,"- Shows userid")
}
public uid(id) {
if(!is_user_connected(id)) {
return PLUGIN_HANDLED
}
client_print(id, print_chat,"-> %s", get_user_userid(id))
return PLUGIN_HANDLED
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1257\\ deff0\\ deflang1063{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/