CAC_GetGlitchStatus

Description

Gets status of a specific glitch. (previously set with CAC_SetGlitchStatus)

Definition

native CAC_GetGlitchStatus(glitch_id);

Parameters

Return values

Example usage

// example requires: zcmd-style command processor
COMMAND:fastsprint_status(player_id, params[])
{
    new status = CAC_GetGlitchStatus(CAC_GLITCH__FASTSPRINT);
    if(status)
    {
        SendClientMessage(player_id, -1, "Fast sprint is enabled.");
    }
    else
    {
        SendClientMessage(player_id, -1, "Fast sprint is disabled.");
    }
    return 1;
}

Remarks