new name[MAX_PLAYER_NAME];GetPlayerName(playerid,name,sizeof(name));if(!strcmp(name,"Sole",true)){ // your function}