29.09.2012, 07:42
Yet
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/drink", true)==0) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Pepsi cola ($1)\nCoke ($2)\nBeer($3)", "Purchase", "Cancel"); return 1; } return 0; }