/buybizz command ?
#1

Код:
CMD:buybizz(playerid,params[])
{
	if(IsPlayerConnected(playerid))
	{
		for(new mID = 0; mID <= MAX_BIZZ; mID++)
		{
	  		if(PlayerInPoint(playerid, 2.0, BizzInfo[mID][bPickupX], BizzInfo[mID][bPickupY], BizzInfo[mID][bPickupZ]))
			{
			BizzInfo[mID][bOwned] = 1;
			format(BizzInfo[mID][bOwner], sizeof(stri), "%s", GetName(playerid));
			SendClientMessage(playerid, -1, "You bought bizz);
			}
		}
	}
	return 1;
}
Problem is that this returns as 0, so it is wrong command, but command goes true.
Reply


Messages In This Thread
/buybizz command ? - by NewbBeginner - 16.02.2011, 17:31
Re: /buybizz command ? - by UDV Production - 16.02.2011, 17:39
Re: /buybizz command ? - by NewbBeginner - 16.02.2011, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)