Gut, hab es eingefügt, werd nacher sehen obs geht, aber nochwas, angenommen ich will das in meine /stats mit einbauen, was müsste ich dann machen?
das da steht:
Haus: Ja
Haus: Nein
Hier mal die Stats:
public MyDialogStatsSystem(playerid)
{
new fraktname[64];
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:{fraktname="Nein";}
case 1:{fraktname=fraktname1;}
}
new String[500], Name1[MAX_PLAYER_NAME], Geld = GetPlayerMoney(playerid), Score = GetPlayerScore(playerid), AdminLevel = GetPVarInt(playerid,"Adminlevel"),Bank = GetPVarInt(playerid,"Bank"),Kills = GetPVarInt(playerid,"Kills"),Deaths = GetPVarInt(playerid,"Deaths"));
GetPlayerName(playerid,Name1,sizeof Name1);
format(String, sizeof(String), "{FAE716}[Stats von %s]\n\n\n{3C0AF2}-->Nickname: %s\n\n{3C0AF2}-->Score: %d\n\n{3C0AF2}-->Geld: %d\n\n{3C0AF2}-->AdminLevel: %i\n\n{3C0AF2}-->Premium: %s\n\n{3C0AF2}-->Bank: %i$\n\n{3C0AF2}-->Kills: %i\n\n{3C0AF2}-->Tode: %i", Name1, Name1, Score, Geld,AdminLevel,fraktname,Bank,Kills,Deaths);
ShowPlayerDialog(playerid, DIALOG_STYLE_MSGBOX, 0, "{F20A0A}Stats:", String, "OK", "");
return 1;
}