Dialog text
#4

Well fine..

pawn Код:
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/test", true))
{
    new str[500];
    format(str,sizeof(str),"{FF0000}/stats sdfsdfsdf\n");
        format(str,sizeof(str),"{00FF00}/buylevel\n");
        format(str,sizeof(str),"{0000FF}/buyhouse\n");
    ShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"WHATEVER",str,"OK","");

    return 1;
}
    return 1;
}

#endif
Try it now
Reply


Messages In This Thread
Dialog text - by AlexandreRangelMamut - 13.03.2014, 15:29
Re: Dialog text - by Matess - 13.03.2014, 15:35
Re: Dialog text - by AlexandreRangelMamut - 13.03.2014, 16:02
Re: Dialog text - by Matess - 13.03.2014, 16:05
Re: Dialog text - by AlexandreRangelMamut - 13.03.2014, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)