Skip to main content

DisablePunishmentSystem

Description

Disables the punishment system, preventing the player from accumulating punishment or wanted points. Note that this does not reset current punishment points (use PlayerSetPunishmentPoints for that), nor does it stop prefects or cops from spawning (use PedSetUniqueModelStatus to control that).

function DisablePunishmentSystem(state) --[[ ... ]] end

Parameters

  • state: boolean - Pass true to disable the punishment system, false to enable it.

Return Values

None.

Example

None.