[HELP] /buycomponent bug.
#2

Код:
if (strcmp("/buyrod", cmdtext, true, 10) == 0)
{
	if(IsPlayerInRangeOfPoint(playerid, 2, 387.8272,-1870.7032,7.8359)
	{
	    if(GetPlayerMoneyEx(playerid) >= 400)
		{
			if(FRod[playerid] == 0)
			{
			    GivePlayerMoney(playerid,-400);
				FRod[playerid] = 1;
				SendClientMessage(playerid,0xFFFFFFFF, "Fishing Rod {88AA88}Bought!");
				SendClientMessage(playerid,0xFFFFFFFF, "/TakeRod to Take it out!");
			}
		}
		else
		{
			SendClientMessage(playerid,COLOR_GREY,"You can't afford this.");
			return 1;
		}
	}
}
Try this.
Reply


Messages In This Thread
[HELP] DELETED - by Elanggg - 27.03.2014, 08:55
Re: [HELP] /buycomponent bug. - by SiraBots - 27.03.2014, 09:10
Re: [HELP] /buycomponent bug. - by Elanggg - 27.03.2014, 09:15
Re: [HELP] /buycomponent bug. - by Elanggg - 27.03.2014, 09:27
Re: [HELP] /buycomponent bug. - by Elanggg - 27.03.2014, 10:19
Re: [HELP] /buycomponent bug. - by SiraBots - 27.03.2014, 11:55

Forum Jump:


Users browsing this thread: 1 Guest(s)