OnClientFloodCheck

Last Updated2008-03-12
Created At2008-03-12

Called when a client has sent chat text. This must return either true or false to indicate that a client is or is not spamming the server. The return value is a hint only. Core or another plugin may decide otherwise.

forward bool OnClientFloodCheck(int client)

Parameters

int client
Client index. The server (0) will never be passed.

Return Value

bool True if client is spamming the server, false otherwise.