[HELP]DIALOG_STYLE_INPUT problem
#1

Hello! I am making dialog administration but i made mistake. If in dialog of kick i write "Hello" it kicks ID 0. What is the wrong?
Код:
if(!strlen(inputtext))
					{
					SendClientMessage(playerid,COLOR_RED,"You must type a number!");
          ShowPlayerDialog(playerid,303,DIALOG_STYLE_INPUT,"Kick","You must type the a number !\nType the ID to kick.","Select","Cancel");
					return 1;
					}
Reply
#2

Give us hole OnDialogRespone
Reply
#3

Quote:
Originally Posted by sushihusi
Hello! I am making dialog administration but i made mistake. If in dialog of kick i write "Hello" it kicks ID 0. What is the wrong?
Use IsNumeric..
Reply
#4

Quote:
Originally Posted by PlayON
Quote:
Originally Posted by sushihusi
Hello! I am making dialog administration but i made mistake. If in dialog of kick i write "Hello" it kicks ID 0. What is the wrong?
Use IsNumeric..
Ok THX man!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)