27.12.2016, 20:39
(
Last edited by Ivan_Ino; 10/01/2017 at 06:27 PM.
)
Hey everyone, I was doing some dialogs and decided to make include which will center our text in dialog
Include
How to use
There's no new functions..
To make text on middle dialog you must use
at first place in new line
Here is a example:
Dialog Styles
It works with next styles in this version
Screenshots




With caption support

Credits
Changes
v1.0.2
Added support for caption (title)
-
-
Bugs
-
-
-
Download
(Version 1.0) Include + Example FS - GitHub ( https://github.com/Ino42O/Dialog-Center-Text )
Include
Code:
#include <DialogCenter>
There's no new functions..
To make text on middle dialog you must use
Code:
\\c
Here is a example:
Code:
new str[512]; format(str, sizeof(str), "\ \\c{FFFFFF}Welcome back, {09E627}User\n \n\ \\c{FFFFFF}Please, insert your password in box below\ "); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "\\cLogin", str, "OK", "Cancel");
Dialog Styles
It works with next styles in this version
- DIALOG_STYLE_MSGBOX
- DIALOG_STYLE_INPUT
- DIALOG_STYLE_PASSWORD
Screenshots




With caption support

Credits
- Created by: Ino
- Consultations: [uL]Kanada42O
Changes
v1.0.2
Added support for caption (title)
-
-
Bugs
-
-
-
Download
(Version 1.0) Include + Example FS - GitHub ( https://github.com/Ino42O/Dialog-Center-Text )