18.08.2012, 19:12
Use neste estilo:
pawn Код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/organizacoes", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
if(admtrampando[playerid] < 0 && PlayerInfo[playerid][pAdmin] != 0 && PlayerInfo[playerid][pAdmin] != 0 && PlayerInfo[playerid][pAdmin] != 0)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/administrar)");
return 1;
}
format(string, sizeof(string), "{828282}Nє1 {FF8C00}Policia Militar: {828282}%s\n", InfoOrg[1][Lider]);
ShowPlayerDialog(playerid,IDDIALOG,DIALOG_STYLE_MSGBOX,"Orgs do Servidor:",string,"Fechar","");
}
}
return 1;
}