samp.directory
← Skrypty i biblioteki

Ino-Bagaric/Dialog-Center-Text

SAMP Dialog Center Text

Biblioteka★ 18zaktualizowano lut 2018Apache-2.0PAWNsampctl
Otwórz na GitHubie

Zainstaluj za pomocą sampctl

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

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

Zależy od 1 pakietu

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.

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

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