09.05.2012, 18:41
hey guys!
I want to show players stats and stuff in dialogs but when i put whole thing in one line and with thouse \n and stuff i got error in pawn then i looked at tutorial in forum but it isnt working for me.
There it is:
I got showing only dialog who is under first one.. How can i merge them in one?
Hope u understand me! Thanks!
I want to show players stats and stuff in dialogs but when i put whole thing in one line and with thouse \n and stuff i got error in pawn then i looked at tutorial in forum but it isnt working for me.
There it is:
Код:
format(HugeString, sizeof(HugeString), "\n{FFFFFF}Niks: {E11D36}%s \n{FFFFFF}Novaktie: {E11D36}%d \n{FFFFFF}Naves: {E11D36}%d \n{FFFFFF}Attieciba: {E11D36}%0.2f \n{FFFFFF}Laiks serveri: {E11D36}%d hrs %d mins %d secs",PlayerName2(player1), PlayerInfo[player1][Kills], PlayerInfo[player1][Deaths], Float:PlayerInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1), h, m, s); format(HugeString, sizeof(HugeString), "\n{FFFFFF}Pistol: {E11D36}%d {FFFFFF}Silenced Pistol: {E11D36}%d {FFFFFF}Desert Eagle: {E11D36}%d \n{FFFFFF}Shotgun: {E11D36}%d {FFFFFF}Sawnoff Shotgun: {E11D36}%d",PlayerInfo[player1][Pistolskill], PlayerInfo[player1][SilencedPistolskill], PlayerInfo[player1][DesertEagleskill],PlayerInfo[player1][Shotgunskill],PlayerInfo[player1][Sawnoffskill], HugeString); ShowPlayerDialog(playerid, 231, DIALOG_STYLE_MSGBOX, "{FFFFFF}Statistika.", HugeString,"Aizvērt", "");
Hope u understand me! Thanks!