Mod:Creation Kit/SendPlayerToJail - Faction

Member of: Mod:Creation Kit/Faction Script

Sends the player to jail, optionally removing his inventory, and sending him to "real" jail.

Syntax
Function SendPlayerToJail(bool abRemoveInventory = True, bool abRealJail = True) native

Parameters

 * abRemoveInventory: Whether to remove everything from the player's inventory or not.
 * Default: True
 * abRealJail: Whether to send the player to "real" jail or not.
 * Default: True

Return Value
None.

Examples
PoliceFactionProperty.SendPlayerToJail PoliceFactionProperty.SendPlayerToJail(abRealJail = false)
 * Send the player to "real" jail, removing all inventory
 * Send the player to "fake" jail, removing all their inventory