13.01.2011, 05:17
I get 26 error's so i think i am missing a bracket or something.
note to the people that don't understand what i mean by the 26 error thing when you take a bracket out of your script it will give you 26 errors on spots that are right and have nothing to do with that piece of code.
Код:
if(dialogid == BUYLICENSE)
{
if(response == 1)
{
switch(listitem)
{
case 0:
{
{
if(PlayerInfo[playerid][plicencepoints] > 16)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* There's already a license registered in your name, you may not register another one!.");
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Congratulations! You've registered a license in the State of San Andreas, watch out while driving!.");
PlayerInfo[giveplayerid][pCarLic] = 1;
}
}
case 1:
{
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* None in stock!.");
}
}
case 2:
{
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* None in stock!.");
}
}
case 3:
{
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* None in stock!.");
}
}
}
}
}


.