loose indentation HELP
#4

Код:
CMD:remiums ( playerid )
{
	new c = 0, str[128];
	if ( PlayerInfo[playerid][LoggedIn] == 0 ) return SendClientMessage( playerid, -1, ""RED"ERROR: "GREY"You must be logged in!");
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
	if (IsPlayerConnected(i))
	{
	if (PlayerInfo[i][VIP] >= 1)
	{
	c++;
	if (c==1)
	{
	format(str, sizeof(str), ""REDORANGE"Premium member(s)/donators online:\n{%06x}%s(%d)\n", (GetPlayerColor(i) >>> , GetName(i), i);
	}
	if (c >=2)
	{
	format(str, sizeof(str), "\n%s{%06x}%s(%d)", str, (GetPlayerColor(i) >>> , GetName(i), i);
	}
	}
	}
	}
	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;
}
Reply


Messages In This Thread
loose indentation HELP FAST!!!! - by robibacsii - 10.12.2014, 18:14
Re: loose indentation HELP - by bogushas - 10.12.2014, 18:17
Re: loose indentation HELP - by robibacsii - 10.12.2014, 18:22
Re: loose indentation HELP - by Glossy42O - 10.12.2014, 18:24
Re: loose indentation HELP - by robibacsii - 10.12.2014, 18:52
Re: loose indentation HELP - by Schneider - 10.12.2014, 18:52
Re: loose indentation HELP - by robibacsii - 10.12.2014, 18:55
Re: loose indentation HELP - by Schneider - 10.12.2014, 18:58
Re: loose indentation HELP - by robibacsii - 10.12.2014, 19:07
Run time Error 19 HELP! - by robibacsii - 11.12.2014, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)