26.03.2012, 22:25
Your indentation is correct. Maybe that's what the warnings are.
Try this:
Rep me if it works.
Try this:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 0)
{
if(response)
{
SendClientMessage(playerid,0x008000FF, "You have clicked 'OK' In the dialog. Remember to /viphelp1 to see the commands again!");
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "You selected 'Cancel'!");
}
return 1;
}
}
return 0;
}