GetPlayerName(playerid,PlayerInfo[playerid][pAdmName],sizeof(PlayerInfo[playerid][pAdmName]); if(strfind(PlayerInfo[playerid][pAdmName],"Insanity",true) != 1) { //Whatever here }