08.03.2012, 03:16
All the command does is show the dialog.
pawn Код:
COMMAND:cshop(playerid, params[])
{
if(PlayerInfo[playerid][pCookies]>=2)
{
ShowPlayerDialog(playerid, 255, DIALOG_STYLE_LIST, "Cookies Shop.", "Temporary VIP Package. Lasts 15 minutes. (5 Cookies)", "Accept", "Exit");
}
else SendClientMessage(playerid, COLOR_BRIGHTRED, "You need at least 2 cookies to open the Cookies Shop.");
return 1;
}


