new name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, sizeof(name));if(!strcmp(name,"John_Slapper",true)){ // your stuff if the name is John_Slapper!}