23.08.2014, 21:55
Whats wong with this?
Код:
if(strcmp(inputtext, "911") == 0) { //do something if inputtext 911 (police, ems etc.) } else { foreach(Player, i) { if(strcmp(PlayerInfo[i][pPhnumber], inputtext) == 0) { // do smoething } else { // number is not available } } }