Mod:Creation Kit/PlayerPayCrimeGold - Faction

Member of: Mod:Creation Kit/Faction Script

Has the player pay the crime gold on this faction, possibly removing any stolen items in their inventory and sending them to jail.

Syntax
Function PlayerPayCrimeGold(bool abRemoveStolenItems = True, bool abGoToJail = True) native

Parameters

 * abRemoveStolenItems: Whether to remove stolen items from the player's inventory or not.
 * Default: True
 * abGoToJail: Whether to send the player to the exterior jail marker or not. (The player is not actually put in jail, but moved to the spot where you'd be if you served time and were released from jail).
 * Default: True

Return Value
None.

Examples
PoliceFactionProperty.PlayerPayCrimeGold PoliceFactionProperty.PlayerPayCrimeGold(abGoToJail = true)
 * Have the play pay the crime gold to the police, remove stolen items and sending them to jail
 * Have the play pay the crime gold to the police, NOT remove stolen items, but sending them to jail