Sziasztok nem tudom hogy lehetne ezt kijavítani?
Script:
if(strcmp(cmd, \"/e\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 7 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 9 || PlayerInfo[playerid][pLeader] == 4 || PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][szervLeader] == 2 || PlayerInfo[playerid][szervLeader] == 5 || PlayerInfo[playerid][szervLeader] == 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= \' \'))
{
idx++;
}
new offset = idx;
new result[80];
new nev[32];
GetPlayerName(playerid, nev, sizeof(nev));
new h,mi,s,y,m,d;
getdate(y,m,d);
gettime(h,mi,s);
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_WHITE, \"Szerver: /e [szöveg]\");
return 1;
}
new seged2n[50];
if(PlayerInfo[playerid][pLeader] == 10) format(seged2, sizeof(seged2n), \"*xyyyy1\");
else if(PlayerInfo[playerid][pLeader] == 5) format(seged2, sizeof(seged2n), \"*xyyyy2\");
else if(PlayerInfo[playerid][pLeader] == 6) format(seged2, sizeof(seged2n), \"*xyyyy3\");
else if(PlayerInfo[playerid][pLeader] == 9) format(seged2, sizeof(seged2n), \"*xyyyy4\");
else if(PlayerInfo[playerid][pLeader] == 4) format(seged2, sizeof(seged2n), \"*xyyyy5\");
else if(PlayerInfo[playerid][pLeader] == 17) format(seged2, sizeof(seged2n), \"*xyyyyg6\");
else if(PlayerInfo[playerid][pLeader] == 7) format(seged2, sizeof(seged2n), \"*xyyyyr7\");
else if(PlayerInfo[playerid][pLeader] == 2) format(seged2, sizeof(seged2n), \"*xyyyy8\");
else if(PlayerInfo[playerid][pLeader] == 18) format(seged2, sizeof(seged2n), \"*xyyyy9\");
else if(PlayerInfo[playerid][pLeader] == 1) format(seged2, sizeof(seged2n), \"*xyyyy10\");
format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d][Frakció Vezetõ Rádió] %s: %s\",y,m,d,h,mi,s,nev,result);
LoOoG(stringx);
format(string, sizeof(string), \"%s %s: %s\",seged2n, sendername, result);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[pLeader] == 10 || PlayerInfo[pLeader] == 5 || PlayerInfo[pLeader] == 7 || PlayerInfo[pLeader] == 6 || PlayerInfo[pLeader] == 9 || PlayerInfo[pLeader] == 4 || PlayerInfo[pLeader] == 17 || PlayerInfo[pLeader] == 1 || PlayerInfo[pLeader] == 2 || PlayerInfo[pLeader] == 18 || PlayerInfo[szervLeader] == 2 || PlayerInfo[szervLeader] == 5 || PlayerInfo[szervLeader] == 4)
{
if(PlayerInfo[pLeader] == 10 || PlayerInfo[pLeader] == 5 || PlayerInfo[pLeader] == 7 || PlayerInfo[pLeader] == 6 || PlayerInfo[pLeader] == 9 || PlayerInfo[pLeader] == 4 || PlayerInfo[pLeader] == 17 || PlayerInfo[pLeader] == 1 || PlayerInfo[pLeader] == 2 || PlayerInfo[pLeader] == 18 || PlayerInfo[szervLeader] == 2 || PlayerInfo[szervLeader] == 5 || PlayerInfo[szervLeader] == 4)
{
SendClientMessage(i, 0xde4040AA, string);
}
}
}
}
format(stringx, sizeof(stringx), \"Valaki mondja((RÁDIÓ)): %s\", result);
ProxDetector(15.0, playerid, stringx,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
else SendClientMessage(playerid,COLOR_GRAD2, \"Nincs frakcióvezetõi rádiód!\");
}
else SendClientMessage(playerid,COLOR_GRAD2, \"Nincs frakcióvezetõi rádiód!\");
return 1;
}
Error:
D:\\(44524) : error 075: input line too long (after substitutions)
D:\\(44525) : error 017: undefined symbol \"SzervLeade\"
D:\\(44526) : error 017: undefined symbol \"r\"
D:\\(44526) : error 029: invalid expression, assumed zero
D:\\(44526) : error 029: invalid expression, assumed zero
D:\\(44526) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2001, ITB CompuPhase
6 Errors.