samp.directory
← Skrypty i biblioteki

Se8870/samp-random-name

Random Name for SA-MP

Biblioteka★ 2zaktualizowano maj 2021MITPawnsampctlZarchiwizowane
Otwórz na GitHubie

Autor zarchiwizował to repozytorium, więc nie jest już rozwijane.

Zainstaluj za pomocą sampctl

sampctl package install Se8870/samp-random-name

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.

README.md

SA:MP Random Name

SA-MP Random Name taken from Python source code which is you can find it below:

https://github.com/treyhunner/names

All credits goes to right code owner, treyhunner.

Installation

Simply install to your project:

sampctl package install Kirima2nd/samp-random-name

Include in your code and begin using the library:

#include <random-name>

NOTE:

since sampctl doesn't support scriptfiles, you'll have to manually move the scriptfiles to your project or if you're not sampctl user, you can just ignore this message.

Function Lists

native GetFirstName(gender = GENDER_NONE);
native GetLastName();
native GetRandomName(gender = GENDER_NONE, bool:underscore = false);

Usage

You can check it on test.pwn

Testing

To test, simply run the following commands:

sampctl package ensure
sampctl package run --forceBuild

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

Se8870/samp-random-name: Biblioteka SA-MP | samp.directory