if(strcmp(inputtext, randomzznr, true) == 1)return ShowPlayerDialog(playerid,1002,DIALOG_STYLE_INPUT,"Business rob",strings,"Continue","");// Checks if the inputtext returns the word; hi
{
randomstr(randomzznr);
format(strings,sizeof(strings),"---Step 3---\nWrite The following in order to continue\n\n%s",randomzznr);
ShowPlayerDialog(playerid,1003,DIALOG_STYLE_INPUT,"Drug Production",strings,"Continue","");
return 1;
}
}
|
Код:
if(strcmp(inputtext, randomzznr, true) == 1)return ShowPlayerDialog(playerid,1002,DIALOG_STYLE_INPUT,"Business rob",strings,"Continue","");// Checks if the inputtext returns the word; hi
{
randomstr(randomzznr);
format(strings,sizeof(strings),"---Step 3---\nWrite The following in order to continue\n\n%s",randomzznr);
ShowPlayerDialog(playerid,1003,DIALOG_STYLE_INPUT,"Drug Production",strings,"Continue","");
return 1;
}
}
|
if(dialogid == 1003)
{
new strings[300];
if(strcmp(inputtext, randomzznr, true) == 0)//; hi
{
SendClientMessage(playerid, -1,"You've broken into the biz");
return 1;
}
}
if(dialogid == 1002)
{
new strings[300];
if(strcmp(inputtext, randomzznr, true) == 0)//s if the inputtext returns the word; hi
{
randomstr(randomzznr);
format(strings,sizeof(strings),"---Step 3---\nWrite The following in order to continue\n\n%s",randomzznr);
ShowPlayerDialog(playerid,1003,DIALOG_STYLE_INPUT,"testing",strings,"Continue","");
return 1;
}
}
if(dialogid == 1001)
{
new strings[300];
if(strcmp(inputtext, randomzznr, true) == 0)// Checks if the inputtext returns the word; hi
{
randomstr(randomzznr);
format(strings,sizeof(strings),"---Step 2---\nWrite The following in order to continue\n\n%s",randomzznr);
ShowPlayerDialog(playerid,1002,DIALOG_STYLE_INPUT,"testing",strings,"Continue","");
return 1;
}
}
|
Код:
if(strcmp(inputtext, randomzznr, true) == 1)return ShowPlayerDialog(playerid,1002,DIALOG_STYLE_INPUT,"Business rob",strings,"Continue","");// Checks if the inputtext returns the word; hi
{
randomstr(randomzznr);
format(strings,sizeof(strings),"---Step 3---\nWrite The following in order to continue\n\n%s",randomzznr);
ShowPlayerDialog(playerid,1003,DIALOG_STYLE_INPUT,"Drug Production",strings,"Continue","");
return 1;
}
}
|