samp.directory
← Scripts et bibliothèques

Ino-Bagaric/Dialog-Center-Text

SAMP Dialog Center Text

Bibliothèque★ 18mis à jour févr. 2018Apache-2.0PAWNsampctl
Ouvrir sur GitHub

Installer avec sampctl

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

Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.

L’essayer dans le compilateur Pawn →

Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.

Dépend de 1 paquet

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.

Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche

Ino-Bagaric/Dialog-Center-Text : Bibliothèque SA-MP | samp.directory