Dialog Problem
#4

Quote:
Originally Posted by lelemaster
Посмотреть сообщение
pawn Код:
new string[256];
format(string, sizeof(string), "Age: %d\nScore: %d", Variable_For_Age, Variable_For_Score);
ShowPlayerDialog(playerid, 8523, DIALOG_STYLE_MSGBOX, "Status", string, "Close", "Close");
And so on

Edit: Someone posted before me...
This seems to work, but how I can do like... I have like all of this. How can I put all of this in same Dialog ?

PS : I am not that bad But I never had anything with Dialog and is my first time using this.

Код:
	format(string, sizeof(string), "Level: %d | Respect: %d | Money: $%d | Vehicle 1: %s (ID: %d) | Vehicle 2: %s (ID: %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]);
	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Faction: %s | Rank: %s (%d) | Division: %s | Family: %s | Rank: %s (%d)", RPFNEx(playerb), RPFRN(playerb), PlayerInfo[playerb][pFacRank], RPFDN(playerb), RPFaN(playerb), RPFaRN(playerb), PlayerInfo[playerb][pFamRank]);
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Business 1: %s (ID: %s) | Business 2: %s (ID: %s)", RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Gate 1: %d | Gate 2: %d | Gate 3: %d | House 1: %s | House 2: %s ", PlayerInfo[playerb][pGate][0], PlayerInfo[playerb][pGate][1], PlayerInfo[playerb][pGate][2], RPHK(playerb), RPVIPHK(playerb));
 	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "WTC: %d | Warnings: %d | VIP: %s | Job 1: %s | Job 2: %s", PlayerInfo[playerb][pWTC], PlayerInfo[playerb][pWarns], RPVIPN(playerb), RPJN(playerb), RPVJN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
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: 2 Guest(s)