if (strcmp(cmd, "/admins", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_GRAD2, "|____ LS-RP-Gamers Administrator Online ____|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
{
new admtext[64];
if(PlayerInfo[i][pAdmin] == 1338) { admtext = "ServerOwner"; }
else if(PlayerInfo[i][pAdmin] == 1337) { admtext = "SuperAdmin"; }
else if(PlayerInfo[i][pAdmin] == 4) { admtext = "Administrator"; }
else if(PlayerInfo[i][pAdmin] == 3) { admtext = "SuperModerator"; }
else if(PlayerInfo[i][pAdmin] == 2) { admtext = "Moderator"; }
else if(PlayerInfo[i][pAdmin] == 1) { admtext = "Supporter"; }
else { admtext = "Supporter"; }
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "%s: %s TelefonNr.: %d", admtext, sendername, PlayerInfo[i][pPnumber]);
SendClientMessage(playerid, COLOR_WHITE, string);
}
}
}
}
return 1;
}
Schaut ma hier ich hab folgendes Problem wen ich ingame /admins mache wird aufeinmal jeder spieler als Supporter angezeigt