Skip to content

Mergevos/Dialog-Center-Text

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialog-Center-Text

SAMP Dialog Center Text

alt tag

alt-tag

alt-tag

alt-tag

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.

About

SAMP Dialog Center Text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Pawn 100.0%