07.07.2012, 12:25
pawn Код:
if(strcmp(cmdtext, "/bolsafamilia", true) == 0)
{
if(PlayerInfo[playerid][pLider] != 7)
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й o Prefeito !");
return true;
}
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Escolha o valor da Bolsa Familia.");
ShowPlayerDialog(playerid,369874123, DIALOG_STYLE_INPUT,"Bolsa Familia","Coloque o valor da Bolsa Familia","Pagar","Cancelar");
return 1;
}
Certo:
pawn Код:
if(strcmp(cmdtext, "/bolsafamilia", true) == 0)
{
if(PlayerInfo[playerid][pLider] != 7)
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo й o Prefeito !");
return true;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Escolha o valor da Bolsa Familia.");
ShowPlayerDialog(playerid,369874123, DIALOG_STYLE_INPUT,"Bolsa Familia","Coloque o valor da Bolsa Familia","Pagar","Cancelar");
}
return 1;
}
Falto o else