CAC_OnScreenshotTaken

Description

This callback is called after a player takes a screenshot.

Definition

forward CAC_OnScreenshotTaken(player_id);

Parameters

Return values

Example usage

public CAC_OnScreenshotTaken(player_id)
{
    new buf[128], name[MAX_PLAYER_NAME] = "[UNKNOWN]";
    if(IsPlayerConnected(player_id))
        GetPlayerName(player_id, name, sizeof(name));
    format(buf, sizeof(buf), "%s [ID: %i] took a screenshot.", name, player_id);
    SendClientMessageToAll(-1, buf);
    return 1;
}

Remarks