02.08.2013, 18:04
vc esta usando zcmd?
se nao estiver usando e tiver usando strcmp aqui tem:
se nao estiver usando e tiver usando strcmp aqui tem:
pawn Код:
if(strcmp(cmdtext,"/teste", true) == 0)
{
if(admtrampando[playerid] >= 1 || IsPlayerAdmin(playerid))
{
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"admin","COMANDOS DE ADM","OK","FECHAR");
}
else
{
SendClientMessage(playerid, 0xFF0000AA, "Nao es admin.");
}
return 1;
}