Abend, bei meinem /stats dialog wird nur der erste Satz angezeigt (stats of "XXX")
Warum wir das andere zeug nicht angezeigt ("Kills, death ect.? )
if(strcmp(cmdtext,"/stats",true)==0)
{
new name[MAX_PLAYER_NAME], string[256], string2[256],string3[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "| Stats of[%s] |", name);
format(string2, sizeof(string2), "[Kills: %d] [Deaths: %d] [Ratio: %0.2f] ",Player[playerid][Kills], Player[playerid][Deaths],Float:Player[playerid][Kills]/Float:Player[playerid][Deaths]);
format(string3, sizeof(string3), "[Cash: %d] [Score: %d] [Adminlevel: %d]",GetPlayerMoney(playerid),GetPlayerScore(playerid),Player[playerid][admin]);
ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Informationen", string, "Schließen", "");
return 1;
}