samp.directory
← Scripts et bibliothèques

Brunoo16/samp-tpi

TogglePlayerInvisibility - Make players invisible.

Bibliothèque★ 9mis à jour févr. 2023GPL-3.0Pawnsampctl
Ouvrir sur GitHub

Installer avec sampctl

sampctl package install Brunoo16/samp-tpi

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 1 paquet

README.md

samp-tpi

TogglePlayerInvisibility - Make players invisible.

I deleted this repository previously, I'm just bringing it back. I won't be updating/maintaining this.

Installation

Simply install to your project:

sampctl package install BrunoBM16/samp-tpi

Functions

TogglePlayerInvisibility(const playerid, bool:toggle);
bool:IsPlayerInvisible(const playerid);

If you are willing to use this include:

  • Invisible players won't send updates inside vehicles. This means, you won't see the vehicle being driven or so.
  • Even though OnPlayerGiveDamage and OnPlayerWeaponShot are called by invisible players, they can't do any damage, unless you are using weapon-config.

Despite the above points, everything works as intended. Also, as said previously, this won't be updated anymore, so it is unlikely I will do anything about the points mentioned.

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

Brunoo16/samp-tpi : Bibliothèque SA-MP | samp.directory