samp.directory
← Scripts et bibliothèques

Naseband/SAMP-AutoChatWipe

Slowly clears the Chat for each player if no messages are sent for a given time.

Bibliothèque★ 2mis à jour mai 2022Pas de licencePawn
Ouvrir sur GitHub

Ce dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.

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.

README.md

Auto Chat Wipe

This Include will slowly send empty lines to players that did not recieve any client messages for a while. The purpose of this is to make the chat smaller if nothing is happening. Delay, Interval and number of empty lines can be configured.

Usage

Include it in every Script that can potentially send client messages.

Important: If the Script is a Filterscript, define FILTERSCRIPT before including. Otherwise it may execute twice. The Gamemode Script will always be the master Script.

Defines/Settings

ACW_DELAY

Pause Delay in seconds after sending a regular client message.

ACW_INTERVAL

Interval in seconds for sending empty lines.

ACW_MAX_LINES

Max. number of empty Lines to send.

You can define any of these in the Master (Gamemode) Script before including autochatwipe.inc.

Known Issues

RCON Responses and Messages from Client Commands or Server Plugins are not considered.

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

Naseband/SAMP-AutoChatWipe : Bibliothèque SA-MP | samp.directory