Bibliothèque★ 1mis à jour mai 2019MITPawnsampctl
Ouvrir sur GitHubInstaller avec sampctl
sampctl package install alextwothousand/nametags.inc
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 3 paquets
- sampctl/samp-stdlibpas dans cet annuaire
- pawn-lang/YSI-Includes★ 226
- samp-incognito/samp-streamer-plugin★ 247
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
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