Inputtext empty condition
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
pawn Код:
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
Example:
pawn Код:
if(isnull(inputtext)) return SendClientMessage(playerid, -1, "Inputted text is null.")
else return SendClientMessage(playerid, -1, "Inputted text isn't null.")
I have defined isnull already..
I try with
Код:
if(isnull(inputtext)) return SendClientMessage(playerid, -1, "Inputted text is null.")
not work
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)