Filterscript for textbox
#6

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Use strcat, and ShowDialogForPlayer.

Example:
pawn Код:
CMD:help(playerid, params[])
{
    new string[125]; // change this to suit your needs.
    strcat(string, "Line 1\n", sizeof(string));
    strcat(string, "Line 2\n", sizeof(string));
    ShowDialogForPlayer(playerid, -1, DIALOG_STYLE_MSGBOX, "Messagebox Title", string, "", "");
    return 1;
}
And use SendClientMessage for chat messages.
Thanks, but I' confused here. I need to make the admin commands list only for levels 1 to 4, how do I do that?
And also, could you be a bit more specific on SendClientMessage? Sorry for being an ultra n00b. Thanks!
Reply


Messages In This Thread
Filterscript for textbox - by prantheking - 11.11.2014, 17:16
Re: Filterscript for textbox - by Blademaster680 - 11.11.2014, 22:20
Re: Filterscript for textbox - by prantheking - 12.11.2014, 14:38
Re: Filterscript for textbox - by prantheking - 15.11.2014, 20:47
Re: Filterscript for textbox - by Abagail - 15.11.2014, 20:51
Re: Filterscript for textbox - by prantheking - 17.11.2014, 06:00
Re: Filterscript for textbox - by OsteeN - 17.11.2014, 06:11
Re: Filterscript for textbox - by prantheking - 26.11.2014, 06:22
Re: Filterscript for textbox - by AnthonyTimmers - 26.11.2014, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)