SA-MP Forums Archive
Help about dialogs - 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)
+--- Thread: Help about dialogs (/showthread.php?tid=632252)



Help about dialogs - LazzyBoy - 11.04.2017

Okay so now i made a random thing , a string with 8 cells so and after that i saved 8 numbers into that string and showed it into a dialog and asked the player to write the required codes the one in string but when a player for example doesnt put required codes it wont do anything like reshow the dialog or send a message please help me out heres the code

this how i checked if he did write the numbers in inputdialog

https://pastebin.com/SHxkBKnv

if u need whole script let me know please.


Re: Help about dialogs - AndreiWow - 11.04.2017

So your code is

PHP код:
if(!strcmp(wnumbersinputtextfalse8))
    {
     
SendClientMessage(playerid,COLOR_GREEN"You have broken into the security system , go collect your money"); 
Did you try to add an else to it? And show the dialog in that else...