changed to str_to_num/num_to_str

This commit is contained in:
Felix Geyer 2004-03-08 17:18:34 +00:00
parent 57747fff55
commit 10a28dcde9

View File

@ -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