[NEED HELP]Set spical area to work command
#4

i do it in this code

Код:
    if (strcmp(cmdtext, "/Refull", true, 10) == 0)
   {

    if(IsPlayerInRangeOfPoint(playerid, 8.0, 1937.8898, -1769.1318, 13.3828))
    {
        ShowPlayerDialog(playerid,2, DIALOG_STYLE_LIST, "Choose Amount","big tank 100%(20$) \nMedium tank 50%(10$) \nSmall tank 20%(5$)","BUY","Cancel");
    }
        else
        {
        SendClientMessage(playerid, -1, "You must stay on "COLOR_YELLOW_EMBED"Gas Station"COLOR_WHITE_EMBED"to refull");
        return 1;
        }
    }
	return 0;
}
it work but when i type refull on gas station first spot wrong command
but after it i see my dialog about full
whats prob?
Reply


Messages In This Thread
[FIXED]Set spical area to work command - by 5002 - 18.06.2013, 12:30
Re: [NEED HELP]Set spical area to work command - by Red_Dragon. - 18.06.2013, 12:43
Re: [NEED HELP]Set spical area to work command - by 5002 - 18.06.2013, 15:39
Re: [NEED HELP]Set spical area to work command - by 5002 - 18.06.2013, 15:58
Re: [NEED HELP]Set spical area to work command - by 5002 - 18.06.2013, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)