19.03.2011, 17:31
Still get those errors
if(strcmp(cmd, "/newbie", true) == 0 || strcmp(cmd, "/n", true) == 0)
{
{ the top bracket only seems to go down to }
return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/n)ewbie [newbie chat]");
}
I still get the same 26 errors.
Tested using notepad ++
Код:
if(strcmp(cmd, "/newbie", true) == 0 || strcmp(cmd, "/n", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) } return SendClientMessage( playerid, WHITE, "You haven`t logged in yet." ); { if(PlayerInfo[playerid][pTut] == 0) } return Kick( playerid ); { if((nonewbie) && PlayerInfo[playerid][pAdmin] < 3) } return SendClientMessage( playerid, COLOR_GREY, "The Newbie channel has been disabled by an Admin !" ); { if(PlayerInfo[playerid][pNewbieMuted] == 1) } return SendClientMessage(playerid, COLOR_GREY, "You are banned from speaking in that channel !" ); { if( UseNewbieTimer[playerid] == true ) return SendClientMessage(playerid,COLOR_GREY,"You must wait 50 seconds before speaking in that channel !" ); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[96]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) } return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/n)ewbie [newbie chat]"); } if(PlayerInfo[playerid][pLevel] > 1 && PlayerInfo[playerid][pAdmin] <= 1 && PlayerInfo[playerid][pHelper] <= 0) format(string, sizeof(string), "** Player %s: %s", sendername, result); else if(PlayerInfo[playerid][pAdmin] >= 2) format(string, sizeof(string), "** Admin %s: %s", sendername, result); else if(PlayerInfo[playerid][pHelper] >= 2) format(string, sizeof(string), "** Head Helper %s: %s", sendername, result); else if(PlayerInfo[playerid][pDonateRank] >= 1) format(string, sizeof(string), "** VIP ** %s: %s", sendername, result); else if(PlayerInfo[playerid][pHelper] == 1) format(string, sizeof(string), "** Helper %s: %s", sendername, result); else format(string, sizeof(string), "** Newbie %s: %s", sendername, result); OOCNewbie( NEWBIE_COLOR, string ); if(PlayerInfo[playerid][pAdmin] <= 1 && PlayerInfo[playerid][pHelper] <= 1) { UseNewbieTimer[playerid] = true; SetTimerEx("UseNewbie",50*1000,0,"i",playerid); } } } }
{
{ the top bracket only seems to go down to }
return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/n)ewbie [newbie chat]");
}
I still get the same 26 errors.
Tested using notepad ++