mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 05:45:36 +03:00
changed to str_to_num/num_to_str
This commit is contained in:
parent
57747fff55
commit
10a28dcde9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user