[Pedido] Dialog
#3

pawn Код:
stock Rg(playerid)
{
    new pNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pNome, sizeof(pNome));
    new stringdados[300], stringcat[300], stringtitulo[60];
    strcat(stringcat, "================================================\n");
    format(StringDados, sizeof(StringDados),"Lider: [%s] Id Organizaзгo [%d]\nMembro: [%s] Id Organizaзгo: [%d]\nProfissгo:[%s] Id Profissгo: [%d]", Org(playerid), PlayerDados[playerid][pLider], Org(playerid), PlayerDados[playerid][pMembro], Profs(playerid), PlayerDados[playerid][pProfissao]);
    format(stringtitulo, sizeof(stringtitulo), "Status De %s", pNome);
    strcat(stringcat, StringDados);
    strcat(stringcat, "================================================\n");
    ShowPlayerDialog(playerid, IDDODIALOG, DIALOG_STYLE_MSGBOX, stringtitulo, stringcat, "Ok", "Cancelar");
    return 1;
}
Observaзгo: Altere "IDDODIALOG" para um ID de sua preferкncia, e nгo esqueзa do OnDialogResponse.

Abraзos.
Reply


Messages In This Thread
[Pedido] Dialog - by Caio_Freeze - 25.04.2012, 02:05
Respuesta: [Ajuda/Pedido] Dialog - by leosivi - 25.04.2012, 02:12
Re: [Ajuda/Pedido] Dialog - by Lуs - 25.04.2012, 02:14
Re: [Ajuda/Pedido] Dialog - by Caio_Freeze - 25.04.2012, 02:26
Re: [Ajuda/Pedido] Dialog - by zbt - 25.04.2012, 02:27
Re: [Ajuda/Pedido] Dialog - by Lucas_Alemao - 25.04.2012, 02:31
Re: [Ajuda/Pedido] Dialog - by Lуs - 25.04.2012, 02:37
Re: [Ajuda/Pedido] Dialog - by Caio_Freeze - 25.04.2012, 02:38
Re: [Ajuda/Pedido] Dialog - by Lуs - 25.04.2012, 02:39
Re: [Ajuda/Pedido] Dialog - by Caio_Freeze - 25.04.2012, 02:41

Forum Jump:


Users browsing this thread: 1 Guest(s)