22.03.2009, 12:55
Still, you can use ReturnUser..
pawn Код:
if(!strcmp(cmd,"/kick",true))
{
new cmd[128];
cmd=strtok(cmdtext,idx);
if(!strlen(cmd))
return SendClientMessage(playerid,color,"usage: /kick [id]");
new id=ReturnUser(cmd);
if(!IsPlayerConnected(id))
return SendClientMessage(playerid,color,"invalid playerid");
return Kick(id);
}