Registers the /PM command, which sends a private message to the target player or shows their voicemail when they have one set.

Summary

Methods

Sends a private message to the target player; arguments are the player name and the message.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_pm.lua:14

Sends a private message to the target player; arguments are the player name and the message.

If the target has a voicemail set, the voicemail is sent to both players instead.

Parameters

  • player
  • arguments

Defined in