how I do to send a random number.
to a page with motd?
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <chatcolor>
public plugin_init() {
register_plugin("say top","1","mestre")
register_clcmd("say topY", "topY", 0, "zzz"); // Y = NUMBER
}
public top_Y(id,level,cid) {
new szNome[ 32 ];
get_user_name( id, szNome, 31 )
if (!cmd_access(id,level,cid,1))
return PLUGIN_CONTINUE
show_motd(id,"http://www.xxxx.com.xx/xxxx/xxx.php?top=Y", "TOP Y ( Y = NUMBER ) ")
client_print_color( 0, print_chat, "^3%s ^4topY ^1 rank xxx", szNome);
return PLUGIN_CONTINUE
}
__________________