Chat in GUI. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Chat in GUI. (
/showthread.php?tid=156828)
Chat in GUI. -
W00Z - 24.06.2010
Hi! I could ask for the code ready to chat in a GUI? This is what I'll put the DIALOG_STYLE_INPUT sent to the chat.
Re: Chat in GUI. -
Zh3r0 - 24.06.2010
Yes use that then make a string and send it to all with SendClientMessageToAll
Re: Chat in GUI. -
W00Z - 24.06.2010
I have a ready code?
Re: Chat in GUI. -
ipsBruno - 24.06.2010
My Friend Russso Created FS like,but not yet public...
is quite easy but time consuming
Re: Chat in GUI. -
NewTorran - 24.06.2010
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
Re: Chat in GUI. -
W00Z - 24.06.2010
Forgive me but I know little English.
This is what it was

Thanks man.
A block can chat?
Re: Chat in GUI. -
Niixie - 24.06.2010
A block can chat? You mean a bot?
Yes, if you code it
Re: Chat in GUI. -
Hiddos - 24.06.2010
I think he means a muted dude.
Re: Chat in GUI. -
W00Z - 24.06.2010
And I have some code to block the chat?
Re: Chat in GUI. -
playbox12 - 24.06.2010
He means (I guess) how to block the chat, for one guy, or multiple