07.10.2012, 01:34
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");