[Ajuda] Colocar em DIALOG
#2

Quote:
Originally Posted by lucas3366
View Post
Como faзo pra transformar em DIALOG_STYLE_MSGBOX ?

Code:

if(strcmp("/rg", cmd, true) == 0)
{
new string222[256];

format(string222, sizeof(string222), "......:::::: - %s: [ID: %d] - ::::::.....", GetPlayerNameEx(playerid), playerid);
SendClientMessage(playerid, -1, string222);

format(string, sizeof(string), "{CCFF00}» EXP: %d/%d {00BFFF}» Grana na Mгo: $%d", PlayerInfo[playerid][_EXP], MAX_PLAYER_EXP, GetPlayerGrana(playerid));
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{00BFFF}» Level: %d/%d {00FF00}» Saldo Bancбrio: $%d", PlayerInfo[playerid][_Level], MAX_PLAYER_LEVEL, PlayerInfo[playerid][_SaldoBancario]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{CCFF00}» Estudo: %d/%d {00BFFF}» Casou Com: %s", PlayerInfo[playerid][_Faculdade], MAX_PLAYER_ESTUDO, PlayerInfo[playerid][_CasouCom]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{00BFFF}» Profissгo ID: %d {00FF00}» Skin ID: %d", PlayerInfo[playerid][_Profissao], PlayerInfo[playerid][_Skin]);
SendClientMessage(playerid, -1, string);

format(string, sizeof(string), "{CCFF00}» Matou: %d {00BFFF}» Morreu: %d", matou[playerid], morreu[playerid]);
SendClientMessage(playerid, -1, string);

SendClientMessage(playerid, -1, string222);
return 1;
}
Code:
if(strcmp("/rg", cmd, true) == 0)
{
    new
	StatusInfo[1000],
	Info[400]
    ;
	
    format(Info, sizeof(Info), "{FFFFFF}......:::::: - %s: [ID: %d] - ::::::.....\n\n", , GetPlayerNameEx(playerid), playerid), strcat(StatusInfo, Info);
    format(Info, sizeof(Info), "{CCFF00}» EXP: %i/%i {00BFFF}» Grana na Mгo: R$ %i\n", PlayerInfo[playerid][_EXP], MAX_PLAYER_EXP, GetPlayerGrana(playerid)), strcat(StatusInfo, Info);
    format(Info, sizeof(Info), "{00BFFF}» Level: %i/%i {00FF00}» Saldo Bancбrio: R$ %i\n", PlayerInfo[playerid][_Level], MAX_PLAYER_LEVEL, PlayerInfo[playerid][_SaldoBancario]), strcat(StatusInfo, Info);
    format(Info, sizeof(Info), "{CCFF00}» Estudo: %i/%i {00BFFF}» Casou Com: %s\n", PlayerInfo[playerid][_Faculdade], MAX_PLAYER_ESTUDO, PlayerInfo[playerid][_CasouCom]), strcat(StatusInfo, Info);
    format(Info, sizeof(Info), "{00BFFF}» Profissгo ID: %i {00FF00}» Skin ID: %i\n", PlayerInfo[playerid][_Profissao], PlayerInfo[playerid][_Skin]), strcat(StatusInfo, Info);
    format(Info, sizeof(Info), "{CCFF00}» Matou: %i {00BFFF}» Morreu: %i", matou[playerid], morreu[playerid]), strcat(StatusInfo, Info);
    ShowPlayerDialog(playerid, 444, DIALOG_STYLE_MSGBOX, "RG", StatusInfo, "Fechar", #);
    return true;
}
Reply


Messages In This Thread
Colocar em DIALOG - by lucas3366 - 02.05.2018, 22:30
Re: Colocar em DIALOG - by PilateGR - 02.05.2018, 23:26
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 02:58
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 03:24
Re: Colocar em DIALOG - by MrEdu - 03.05.2018, 12:42
Re: Colocar em DIALOG - by uliano - 03.05.2018, 14:21
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 15:10
Re: Colocar em DIALOG - by PilateGR - 03.05.2018, 15:36
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 16:44
Re: Colocar em DIALOG - by HelderPT - 03.05.2018, 17:23
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 17:45
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 17:47
Re: Colocar em DIALOG - by lucas3366 - 03.05.2018, 18:03
Re: Colocar em DIALOG - by PilateGR - 03.05.2018, 23:39
passa o Code ai - by uliano - 04.05.2018, 00:41

Forum Jump:


Users browsing this thread: 1 Guest(s)