12.01.2012, 17:23
Iawe Galera.. Tou com um Problema No Meu Comando /admins em Dialog, Seguinte.. Quando eu Digito /admin Nгo Aparece Nada Alguem Ajuda? Aki o Cod:
Me Ajudo? +REP
pawn Код:
if(strcmp(cmd, "/test", true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][cAdmin] >= 1 && PlayerInfo[i][cAdmin] < 10) // O variable tuya..
{
new stringcat[700];
format(msg, sizeof(msg), "Admin: %s | Level: %d", Name(i), PlayerInfo[i][cAdmin]);
ShowPlayerDialog(playerid, DialogComandos, DIALOG_STYLE_MSGBOX, "Comandos...", stringcat, "Ok", " ");
}
}
}
return 1;
}

