Dialog - MSGBOX
#1

I want create ID Card with dialog.

format(string, sizeof(string), "Nimi: %s", sendername);
format(string, sizeof(string), "Vanus: %d", PlayerInfo[playerid][pAge]);
format(string, sizeof(string), "Telefoninumber: %d", PlayerInfo[playerid][pPnumber]);

ShowPlayerDialog(playerid, DIALOOG_IDKAART, DIALOG_STYLE_MSGBOX, "ID-Kaart", string, "Ok", "Loobu"); // Dialoog - ID Kaart

But how do make it:

------------------------------
--- NAME: PICHARELO --------
--- AGE: 18 ------------------
--- TELEPHONE: 4534534 -----
------------------------------
---- OK -------- CANCEL -----
------------------------------

Or can be:
format(string, sizeof(string), "Nimi: %s \n Vanus: %d \n Telefoninumber: %d \n", sendername, PlayerInfo[playerid][pAge], PlayerInfo[playerid][pPnumber]);

??
Reply
#2

pawn Code:
format(string, sizeof(string), "/tNimi: %s/n/tVanus: %d/n/tTelefoninumber: %d", sendername,PlayerInfo[playerid][pAge],PlayerInfo[playerid][pPnumber]);
ShowPlayerDialog(playerid, 1, 1, "Player Infomation", string, "Ok", "Loobu");
something like that?
Reply
#3

Quote:
Originally Posted by (SF)Noobanatior
pawn Code:
format(string, sizeof(string), "/tNimi: %s/n/tVanus: %d/n/tTelefoninumber: %d", sendername,PlayerInfo[playerid][pAge],PlayerInfo[playerid][pPnumber]);
ShowPlayerDialog(playerid, 1, 1, "Player Infomation", string, "Ok", "Loobu");
something like that?
ok dont post if you dont know it.

Quote:
Originally Posted by Picharelo
But how do make it:

------------------------------
--- NAME: PICHARELO --------
--- AGE: 18 ------------------
--- TELEPHONE: 4534534 -----
------------------------------
---- OK -------- CANCEL -----
------------------------------

Or can be:
format(string, sizeof(string), "Nimi: %s \n Vanus: %d \n Telefoninumber: %d \n", sendername, PlayerInfo[playerid][pAge], PlayerInfo[playerid][pPnumber]);

??
You will have to do it just like you posted yourself
format(string, sizeof(string), "Nimi: %s \n Vanus: %d \n Telefoninumber: %d \n", sendername, PlayerInfo[playerid][pAge], PlayerInfo[playerid][pPnumber]);
Reply
#4

Quote:
Originally Posted by Pandabeer1337
Quote:
Originally Posted by (SF)Noobanatior
pawn Code:
format(string, sizeof(string), "/tNimi: %s/n/tVanus: %d/n/tTelefoninumber: %d", sendername,PlayerInfo[playerid][pAge],PlayerInfo[playerid][pPnumber]);
ShowPlayerDialog(playerid, 1, 1, "Player Infomation", string, "Ok", "Loobu");
something like that?
ok dont post if you dont know it.
whats wrong with this panda? this should show playerids info in a dialog
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)