ReplyToTargetError Function

Replies to a client with a given message describing a targetting failure reason.

Note: The translation phrases are found in common.phrases.txt.

void ReplyToTargetError(int client, int reason)

Parameters

int client

Client index, or 0 for server.

int reason

COMMAND_TARGET reason.