Quote:
|
Originally Posted by v3x
Quote:
|
Originally Posted by amxx.cfg ftw
// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 0.75
|
|
What does chat flood have to do with alias detection?
BTW, that plugin above would block every alias no matter what it does if it even works.
Correct me if I'm wrong, but I believe it wouldn't really work.....
Because an alias can start like this and then it doesn't directly use the alias command, but instead a +command action.
Code:
bind "x" "+hack"
alias +hack "say I hack"
alias -hack "say I dont hack"
To tell you the truth, why not just use a get_user_info command?
Code:
new arg[32], arg2[32]
read_argv(1,arg,31)
read_argv(2,arg2,31)
new target = cmd_target(id,arg,1)
if(!target) return PLUGIN_HANDLED
new command[32]
format(command,"bind %s",arg2)
new bind_x[32]
get_user_info(target,command,bind_x,31)
client_print(id,print_console,"Targets Key: %s",binx_x)
return PLUGIN_HANDLED
Would that not work?
__________________