Hallo Leute ich habe ein problem könnt ihr mir Helfen bitte
if (strcmp(cmd, "/admins", true) == 0 strcmp(cmd, "/supporter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, GRÜN, "Admins & Supporter:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[pSupporter] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Supporter: %s Nummer: %d",sendername,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[pSupporter] == 2)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Supporter: %s Nummer: %d",sendername,PlayerInfo[pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Moderator: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 2)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Moderator: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 3)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Administrator: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 4)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Admin/Eventleiter: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 1337)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Administrator: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 1338)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Administrator: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[i][pAdmin] == 2000)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"stelv.Projektleiter: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_GOLD, string);
}
if(PlayerInfo[i][pAdmin] == 2001)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"stelv.Projektleiter: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
if(PlayerInfo[i][pAdmin] == 2002)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string,sizeof(string),"Projektleiter: %s Nummer: %d",sendername,PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
}
}
return 1;
}
so und das sin die Fehler
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(666) : error 035: argument type mismatch (argument 1)
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(671) : warning 217: loose indentation
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(675) : error 017: undefined symbol "PlayerInfo"
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(675) : warning 215: expression has no effect
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(675) : error 001: expected token: ";", but found "]"
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(675) : error 029: invalid expression, assumed zero
C:\Users\Jeremias Benedikt\Desktop\SaCITY MySQL\SaCITY MySQL\gamemodes\SaCITYmysql.pwn(675) : fatal error 107: too many error messages on one line[/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i][/i]