mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +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] )
|
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) {
|
if (!player) {
|
||||||
console_print(id,"Client with that name or userid not found")
|
console_print(id,"Client with that name or userid not found")
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user