26.11.2010, 23:41
Hey, I want to create a dialog that will be a input style dialog, I need help with the OnDialogResponce stuff.
I have done this already for the command.
If you could make the OnDialogResponce for me I would be glad, What i want it to do is the message that they type in the box to be sent to everyone on the server in the chat without there name infront, just the news.
- Gavin
I have done this already for the command.
pawn Код:
COMMAND:news(playerid, params[])
{
if(isnewsreporter[playerid])
{
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "News", "Type the news in the box.", "Submit", "Cancel");
}
else SendClientMessage(playerid, 0xff0000ff, "ERROR: You are not a News Reporter");
return 1;
}
- Gavin