samp.directory
← Skripte und Bibliotheken

Ino-Bagaric/Dialog-Center-Text

SAMP Dialog Center Text

Bibliothek★ 18aktualisiert Feb. 2018Apache-2.0PAWNsampctl
Auf GitHub öffnen

Mit sampctl installieren

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

Führe das in deinem Projektordner aus. sampctl lädt das Paket und alles herunter, wovon es abhängt.

Im Pawn-Compiler ausprobieren →

Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.

Hängt von 1 Paket ab

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.

Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden