Hello, im trying to fix some bugs with voteban, because i want to make baning player with amx_banip #userid

but then i try, it says what user not found...
Bug of banning with amx bans amx_banip name is when my name is one letter like: A, B or AB, other player sometimes has equal letters in they nicks. so i prefer banning with userid, who's different
PHP Code:
public ActualBan(Selected)
{
new banned1 = get_user_userid(gi_Sellection) //getting variable "banned player userid :)"
already = 1 //some bug fix with vote system, dont care
new Type = get_pcvar_num(gi_BanType) //ban type: all same, because i dont use other :)
switch(Type)
{
case 1:
server_cmd("amx_banip #%s %s %s", banned1, get_pcvar_num(gi_BanTime), get_pcvar_num(gi_Reason))
case 2:
server_cmd("amx_banip #%s %s %s", banned1, get_pcvar_num(gi_BanTime), get_pcvar_num(gi_Reason))
default:
server_cmd("amx_banip #%s %s %s", banned1, get_pcvar_num(gi_BanTime), get_pcvar_num(gi_Reason))
}
return 0
}
Whats the problem? I cant understand :/