Dialog Problem
#5

pawn Код:
new string1[514], string2[514];
format(string2, sizeof(string2), "Level: %d | Respect: %d | Money: $%d | Vehicle 1: %s (ID: %d) | Vehicle 2: %s (ID: %d)\nFaction: %s | Rank: %s (%d) | Division: %s | Family: %s | Rank: %s (%d)", PlayerInfo[playerb][pLevel], PlayerInfo[playerb][pHours], PlayerInfo[playerb][pMoney], RVN(GetVehicleModel(PlayerInfo[playerb][pVeh])), PlayerInfo[playerb][pVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVeh])), PlayerInfo[playerb][pVVeh],RPFNEx(playerb), RPFRN(playerb), PlayerInfo[playerb][pFacRank], RPFDN(playerb), RPFaN(playerb), RPFaRN(playerb), PlayerInfo[playerb][pFamRank]);
format(string1, sizeof(string1), "\nBusiness 1: %s (ID: %s) | Business 2: %s (ID: %s)\nGate 1: %d | Gate 2: %d | Gate 3: %d | House 1: %s | House 2: %s\nWTC: %d | Warnings: %d | VIP: %s | Job 1: %s | Job 2: %s", RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb), PlayerInfo[playerb][pGate][0], PlayerInfo[playerb][pGate][1], PlayerInfo[playerb][pGate][2], RPHK(playerb), RPVIPHK(playerb),PlayerInfo[playerb][pWTC], PlayerInfo[playerb][pWarns], RPVIPN(playerb), RPJN(playerb), RPVJN(playerb));
strins(string1, string2, 0);
ShowPlayerDialog(playerid, 8523, DIALOG_STYLE_MSGBOX, "Status", string, "Close", "Close");
I wish the lines aren't too long. Use strcat if it doesn't work. There will be more lines but much shorter
Reply


Messages In This Thread
Dialog Problem - by Eugene. - 07.10.2012, 01:06
AW: Dialog Problem - by Nero_3D - 07.10.2012, 01:13
Re : Dialog Problem - by lelemaster - 07.10.2012, 01:15
Re: Re : Dialog Problem - by Eugene. - 07.10.2012, 01:20
Re : Dialog Problem - by lelemaster - 07.10.2012, 01:34
Re: Dialog Problem - by Eugene. - 07.10.2012, 01:38

Forum Jump:


Users browsing this thread: 1 Guest(s)