Chat in GUI.
#1

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.
Reply
#2

Yes use that then make a string and send it to all with SendClientMessageToAll
Reply
#3

I have a ready code?
Reply
#4

My Friend Russso Created FS like,but not yet public...

is quite easy but time consuming
Reply
#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
#6

Forgive me but I know little English.

This is what it was Thanks man.

A block can chat?
Reply
#7

A block can chat? You mean a bot?

Yes, if you code it
Reply
#8

I think he means a muted dude.
Reply
#9

And I have some code to block the chat?
Reply
#10

He means (I guess) how to block the chat, for one guy, or multiple
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)