Biz Error
#1

When I'm compiling it I got this error

Quote:

(86337) : error 017: undefined symbol "bizid"
(86356) : error 017: undefined symbol "bizid"
(86372) : error 017: undefined symbol "bizid"
(8638 : error 017: undefined symbol "bizid"

Код:
	if(dialogid == SHOPMENU)
	{
		if(response)
		{
			if(listitem == 0)
			{
				if (GetPlayerCash(playerid) >= 50)
				{
					GivePlayerCash(playerid, -50);
					BizInfo[bizid][bMoney] += 50;
                	SaveBiz();
					GivePlayerValidWeapon(playerid, 10, 50);
					format(string, sizeof(string), "Purple dildo purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 1)
			{
				if (GetPlayerCash(playerid) >= 100)
				{
					GivePlayerValidWeapon(playerid, 11, 50);
					format(string, sizeof(string), "Short Vibrator purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -100);
					BizInfo[bizid][bMoney] += 100;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 2)
			{
				if (GetPlayerCash(playerid) >= 100)
				{
					GivePlayerValidWeapon(playerid, 12, 50);
					format(string, sizeof(string), "Long Vibrator purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -100);
					BizInfo[bizid][bMoney] += 100;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 3)
			{
				if (GetPlayerCash(playerid) >= 50)
				{
					GivePlayerValidWeapon(playerid, 13, 50);
					format(string, sizeof(string), "White Dildo purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -50);
					BizInfo[bizid][bMoney] += 50;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
		}
	}
	if(dialogid == SHOPMENU)
	{
	    new bizid;
		if(response)
		{
			if(listitem == 0)
			{
				if (GetPlayerCash(playerid) >= 50)
				{
					GivePlayerCash(playerid, -50);
					BizInfo[bizid][bMoney] += 50;
                	SaveBiz();
					GivePlayerValidWeapon(playerid, 10, 50);
					format(string, sizeof(string), "Purple dildo purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 1)
			{
				if (GetPlayerCash(playerid) >= 100)
				{
					GivePlayerValidWeapon(playerid, 11, 50);
					format(string, sizeof(string), "Short Vibrator purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -100);
					BizInfo[bizid][bMoney] += 100;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 2)
			{
				if (GetPlayerCash(playerid) >= 100)
				{
					GivePlayerValidWeapon(playerid, 12, 99999);
					format(string, sizeof(string), "Long Vibrator purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -100);
					BizInfo[bizid][bMoney] += 100;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
			if(listitem == 3)
			{
				if (GetPlayerCash(playerid) >= 50)
				{
					GivePlayerValidWeapon(playerid, 13, 99999);
					format(string, sizeof(string), "White Dildo purchased, you can now pleasure yourself.");
					SendClientMessageEx(playerid, COLOR_GRAD4, string);
					GivePlayerCash(playerid, -50);
					BizInfo[bizid][bMoney] += 50;
                	SaveBiz();
				}
				else
				{
					SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for this item!");
				}
			}
		}
	}
Reply


Messages In This Thread
Biz Error - by ValiLucifer - 05.11.2013, 06:50
Re: Biz Error - by ValiLucifer - 05.11.2013, 07:21
Re: Biz Error - by gotwarzone - 05.11.2013, 07:23
Re: Biz Error - by ValiLucifer - 05.11.2013, 07:39
Re: Biz Error - by SAMProductions - 05.11.2013, 10:21

Forum Jump:


Users browsing this thread: 1 Guest(s)