Command dont work..
#1

Why this command dont work, i try to refuel my vehicle, gives me that i dont have enough money. When i have the money it's show me the dialog i write in it liters and nothing happed. Please help.

Код:
if (!strcmp("/refuel",cmdtext,true,10)) {
 	    if(IsPlayerInRangeOfPoint(playerid, 10, 2149.8328,2748.2905,10.5474) && F1 >= 5 || IsPlayerInRangeOfPoint(playerid, 10, 1944.1652,-1769.8917,13.1157) && F2 >= 5  || IsPlayerInRangeOfPoint(playerid, 10, 2116.6611,922.4604,10.5474) && F3 >= 5  || IsPlayerInRangeOfPoint(playerid, 10, 2204.3835,2473.3994,10.5474) && F4 >= 5)
	    {
        if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFC800FF,"Ти не си в превозно средство!");
        ShowPlayerDialog(playerid,67,DIALOG_STYLE_INPUT,"Refuel","{FFFFFF}Трябва да натиснеш копчето 1{FF0000}\nза да добавиш 10л и така до 9","Презареди","Затвори");
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GRAD1, "Вие не сте до бензиностанция или няма бензин!");
		    return 1;
		}
		return 1;
	}
Reply


Messages In This Thread
Command dont work.. - by dundolina - 03.05.2015, 20:17
Re: Command dont work.. - by dundolina - 03.05.2015, 20:59
Re: Command dont work.. - by Konstantinos - 03.05.2015, 21:40
Re: Command dont work.. - by dundolina - 04.05.2015, 09:37
Re: Command dont work.. - by sammp - 04.05.2015, 11:51
Re: Command dont work.. - by dundolina - 04.05.2015, 12:27
Re: Command dont work.. - by dundolina - 04.05.2015, 14:05
Re: Command dont work.. - by dundolina - 04.05.2015, 20:21
Re: Command dont work.. - by dundolina - 05.05.2015, 12:32
Re: Command dont work.. - by dundolina - 11.05.2015, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)