13.02.2012, 16:27
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Available Commands!","/command1\n/command2\n/command3\n","OK","Cancel");// \n make new line
return 1;
}
return 0;
}