samp.directory
← Skripte und Bibliotheken

alextwothousand/nametags.inc

nametags.inc - basic custom nametags

Bibliothek★ 1aktualisiert Mai 2019MITPawnsampctl
Auf GitHub öffnen

Mit sampctl installieren

sampctl package install alextwothousand/nametags.inc

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 3 Paketen ab

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

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