24.02.2013, 02:44
You doing it wrong.
It must be like this
It must be like this
pawn Код:
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;
}
}