28.08.2012, 01:08
assim?
pawn Код:
Teste(playerid)
{
for(new x; x < 5; ++x)
{
if(!strcmp(Clan[x], "Nenhum", true))
{
new teste[128];
format(teste, sizeof(teste), "Slot clan %d liberado", x);
MsgToPlayer(teste);
break;
}
if(x == 4) //ULTIMO numero do loop
MsgToPlayer("ERROR: Nada liberado '-'");
}
}