Hey Leute was geht,
Hier ist der ....,
Ehm...
Ich hab ein fehler und hab auch schon danach gegoogelt.
und hab es immer noch nicht raus,
daroum frage ich euch was das heißt,
was ich machen muss.
Der Error
C:\Users\Dennis\Desktop\D3nnis\BBS\gamemodes\bRP.pwn(36744) : error 029: invalid expression, assumed zero
Die Text Stelle:
if(strcmp("/admins", cmd, true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] == 0)
{
SendClientMessage(playerid, COLOR_GREY, "Admins Online:");
for(new i = 0; i < MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if(PlayerInfo[i][pAdmin] >= 1 && AFKModus[i] == 0){
if(PlayerInfo[i][pAdmin] != 0 && PlayerInfo[i][pAdmin] < 2001){
new AdminRangName[25];
if(PlayerInfo[i][pAdmin] == -1){AdminRangName = "Beschwerdemoderator";}
if(PlayerInfo[i][pAdmin] == 1){AdminRangName = "Supporter";}
if(PlayerInfo[i][pAdmin] == 2){AdminRangName = "Supp/Moderator";}
if(PlayerInfo[i][pAdmin] == 3){AdminRangName = "Moderator";}
if(PlayerInfo[i][pAdmin] == 4){AdminRangName = "SupperModerator";}
if(PlayerInfo[i][pAdmin] == 1337){AdminRangName = "Admin";}
if(PlayerInfo[i][pAdmin] == 1338){AdminRangName = "SupperAdmin";}
if(PlayerInfo[i][pAdmin] == 1339{AdminRangName = "Projektleiter";} //Die ZEILE "36744
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "%s: %s", AdminRangName, sendername);
SendClientMessage(playerid, COLOR_GREY, string);
}}}}}
else if(PlayerInfo[playerid][pAdmin] != 0){
SendClientMessage(playerid, COLOR_GREY, "Admins Online:");
for(new i = 0; i < MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if(PlayerInfo[i][pAdmin] != 0 && PlayerInfo[i][pAdmin] != 2001){
GetPlayerName(i, sendername, sizeof(sendername));
format(string, sizeof(string), "Admin: [%d]%s (%d)", i, sendername, PlayerInfo[i][pAdmin]);
SendClientMessage(playerid, COLOR_GREY, string);
}}}}}
return 1;
}