Skip to content

Conversation

@MiranDMC
Copy link
Contributor

Unified value names across the trilogy.

Unified value names across the trilogy.
@ifarbod
Copy link

ifarbod commented Jun 30, 2025

Why not use the original names? (for SA)

enum eCrimeType
{
    CRIME_NONE,
    CRIME_POSSESSION_GUN,
    CRIME_HIT_PED,
    CRIME_HIT_COP,
    CRIME_SHOOT_PED,
    CRIME_SHOOT_COP,
    CRIME_STEAL_CAR,
    CRIME_RUN_REDLIGHT,
    CRIME_RECKLESS_DRIVING,
    CRIME_SPEEDING,
    CRIME_RUNOVER_PED,
    CRIME_RUNOVER_COP,
    CRIME_DESTROY_HELI,
    CRIME_PED_SET_ON_FIRE,
    CRIME_COP_SET_ON_FIRE,
    CRIME_CAR_SET_ON_FIRE,
    CRIME_DESTROY_PLANE,
    CRIME_CAUSE_EXPLOSION,
    CRIME_STAB_PED,
    CRIME_STAB_COP,
    CRIME_DESTROY_VEHICLE,
    CRIME_DAMAGE_TO_PROPERTY,
    CRIME_TARGET_COP,
    MAX_CRIMES
};

@MiranDMC
Copy link
Contributor Author

It is blend between all known sources. I have not seen full original enum earlier.
CRIME_POSSESSION_GUN sounds like open carry, which both are not a thing in classic trilogy. Using weapon is considered a crime.
Yep, last entry should be rather CRIME_COP_AIM
Chosen naming convention makes values grouped by entity type:
image
Still to discussion. I have no idea what is SDK's policy in case where original source is known.

@MiranDMC MiranDMC marked this pull request as draft July 10, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants