[Ajuda] Dialog no rg
#2

pawn Код:
if(strcmp("/rg", cmd, true) == 0)
{
    new stringcat[700];

    format(string, sizeof(string), "......:::::: - %s: [ID: %d] - ::::::.....", GetPlayerNameEx(playerid), playerid);
    strcat(stringcat, string, sizeof(stringcat));

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

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

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

    format(string, sizeof(string), "{CCFF00}» Profissгo ID: %d {00FF00}» Skin ID: %d", PlayerInfo[playerid][_Profissao], PlayerInfo[playerid][_Skin]);
    strcat(stringcat, string, sizeof(stringcat));

    format(string, sizeof(string), "{CCFF00}» Matou: %d {00FF00}» Morreu: %d", matou[playerid], morreu[playerid]);
    strcat(stringcat, string, sizeof(stringcat));
   
    ShowPlayerDialog(playerid, playersimp, DIALOG_STYLE_MSGBOX, "RG", stringcat, "Ok", " ");
    return 1;
}
tenta
Reply


Messages In This Thread
Dialog no rg - by daniels2s2123 - 10.09.2013, 22:57
Re: Dialog no rg - by PT - 10.09.2013, 23:28
Re: Dialog no rg - by daniels2s2123 - 10.09.2013, 23:32
Re: Dialog no rg - by PT - 10.09.2013, 23:42
Re: Dialog no rg - by daniels2s2123 - 10.09.2013, 23:46
Re: Dialog no rg - by Krisky_ - 11.09.2013, 17:12
Re: Dialog no rg - by PT - 11.09.2013, 18:07

Forum Jump:


Users browsing this thread: 2 Guest(s)