06.09.2010, 18:05
Код:
if(!strcmp(cmdtext, "/drinks", true))
{
if(IsPlayerInRangeOfPoint(playerid, 10, X,Y,Z)) // replace X,Y,Z, with the co-ordinates u want
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What is it that you want?", "Sprunk ($1)\nBeer ($2)\nWine ($3)", "Purchase", "Cancel");
}
return 1;
}

