Hi,
Ich hab mal einen gemacht....
Aber, er funktionniert nicht
4 Errors
4x
error 029: invalid expression, assumed zero
dcmd_admins(playerid,params[])
{
SendClientMessage(playerid, rot, "***Admins Online:");
new string[128];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][admin]==1 || if(PlayerInfo[i][admin]==2 || if(PlayerInfo[i][admin]==3 || //hier
if(PlayerInfo[i][admin]==4 ||if(PlayerInfo[i][admin]==5 || IsPlayerAdmin(i)) //hier
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 128, " %s ", sendername);
SendClientMessage(playerid, rot, string);
}
}
}
}
return 1;
}
Weiß jemand den Fehler?
Mfg.