if(!strcmp(tmp, "Los Santos")){ //Do shit}else if(!strcmp(tmp, "San Fierro")){ //Do shit}else if(!strcmp(tmp, "Las Venturas")){ //Do shit}