24.02.2013, 02:04
(
Последний раз редактировалось Noles2197; 24.02.2013 в 05:10.
)
Solved
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) // Answers: 2,1,3,1,2,3,1
{
if(dialogid == 3) //The same just like i did below
{
if(!response) return Kick(playerid);
if(response)
{
switch(listitem)
{
case 0:
{
}
case 1:
{
}
case 2:
{
}
}
}
return 1;
}
if(dialogid == 2)
{
if(!response) return Kick(playerid);
if(response)
{
switch(listitem)
{
case 0:
{
///me thinks about Allen's clothes.
}
case 1:
{
///me laughs at Allen's joke.
}
case 2:
{
//me punches Allen in the face
}
}
}
return 1;
}
}
if(dialogid == 2)
{
if(!response) return Kick(playerid);
if(response)
{
switch(listitem)
{
case 2:
{
ShowPlayerDialog(playerid,3,2, "What's a good example of a '/do'?{007F46} (2/7)", "/do My hair appears to be brown.\n/do Smiles at Jordan.\n/do Where is Cluckin' Bell?", "Select", "Cancel");
}
else Kick(playerid);
}
}
return 1;
}
ShowPlayerDialog(playerid, 0, 2, "Who is my gf", "Lady Gaga\nJustin Bieber\nNicki Minaj", "Choose", "Exit");
if(dialogid == 0)
{
switch(listitem)
{
case 0: //lady gaga
{
GameTextForPlayer(playerid, "~r~Wrong", 3000, 3);
Kick(playerid);
}
case 1: //justin bieber
{
GameTextForPlayer(playerid, "~g~Correct~n~~w~He is gay!", 4500, 3);
}
case 2: //Nicki Minaj
{
GameTextForPlayer(playerid, "~r~Wrong", 3000, 3);
Kick(playerid);
}
}
}
if(!response) return Kick(playerid);
if(response)
if(!response)
return Kick(playerid);