CAC_SetGameResourceReportStatus

Description

Enables or disables reports for certain types of game modifications.

Definition

native CAC_SetGameResourceReportStatus(model_type_flag, status);

Parameters

Return values

Example usage

public OnFilterScriptInit()
{
    // disable all reports except for "peds (skins)" and "ped.ifp"

    CAC_SetGameResourceReportStatus(CAC_GAMERESOURCE_MODELTYPEFLAG__ALL, 0);
    CAC_SetGameResourceReportStatus(CAC_GAMERESOURCE_MODELTYPEFLAG__PEDS | CAC_GAMERESOURCE_MODELTYPEFLAG__PEDIFP, 1);
    return 1;
}

Remarks