samp.directory
← Skripte und Bibliotheken

Brunoo16/samp-tpi

TogglePlayerInvisibility - Make players invisible.

Bibliothek★ 9aktualisiert Feb. 2023GPL-3.0Pawnsampctl
Auf GitHub öffnen

Mit sampctl installieren

sampctl package install Brunoo16/samp-tpi

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 1 Paket ab

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.

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

Brunoo16/samp-tpi: SA-MP Bibliothek | samp.directory