Hooks called by Prefixes

Summary

Hooks

Called on the server after a chat message has been handled by the callback of a registered prefix.

Hooks

PlayerUsedPrefix(actor, prefix_id, message, team_chat)

server plugins/sh_prefixes.lua:80

Called on the server after a chat message has been handled by the callback of a registered prefix.

Parameters

  • actor Player The player who sent the message
  • prefix_id String ID the prefix was registered with
  • message String The message without the prefix
  • team_chat Boolean Whether the message was sent to the team chat

Called from

Call sites

Defined in