Need Help
#3

Код:
    if (c == 0) return SendClientMessage(playerid, -1, ""STEELBLUE"SERVER: There are no donators/premiums online.");
    ShowPlayerDialog(playerid, DIALOG_VIPS, DIALOG_STYLE_MSGBOX, ""RED"Premium/Donators Online:", str, "OK", "");
    return 1;
}
EDIT: From SAMP wiki
217: loose indentation

The compiler will issue this warning if the code indentation is 'loose', example:

Good:
Код:
if(condition)
{
    action();
    result();
}
Bad:
Код:
if(condition)
{
    action();
  result();
}
Indentation means to push (indent) text along from the left of the page (by pressing the TAB key). This is common practice in programming to make code easier to read. This warning also exists to avoid dangling-else problem.
Reply


Messages In This Thread
Need Help - by Jdt - 12.10.2014, 08:16
Re: Need Help - by Rudy_ - 12.10.2014, 08:22
Re: Need Help - by dominik523 - 12.10.2014, 08:25
Re: Need Help - by Jdt - 12.10.2014, 08:32
Re: Need Help - by Rudy_ - 12.10.2014, 08:41
Re: Need Help - by Jdt - 12.10.2014, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)