Hey was hier falsch ?
Error :
(6828 ) : error 017: undefined symbol "Hide"
(6828 ) : warning 215: expression has no effect
(6828 ) : error 001: expected token: ";", but found "]"
(6828 ) : error 029: invalid expression, assumed zero
(6828 ) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeilen :
if (!strcmp("/admins",cmdtext,true))
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, grün, "|____ Administrator Online ____|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Spieler[playerid][Admin] < 1 && Hide[i] == 0) // <---------------------Error Zeile
{
new admtext[64];
if(PlayerInfo[i][pAdmin] == 2) { admtext = "Projektleitung"; }
else if(PlayerInfo[i][pAdmin] == 1) { admtext = "Administrator"; }
GetPlayerName(i, sendername, sizeof(sendername));
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
}
}
return 1;
}
return 0;
}
hoffe ihr könn helfen , danke