public OnPlayerText(playerid, text[]) { if(sPlayerLogado[playerid] == 0) { SendClientMessage(playerid, 0xFF0000FF, "Precisa logar pra usar comandos!"); return 0; } }