samp.directory
← Scripts e bibliotecas

alextwothousand/nametags.inc

nametags.inc - basic custom nametags

Biblioteca★ 1atualizado mai. de 2019MITPawnsampctl
Abrir no GitHub

Instalar com o sampctl

sampctl package install alextwothousand/nametags.inc

Execute na pasta do seu projeto. O sampctl baixa o pacote e as dependências dele.

Depende de 3 pacotes

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

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página