new path[128]; format(path,sizeof(path),"Your directory/%s.ini",tmp); if(fexists(path))return SendClientMessage(playerid,-1,"This name is taken.. try again!");
Change Your Directory to where you are storing their files and change .ini to the extention required.