29.05.2010, 08:19
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]);
??
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]);
??