Bei mir kommt dieser Error: C:\Users\Sören\Desktop\\German Gaming Reallife\gamemodes\SS.pwn(4376) : error 033: array must be indexed (variable "gPlayerLogged")
Mein Code in OnPlayerConnect:
if(IsPlayerNPC(playerid))
{
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid, botname, sizeof(botname));
if(!strcmp(botname, "LSPDBot1", true))
{
gPlayerLogged=1;
}
}