Inputtext empty condition
#1

how to make if inputtext are blank server return that..

I try in my ways but doesn't work fine..

Код:
if(strlen(inputtext) < 1)
		{
 		   	SCM(playerid, COLOR_GREY,"Eror");
			return 1;
		}
Код:
if(strfind(inputtext, "", true) != -1)return  SCM(playerid, COLOR_GREY, "Eror");
Код:
if(!response)
{
    SCM(playerid, COLOR_GREY,"Eror");
    return 1;
}
Also i try with sscanf but if are emty server say him eror, but if i type something again server say eror..

All of these not work i need if the imputtext emty server return that and send him message with eror.
Reply


Messages In This Thread
Inputtext empty condition - by bigboy81 - 05.03.2015, 22:47
Re: Inputtext empty condition - by SickAttack - 06.03.2015, 00:10
Re: Inputtext empty condition - by bigboy81 - 06.03.2015, 01:32
Respuesta: Inputtext empty condition - by JuanStone - 06.03.2015, 02:04
Re: Respuesta: Inputtext empty condition - by bigboy81 - 06.03.2015, 02:33
Respuesta: Inputtext empty condition - by JuanStone - 06.03.2015, 02:44
Re: Inputtext empty condition - by SickAttack - 06.03.2015, 03:11
Re: Respuesta: Inputtext empty condition - by bigboy81 - 06.03.2015, 12:23
Re: Respuesta: Inputtext empty condition - by CalvinC - 06.03.2015, 12:27
Re: Respuesta: Inputtext empty condition - by bigboy81 - 06.03.2015, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)