30.01.2011, 15:50
Код:
case CODE: { if(!response) { //Cancel return 1; } if(!strlen(inputtext)) { // Didn't insert anything return 1; } new CODE = strlen(inputtext), MYCODE = strlen(pInfo[playerid][pCode]) ; if(CODE != MYCODE) { SendClientMessage(playerid, -1, "Wrong code"); } else { SendClientMessage(playerid, -1, "Right code"); } }