Cole seu gamemode nesse site: 
http://ipsteam.atwebpages.com e coloque para analisar.
Ele irб verificar se possui chaves abertas porйm nгo fechadas e vice-versa, isso й уtimo para analisar algo quando se tem preguiзa ou entгo quando й um cуdigo grande, que provavelmente й o seu caso.
Caso precise de mais alguma ajuda, basta pedir aqui.
Um exemplo da utilizaзгo de chaves й esse:
PHP код:
public OnPlayerText(playerid, text[])
{ // -1
    if(nгosei)
    { // -2
        if(PlayerTaOn[playerid] == 0)
        { // -3
            SendClientMessage(playerid, UMACORLEGAL, "Vocк nгo estб logado. USE: /entrar.");
            return false;
          } // -3
           format(string, sizeof(string), "%s falou: %s", NomePlayer(playerid), text);
         SendClientMessageInRange(35.0, playerid, string,COR1,COR2,COR3,COR4,COR5);
           SetPlayerChatBubble(playerid, text, BRANQUINHO, 35.0, 10000);
        } // oque estou fazendo aqui
    } // -2
    return false;
} // -1