diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 36cbd3f8..075a0ffd 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -42,7 +42,7 @@ stock cmd_target(id,const arg[],flags = 1) { } } else if ( ( player = find_player("c",arg) )==0 && arg[0]=='#' && arg[1] ) - player = find_player("k",strtonum(arg[1])) + player = find_player("k",str_to_num(arg[1])) if (!player) { console_print(id,"Client with that name or userid not found") return 0