Chat in GUI.
#5

What do you mean?

Like this?

pawn Код:
if(strcmp(cmdtext, "/sendmsg", true) == 0)
{
ShowPlayerDialog(playerid, 1337, DIALOG_STYLE_INPUT, "Send Message", "Input the message you wish to send", "Send", "Cancel");
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1337)
{
if(response)
{
SendPlayerMessageToAll(playerid, inputtext);
}
}
return 0;
}
Or what? I didnt understand your post
Reply


Messages In This Thread
Chat in GUI. - by W00Z - 24.06.2010, 10:45
Re: Chat in GUI. - by Zh3r0 - 24.06.2010, 10:47
Re: Chat in GUI. - by W00Z - 24.06.2010, 11:46
Re: Chat in GUI. - by ipsBruno - 24.06.2010, 14:16
Re: Chat in GUI. - by NewTorran - 24.06.2010, 14:19
Re: Chat in GUI. - by W00Z - 24.06.2010, 14:29
Re: Chat in GUI. - by Niixie - 24.06.2010, 14:31
Re: Chat in GUI. - by Hiddos - 24.06.2010, 14:31
Re: Chat in GUI. - by W00Z - 24.06.2010, 14:33
Re: Chat in GUI. - by playbox12 - 24.06.2010, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)