Trying to create drink shop.
#3

After the IF is a {-bracket missin.

Код:
if(!strcmp(cmdtext, "/buydrink", true))
{
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 2130.0635,-1761.0878,13.5625,172.1949))
{ // this was missing...
    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "What drink do you want?", "Sprunk ($1)\nBeer ($2)\nWine ($3)", "Purchase", "Cancel");
 }
    else
{
    SendClientMessage(playerid,red,"You are not near the liquor store!");
    }
   return 1;
}
Reply


Messages In This Thread
Trying to create drink shop. - by Chrillzen - 12.08.2010, 08:38
Re: Trying to create drink shop. - by FireCat - 12.08.2010, 08:43
Re: Trying to create drink shop. - by r0b - 12.08.2010, 08:45
Re: Trying to create drink shop. - by Chrillzen - 12.08.2010, 08:50
Re: Trying to create drink shop. - by Chrillzen - 12.08.2010, 08:53

Forum Jump:


Users browsing this thread: 1 Guest(s)