samp.directory
← Skrypty i biblioteki

alextwothousand/nametags.inc

nametags.inc - basic custom nametags

Biblioteka★ 1zaktualizowano maj 2019MITPawnsampctl
Otwórz na GitHubie

Zainstaluj za pomocą sampctl

sampctl package install alextwothousand/nametags.inc

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 3 pakietów

README.md

nametags.inc

nametags.inc was written to be used with my script. I decided to release it just because I could - besides, it was completely independent of the script and could function without it, so why not?

Installation

Simply install to your project:

sampctl package install infin1tyy/nametags.inc

Include in your code and begin using the library:

#include <nametags.inc>

Usage

  • If you are already setting the player's color to -1 under OnPlayerConnect OR you're using fixes.inc you can get rid of lines 85 - 90.
  • If you want to modify the draw distance for the nametags you can define NT_DISTANCE in your script with a value below or greater than 20.0 before you include the script.

Testing

To test, simply run the package:

sampctl package run

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

alextwothousand/nametags.inc: Biblioteka SA-MP | samp.directory