samp.directory
← Skripte und Bibliotheken

devbluen/ChatConfig-Samp

This is an include for SA:MP where you can manage the game's chat.

Bibliothek★ 3aktualisiert Jan. 2024Apache-2.0Pawn
Auf GitHub öffnen
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.

README.md

📄 Chat Config [SA:MP]

This is an include for general chat configuration within the server. You will be able to manage the chat for one or more players at the same time, all synchronized with its native functions.

♻️ How to install?

Place "#include configChat" after all your includes, it needs to be the last one of all.

💻 Dependencies

  1. y_hooks ( link for github )
  2. foreach ( link for github ) or ( github )
  3. y_iterate ( link for github )

⚙️ Natives

native TogglePlayerChat(playerid, bool:status);
native ToggleServerChat(bool:status);
native IsPlayerToggleChat(playerid);
native IsServerToggleChat();
native ClearPlayerChat(playerid, lines);
native ClearServerChat(lines);

⚙️ Extras

native SendServerMessage(color, const message[]);
native SendPlayerMessage(playerid, color, const message[]);

Enjoy :)

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

devbluen/ChatConfig-Samp: SA-MP Bibliothek | samp.directory