if(dialogid == DIALOG_DUTY)
{
switch(listitem)
{
case 0:
{
// removed to prevent copiers
}
case 1:
{
// removed to prevent copiers
}
}
if(dialogid == DIALOG_DUTY1)
{
switch(listitem)
{
case 0:
{
if(OnDuty[playerid] == 0)
{
// removed to prevent copiers
}
else if(OnDuty[playerid] == 1)
{
// removed to prevent copiersFirefighter");
}
}
case 1:
{
if(OnDuty[playerid] == 0)
{
// removed to prevent copiers
}
else if(OnDuty[playerid] == 1)
{
// removed to prevent copiers
}
}
}
if(dialogid == DIALOG_DUTY2)
{
switch(listitem)
{
case 0:
{
// removed to prevent copiers
}
case 1:
{
// removed to prevent copiers
}
}
if(dialogid == DIALOG_DUTY3)
{
switch(listitem)
{
case 0:
{
//
}
}
if(dialogid == DIALOG_DUTY4)
{
switch(listitem)
{
case 0:
{
//
}
}
}
return 1;
}
I get errors, and missing bracket finder says there is missing brackets, but the lines are incorrect
|
if(dialogid == DIALOG_DUTY)
{
switch(listitem)
{
case 0:
{
// removed to prevent copiers
}
case 1:
{
// removed to prevent copiers
}
}
}
if(dialogid == DIALOG_DUTY1)
{
switch(listitem)
{
case 0:
{
if(OnDuty[playerid] == 0)
{
// removed to prevent copiers
}
else if(OnDuty[playerid] == 1)
{
// removed to prevent copiersFirefighter");
}
}
case 1:
{
if(OnDuty[playerid] == 0)
{
// removed to prevent copiers
}
else if(OnDuty[playerid] == 1)
{
// removed to prevent copiers
}
}
}
}
if(dialogid == DIALOG_DUTY2)
{
switch(listitem)
{
case 0:
{
// removed to prevent copiers
}
case 1:
{
// removed to prevent copiers
}
}
}
if(dialogid == DIALOG_DUTY3)
{
switch(listitem)
{
case 0:
{
//
}
}
}
if(dialogid == DIALOG_DUTY4)
{
switch(listitem)
{
case 0:
{
//
}
}
}
return 1;
}
lol.. you are missing a closing bracket } for every if(dialogid..
|
I get errors, and missing bracket finder says there is missing brackets, but the lines are incorrect
|
Nope, here add me on steam, Camman616 or add my MSN rockingcamman@live.com, and maybe u can help me with it
|