samp.directory
← Scripts and libraries

Ino-Bagaric/Dialog-Center-Text

SAMP Dialog Center Text

Library★ 18updated Feb 2018Apache-2.0PAWNsampctl
Open on GitHub

Install with sampctl

sampctl package install Ino-Bagaric/Dialog-Center-Text

Run this in your project folder. sampctl downloads the package and what it depends on.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

Depends on 1 package

README.md

Dialog-Center-Text

SAMP Dialog Center Text

Installation

Simply install to your project:

sampctl package install SAMP-git/Dialog-Center-Text

Include in your code and begin using the library:

#include <Dialog-Center-Text>

Usage

//add at first place on new line
\\c
  • Example
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, "Login", str, "OK", "Cancel");

Testing

To test, simply run the package:

sampctl package run

And connect to localhost:7777 to test.

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

Ino-Bagaric/Dialog-Center-Text: SA-MP Library | samp.directory