12.08.2010, 08:38
Hi everybody i'm trying to create a shop, anyway everything works except if you're not in the range, it does not deliver any text to the playerid, help! 

Код:
if(!strcmp(cmdtext, "/buydrink", true)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 2130.0635,-1761.0878,13.5625,172.1949)) 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; }