13.03.2014, 16:05
Well fine..
Try it now
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