07.11.2009, 19:20
Hi there. Iґve created this command:
But it looks like this ingame:
Whereґs the problem?
Код:
if (strcmp("/showkills", cmdtext, true, 10) == 0) { new string1[48],string2[48],string3[48],string4[48],string5[48],mstring[48]; format(string1, sizeof string1, "USA kills: %d", TeamKills[2]); format(string2, sizeof string2, "Germany kills: %d", TeamKills[1]); format(string3, sizeof string3, "Russia kills: %d", TeamKills[4]); format(string4, sizeof string4, "China kills: %d", TeamKills[3]); format(string5, sizeof string5, "Medic heals: %d", TeamKills[5]); format(mstring, sizeof mstring, "%s\n%s\n%s\n%s\n%s", string1,string2,string3,string4,string5); ShowPlayerDialog(playerid,743,DIALOG_STYLE_MSGBOX,"Kill summary (1 hour)",mstring,"Okay","Cancel"); return 1; }
Whereґs the problem?