SA-MP Forums Archive
[HELP]DIALOG_STYLE_INPUT problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]DIALOG_STYLE_INPUT problem (/showthread.php?tid=148002)



[HELP]DIALOG_STYLE_INPUT problem - sushihusi - 15.05.2010

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;
					}



Re: [HELP]DIALOG_STYLE_INPUT problem - DarkPower - 15.05.2010

Give us hole OnDialogRespone


Re: [HELP]DIALOG_STYLE_INPUT problem - Zh3r0 - 15.05.2010

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..


Re: [HELP]DIALOG_STYLE_INPUT problem - sushihusi - 15.05.2010

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!