24.04.2014, 01:34
hi all friends forum samp, well I have a problem with a dialogue that will create, is on account of the character, really do not understand why it happens, I've created dialogues whether and everything is first time that happens to me it is strange, well the problem is that I want I want to show my own, but only shows a line and not the other, I use format, well I leave the code, please help ..
Image:
Sorry for dialog image in spanish :S
in short words: only shows a line and no other
pawn Код:
new stringaccount[1024];
{
format(stringaccount, sizeof(stringaccount), "{FFFE6B}Level{FFFFFF}: %d | {FFFE6B}Exp{FFFFFF}: %d/%d | {FFFE6B}Money in hand{FFFFFF}: %d | {FFFE6B}Admin{FFFFFF}: %d",PlayerInfo[playerid][pLvel],PlayerInfo[playerid][pExp],ExpRequest,PlayerInfo[playerid][pMoney],PlayerInfo[playerid][pAdminMS]);
}
{
format(stringaccount, sizeof(stringaccount), "\n{FFFE6B}Sex{FFFFFF}: %s |{FFFE6B}Age{FFFFFF}: %d | {FFFE6B}Nacionality{FFFFFF}: %s | {FFFE6B}Clan{FFFFFF}: %s {FFFE6B}Job{FFFFFF}: %s", gender, PlayerInfo[playerid][pAge],NacionalitySite,ClanIs,JobAccount);
}
ShowPlayerDialog(playerid, DIALOG_CUENTA, DIALOG_STYLE_MSGBOX, "Your Account", stringaccount, "Ok", "");
return 1;
}
Sorry for dialog image in spanish :S
in short words: only shows a line and no other