19.09.2012, 10:40
ok now it works thx for help,
Код:
if(SpielerInfo[playerid][pAdmin] == 0) { format(string, sizeof(string), "{FF0000}[SPIELERDATEN]\n{00FF00}[NAME] {FFFFFF}%s {00FF00}[ID]{FFFFFF} %d\n{00FF00}[GETЦTET] {FFFFFF}%d\n{00FF00}[GESTORBEN] {FFFFFF}%d", SpielerNameAnzeige(playerid), playerid, SpielerInfo[playerid][pKills], SpielerInfo[playerid][pDeaths]); format(string, sizeof(string), "%s\n\n{FF0000}[FINANZEN]\n{00FF00}[GELD] ${FFFFFF}%d\n{00FF00}[BANKGUTHABEN] ${FFFFFF}%d\n\n{FF0000}[SKILLINFO]\n{00FF00}[SKILL] {FFFFFF}%d/10", string, SpielerInfo[playerid][pMoney], SpielerInfo[playerid][pBankMoney], SpielerInfo[playerid][pSkill]); format(string, sizeof(string), "%s\n{00FF00}[LEVEL] {FFFFFF}%d\n{00FF00}[SPIELZEIT] {FFFFFF}%d {00FF00}Tage {FFFFFF}%d:%d:%d {00FF00}Stunden", string, SpielerInfo[playerid][pLevel], SpielerInfo[playerid][pPlayerTimeDay], SpielerInfo[playerid][pPlayerTimeHour], SpielerInfo[playerid][pPlayerTimeMin], SpielerInfo[playerid][pPlayerTimeSec]); format(string, sizeof(string), "%s\n{00FF00}[VIP-RANK] {FFFFFF}%s (%d)\n\n{FF0000}[ANDERE DATEN]\n{00FF00}[WANTED LEVEL] {FFFFFF}%d\n{00FF00}[WANTED WAHRSCHEINLICHKEIT] {FFFFFF}%s", string, VIPName, SpielerInfo[playerid][pVIPLevel], SpielerInfo[playerid][pWanted], VIPRandomWanted); } strcat(string, string, sizeof(string)); ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "{FF0000}Bloodz {FFFFFF}n {00FF00}Cripz {FFFFFF}- {FFFF00}Stats", string, "SchlieЯen", ""); return 1;