19.10.2010, 17:44
como nгo jogo em RP nгo sei como funciona o do Bpf mais fiz um aqui que vocк pode editar e deixar do geito que desejar.
Onde vs de sejar !
Em Ondialogresponse
Onde vs de sejar !
pawn Код:
ShowPlayerDialog(playerid, 52826, DIALOG_STYLE_INPUT, "Anuncio", "Texto ?", "Anunciar", "Sair");
Em Ondialogresponse
pawn Код:
if(dialogid == 52826)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(!response) return 0;
new Anuncio[128];
format(Anuncio, sizeof(Anuncio), "%s Anunciou: %s",name, inputtext);
SendClientMessageToAll(0xFFFFFFFF, Anuncio);
return 1;
}