from the convo on AIM just try this
Code:
#include <amxmodx>
#include <amxmisc>
public plugin_init() {
register_plugin("Rates Management","0.1b","ThantiK")
register_clcmd("say /rate","check_respond")
register_clcmd("say_team /rate","check_respond")
}
public check_respond(id) {
// new plindex
new ping
new loss
get_user_ping(id, ping, loss)
if ((ping > 0)&& (ping < 40)){
client_cmd(id,"Say Hi, I'm using the rate command! 0-40 ping!")
}
if ((ping > 40)&& (ping < 80)){
client_cmd(id,"Say Hi, I'm using the rate command! 40-80 ping!")
}
if ((ping > 80)&& (ping < 130)){
client_cmd(id,"Say Hi, I'm using the rate command! 80-130 ping!")
}
return PLUGIN_CONTINUE
}
__________________