|
(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!");
}
}
}
}
I will reps who will help me. Thanks in advance!
|
Hmmmm? Anyone
I will reps who will help me. Thanks in advance! ![]() |
new bizid;
new bizid;[MAX_PLAYERS]
|
Код:
new bizid; Код:
new bizid;[MAX_PLAYERS] |
(769) : error 010: invalid function or declaration (37073) : warning 219: local variable "bizid" shadows a variable at a preceding level (37227) : warning 219: local variable "bizid" shadows a variable at a preceding level (84063) : warning 219: local variable "bizid" shadows a variable at a preceding level (84348) : warning 219: local variable "bizid" shadows a variable at a preceding level (85427) : warning 219: local variable "bizid" shadows a variable at a preceding level (85603) : warning 219: local variable "bizid" shadows a variable at a preceding level (85906) : warning 219: local variable "bizid" shadows a variable at a preceding level (86332) : warning 219: local variable "bizid" shadows a variable at a preceding level (86403) : warning 219: local variable "bizid" shadows a variable at a preceding level (91832) : warning 219: local variable "bizid" shadows a variable at a preceding level (91846) : warning 219: local variable "bizid" shadows a variable at a preceding level (94945) : warning 203: symbol is never used: "bizid"
enum bizInfo
{
bizid
}
new BizInfo[MAX_BIZ][bizInfo];
new BizInfo[MAX_BIZ][bizInfo];